|
|
There are seven predefined Operation Region types specified in ACPI:
- ~# Z# Z" u/ u" ?( n7 T1 e0 SystemMemory
2 H8 @% R8 t( u% w# ?/ A/ ]7 `1 SystemIO
7 B/ S+ |! t, ]. l: r' m9 y2 PCI_Config & D2 L* k4 y' D+ M. E
3 EmbeddedControl
! ~6 R4 C+ s: S) t4 SMBus 6 r2 m6 C2 s# ]; I0 R$ I4 z
5 CMOS . a# a, Y3 ^ y' A0 y4 L: N* Q
6 PCIBARTarget
# A# z& k% u: Y; \为什么定义LID的状态端品为:
- M$ h" ?2 @& {8 ]" t$ OOperationRegion(\PHO, SystemIO, 0x201, 0x1)7 Z/ i* u- _9 a9 l- e2 E
Field(\PHO, ByteAcc, NoLock, Preserve)
8 }- q4 K L- [* m9 r$ T/ @; w{
4 z8 }8 M, o" @) `2 @1 [ LPOL, 1 // Lid polarity control bit
4 S; T/ h+ N, A j}
4 b% {9 ?. `& ?$ ?: ]* {
. z$ `* x9 x C: p) iIDE 0 and 1 的控制器却定义如下:! m3 L: }9 p+ c9 C
OperationRegion (GIO, SystemIO, 0x125, 0x1)5 i7 X7 O! D4 @9 D7 w
Field (GIO, ByteAcc, NoLock, Preserve)
9 P6 w0 D# ?3 s2 F1 R {$ [' z( x. ]- _8 k5 x3 n
IDEI, 1, // IDEISO_EN - isolation buffer : T l& H, ?: V) H, d3 T2 y p3 j
IDEP, 1, // IDE_PWR_EN - power
% p1 Q4 i' L, r# ^/ X& Q8 \: H IDER, 1 // IDERST#_EN - reset#
; T: W4 p. r% O' _# g& m} |
|