|
|
There are seven predefined Operation Region types specified in ACPI:
$ f2 c1 M4 P5 I+ U9 {- f- k0 SystemMemory 4 i" h/ a2 R" k/ X2 q8 X4 g& L
1 SystemIO
* _0 a+ g' t" P/ Y9 t6 d6 A8 O5 I2 PCI_Config 3 r9 V4 ^8 `* w* h0 z7 E
3 EmbeddedControl
, H2 o# R. E& v4 SMBus
: V I% g+ N: F- {5 CMOS
$ E: F2 h1 B: K9 P+ R6 PCIBARTarget
$ z, l* |( \( d+ {6 l' h5 ]为什么定义LID的状态端品为:7 z' `5 @8 U! y6 R+ S6 E) H/ | \
OperationRegion(\PHO, SystemIO, 0x201, 0x1)% H" ~) L: t0 Q
Field(\PHO, ByteAcc, NoLock, Preserve)
. I1 ^% z; H% W' P; d/ H. o{
0 y' W+ s T' x8 o5 J2 I LPOL, 1 // Lid polarity control bit( V2 Z% M* e; d
}
7 p4 c5 z0 ^0 b, C2 K2 J0 c1 b0 o( `, q5 Q3 S
IDE 0 and 1 的控制器却定义如下:6 e' M8 i' u7 a
OperationRegion (GIO, SystemIO, 0x125, 0x1) R( y. i, l7 y9 \& s4 S4 D+ g
Field (GIO, ByteAcc, NoLock, Preserve) ]3 E( q0 U' g. W9 y2 d
{
, I1 G4 c' n9 E IDEI, 1, // IDEISO_EN - isolation buffer % g2 [* N) q7 W( V# }) }
IDEP, 1, // IDE_PWR_EN - power
) _2 x6 C$ p2 n i& y8 s/ l& b+ ] IDER, 1 // IDERST#_EN - reset#
3 w0 A7 ~3 y1 F) U3 H8 e} |
|