|
There are seven predefined Operation Region types specified in ACPI:
* Z# ]) P1 Z9 ?0 V0 SystemMemory
6 [0 w. v# X. t( | {1 SystemIO * n9 {0 p: h2 H! K; q- G t$ l
2 PCI_Config
. A/ I' n1 S9 \% g2 h, v. O# P3 EmbeddedControl
. F! }' r6 x, k+ l; @1 [* Q) I4 g4 SMBus : @7 } m3 ~9 v; n; J3 ~# S' w3 V
5 CMOS
$ a. t( R6 |. x5 @3 p, R6 PCIBARTarget
! S* T9 a! p% z+ o4 s5 a- [, M2 \8 I为什么定义LID的状态端品为:9 G' G7 T) y! ]1 w
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
6 [6 U# _0 I) l7 v( z; }) ~Field(\PHO, ByteAcc, NoLock, Preserve)
8 e8 B. {" o6 N) s5 {3 U: L) c! Q{
& w8 H. L$ z+ _- h+ ^' s9 R! a* s5 U% d LPOL, 1 // Lid polarity control bit# n- G8 [! p. L. N1 l) h: s( t7 G
}
, y* q }1 {) r; I1 N9 H5 J, d/ y5 n9 c# V# Z
IDE 0 and 1 的控制器却定义如下:
. }# e; W4 [# u. B' U. \, K" SOperationRegion (GIO, SystemIO, 0x125, 0x1)
5 [ h7 c5 R9 y0 J$ X Field (GIO, ByteAcc, NoLock, Preserve)
& X+ R8 e& J" o# ^ {9 I) t# X1 A X$ f+ \
IDEI, 1, // IDEISO_EN - isolation buffer
0 K$ G1 z8 K9 ~7 K c IDEP, 1, // IDE_PWR_EN - power ! ?+ Z4 [" ^6 l; |' u( p
IDER, 1 // IDERST#_EN - reset#
4 x3 F. Z, K+ G} |
|