|
There are seven predefined Operation Region types specified in ACPI:
0 i# G& b Q: p4 g0 SystemMemory
* t9 R5 o M, h; X5 C4 d1 SystemIO
0 {, G0 x! b& ?" @2 PCI_Config 4 M! e3 }9 q: S5 V7 A5 y
3 EmbeddedControl
. o3 E8 B2 ]: w; ~' f `1 s# a4 SMBus
' I& x0 V/ d) f, h9 I. R5 CMOS
8 n1 g; ~( r4 v( D6 PCIBARTarget
! O5 w, {9 s g s3 W& m为什么定义LID的状态端品为:* s) } D: D2 ~1 Q6 e
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
( @5 O2 P9 W0 l4 JField(\PHO, ByteAcc, NoLock, Preserve)
9 N* n: x4 E# ]9 t d6 T, ?{5 {) c; Y3 }1 Z% p& K+ B
LPOL, 1 // Lid polarity control bit
0 C* ? ]- M8 q) i$ \6 J4 N9 t* y}
( u. u" z. `1 E. @3 X
1 c" U* c/ |4 i( nIDE 0 and 1 的控制器却定义如下:
: U% ^5 g7 Y' H) IOperationRegion (GIO, SystemIO, 0x125, 0x1)
9 {0 I& `: K) Z+ } Field (GIO, ByteAcc, NoLock, Preserve) 2 N3 Q X- S: A
{+ T ]/ F9 g/ ?7 j2 @$ p9 h( K; U
IDEI, 1, // IDEISO_EN - isolation buffer
0 s, t; r6 m" ~0 j. e) w: w- o% h IDEP, 1, // IDE_PWR_EN - power 7 t! ~. @, {% v, Z5 h7 a0 n3 s
IDER, 1 // IDERST#_EN - reset# % V) \# P( C2 Q. p
} |
|