|
|
There are seven predefined Operation Region types specified in ACPI:
% \8 ^. ^- L+ b6 `" ]& S& L& b# f, _0 SystemMemory % i8 y s8 ]. O/ c
1 SystemIO & |+ [' _) }( _, R% T
2 PCI_Config
5 S6 q6 ^3 T$ W& |/ w; e E( c+ C3 EmbeddedControl 5 Q( T' V |$ g4 r
4 SMBus
+ U/ P9 n) ]* P: ?5 CMOS
6 K2 o' \) j7 }/ K6 PCIBARTarget5 u0 [: q6 p; f
为什么定义LID的状态端品为:! @8 ]$ X1 G) ?% \$ }; O* a) D
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
$ h; R6 F- R( Z& pField(\PHO, ByteAcc, NoLock, Preserve)6 ^8 Z. @+ W8 N! L
{
) b, L9 V2 E0 Z9 S8 S% G: Z LPOL, 1 // Lid polarity control bit
: t, l2 l; [; }" w7 @+ r' ?% k}. M" K. G7 {$ ^) _: }" }9 l
5 q8 ?9 t1 h6 V9 YIDE 0 and 1 的控制器却定义如下:
5 t' J3 i4 _, X0 O! lOperationRegion (GIO, SystemIO, 0x125, 0x1)3 _. f% }& m$ L( Y- F/ [5 E: C& j2 T
Field (GIO, ByteAcc, NoLock, Preserve)
% C/ Y0 W& S% B1 P4 N {
: d& b* p" H1 l6 E IDEI, 1, // IDEISO_EN - isolation buffer 5 C! G ^! j7 T
IDEP, 1, // IDE_PWR_EN - power - H4 O" g* L* r! {) q
IDER, 1 // IDERST#_EN - reset# ( O9 D( _0 I$ C# F o; k, {* h* o; @
} |
|