|
|
There are seven predefined Operation Region types specified in ACPI:- {& c) U( c) F& u. f) r8 W0 S) L
0 SystemMemory
7 Q5 N8 @' { F: h, V1 SystemIO
/ h5 B+ x5 q3 `( o3 p3 n( t2 PCI_Config
4 o# d/ i' W! A& R! S3 EmbeddedControl
" `7 c+ }" S _! S4 SMBus
8 O* a3 _( H# }5 }# p5 CMOS
5 {: I* I& R7 |* Q: L2 a6 PCIBARTarget
" a1 h# s$ D6 |" N6 G4 y! g- R, w0 t为什么定义LID的状态端品为:! ]0 z7 b( E7 X& ~% a7 q9 |" L. F) ?$ h
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
& B2 C0 T+ W1 jField(\PHO, ByteAcc, NoLock, Preserve)
& ]/ a! A/ K9 j* _% y6 W{
7 N% q% m( ^% @+ H LPOL, 1 // Lid polarity control bit: G6 [% m# p, u. c
}
& x6 u4 l; v$ L4 V" u( K
. K' f e. h( [$ B& g) ^, y+ G3 v8 XIDE 0 and 1 的控制器却定义如下:
$ n. c1 M; w% u3 mOperationRegion (GIO, SystemIO, 0x125, 0x1)
( K8 r+ W& ^, i6 D+ f Field (GIO, ByteAcc, NoLock, Preserve) " k! L3 n4 e5 B9 M/ y! Y& Z- G2 q
{! T( g: r0 y5 ]) |; \ C
IDEI, 1, // IDEISO_EN - isolation buffer
- }6 t6 L8 c) W- t IDEP, 1, // IDE_PWR_EN - power
% u! Q4 f9 f( [ IDER, 1 // IDERST#_EN - reset#
4 h( W. H# m1 L+ U$ I8 }3 u: Q} |
|