|
|
There are seven predefined Operation Region types specified in ACPI:( ]( }3 A) t& ]1 h" w# p
0 SystemMemory ! U p" s: E$ u+ y5 C7 W7 I$ O9 W+ q P
1 SystemIO ' u' Q) K- _8 h
2 PCI_Config + w% X3 Y0 ^* d6 j- {, z4 [
3 EmbeddedControl + }: `; M6 N$ {2 a( e- [. C- T
4 SMBus
6 o3 _" \+ z# x1 V9 j1 j5 CMOS / u( X/ d- x- g4 I# B# u
6 PCIBARTarget- d' Q& M9 Y2 S$ `" [: ^
为什么定义LID的状态端品为:
$ i( m% j, W' k! FOperationRegion(\PHO, SystemIO, 0x201, 0x1)
( ^3 v) y, |3 @ W/ |' T/ HField(\PHO, ByteAcc, NoLock, Preserve)
3 ~. Z" T s: r' W3 c{+ p# {% | R1 n
LPOL, 1 // Lid polarity control bit
" e) n" k6 J$ w/ I: e}6 ]. k% s! w7 Q! M2 m, h
" G6 E4 S# J5 C5 t; ^2 cIDE 0 and 1 的控制器却定义如下:
2 I7 u0 @/ k5 v% i aOperationRegion (GIO, SystemIO, 0x125, 0x1)! @0 y( @6 \2 Z2 D/ J# H( E/ F
Field (GIO, ByteAcc, NoLock, Preserve)
7 s2 v" C% _: {/ J2 W- D {
: S* q& w7 M: g( K+ y0 d7 A IDEI, 1, // IDEISO_EN - isolation buffer d; z$ N$ X6 k I/ v/ X
IDEP, 1, // IDE_PWR_EN - power
' ~9 d, i; s1 f3 k0 W# o% E IDER, 1 // IDERST#_EN - reset# 1 c. o+ ~2 |$ _1 {- T1 E1 b
} |
|