|
There are seven predefined Operation Region types specified in ACPI:
* b! ~5 i/ ^7 v t- Z) u0 SystemMemory # ?$ r. L7 ] V$ Q( w8 s
1 SystemIO F& \( i& t# v6 D# q
2 PCI_Config
* E: b# p; d9 r# Z2 J3 EmbeddedControl
8 s; W( H; C5 b& m9 ^6 P4 SMBus
" ^" \/ s4 j/ _) b5 CMOS
& x! w2 g U3 P* Q; p6 o' {6 PCIBARTarget' }* O" t' p n% P! U8 q5 X0 h: X5 @
为什么定义LID的状态端品为:4 @# S: Q) h3 Y+ p
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
7 W7 K, [- e0 MField(\PHO, ByteAcc, NoLock, Preserve). y" Y" Y' g# h: O+ c% y4 k& G
{
8 z1 Q# i7 N- { ~ LPOL, 1 // Lid polarity control bit
) ~$ s. O) o* n}
9 l7 z) q7 {7 Y% Z# \$ |% g" _2 Z h2 J; E
IDE 0 and 1 的控制器却定义如下:( x% l7 d0 y6 [3 ~/ O) ^$ o
OperationRegion (GIO, SystemIO, 0x125, 0x1)1 _1 M2 T* L( o- H0 `, Z9 o
Field (GIO, ByteAcc, NoLock, Preserve) & w4 u8 A8 { }9 `/ q8 H }
{
: ]" v3 A% o8 ~" w$ s4 z' T IDEI, 1, // IDEISO_EN - isolation buffer
! _4 H- L. \& |1 K, K7 D5 ] IDEP, 1, // IDE_PWR_EN - power
# f/ A9 N3 p o6 u7 W' F IDER, 1 // IDERST#_EN - reset#
- h' p+ O' Q: r x; f} |
|