|
|
There are seven predefined Operation Region types specified in ACPI:
& J0 _* H# a. a' V1 R7 W) t0 SystemMemory ; x% l& G ~5 l5 h ~
1 SystemIO
: s% o5 x ?0 m) {0 U9 n2 PCI_Config
9 H S* X4 N3 E6 G' ~3 EmbeddedControl
I7 y. `, n- X- T4 SMBus
8 k- {2 J, H, v. k3 l w* Z5 CMOS # J. [ {- F) _& K% o/ b" E4 b( F
6 PCIBARTarget- X: p9 @8 b6 n9 Y: f
为什么定义LID的状态端品为: t7 F! j* Z4 P' Z! {& @
OperationRegion(\PHO, SystemIO, 0x201, 0x1)7 M% ]% f0 ~$ e% n- n, I* w9 k
Field(\PHO, ByteAcc, NoLock, Preserve)
9 s3 E. }- e, P( l* S9 J3 {{' Q- P) ^* w/ ~( I
LPOL, 1 // Lid polarity control bit
* p1 V! r2 G6 f: b7 V. f) `5 ?! H}
. J7 _9 |7 B2 B4 U( m7 l' k2 q: L$ }
IDE 0 and 1 的控制器却定义如下:
4 s& g2 x5 j6 \- AOperationRegion (GIO, SystemIO, 0x125, 0x1)
- b/ F! e T0 I' C5 L Field (GIO, ByteAcc, NoLock, Preserve)
$ Q' L2 s3 k& x3 V* f {
8 v" i: Q/ g! _. T; V IDEI, 1, // IDEISO_EN - isolation buffer
( m4 {1 `9 ^1 [ IDEP, 1, // IDE_PWR_EN - power 7 S! Z7 V+ k6 [6 e- w. T/ e; \$ `" |
IDER, 1 // IDERST#_EN - reset#
- Y3 k7 S, s2 F7 P. h+ f0 M} |
|