|
There are seven predefined Operation Region types specified in ACPI:
9 k" k3 v/ r2 n2 g+ @) l0 SystemMemory
, i& ]* D3 C- G4 | o1 SystemIO ! B* }3 O2 w, F2 N
2 PCI_Config
8 u4 B8 b/ F! F* _4 H2 P# A) m' @3 EmbeddedControl % ^ ?- k$ r$ M( Z6 P- `3 z6 Z
4 SMBus ; E1 D% H6 f: U, U( }
5 CMOS 1 }& w! {4 W# Y6 P5 l
6 PCIBARTarget* O) U; b4 G: h; \- b$ o
为什么定义LID的状态端品为:) v" F: L$ T" I; {& D
OperationRegion(\PHO, SystemIO, 0x201, 0x1)( ^$ ~3 p/ \. h) V( ]
Field(\PHO, ByteAcc, NoLock, Preserve)4 d( y( v9 [. [- Y2 b- J, T
{
. r) H; |3 g' V9 n LPOL, 1 // Lid polarity control bit" b0 n$ L+ R1 e+ r
}
% v- W+ b6 g: c& {7 V8 L ^* Z5 r; X! k8 n- O$ D6 W
IDE 0 and 1 的控制器却定义如下: D, R1 Z+ J9 M
OperationRegion (GIO, SystemIO, 0x125, 0x1)) S: T) S. R! K* T" V9 B! \2 e
Field (GIO, ByteAcc, NoLock, Preserve)
$ {) p( T6 L; n0 h2 \ {$ R0 h! E# @9 ?8 T
IDEI, 1, // IDEISO_EN - isolation buffer
9 ~- X8 Z7 }& S' i k: J IDEP, 1, // IDE_PWR_EN - power
* G( o5 k* Z% R$ ~: J IDER, 1 // IDERST#_EN - reset# # Z9 I6 E. ~8 C n
} |
|