|
|
There are seven predefined Operation Region types specified in ACPI:
5 `, S3 M6 U/ a# h+ }+ l0 SystemMemory # Y/ R4 f2 p" _* Y
1 SystemIO
( ]) H: E$ Z, b$ g8 x2 PCI_Config Y7 D, a: ?! K5 i, ~
3 EmbeddedControl
2 [) E8 t% ^4 C- f0 E5 C' k3 I4 SMBus
% m- t# `( Y! Y5 CMOS
1 A% j& p; ^2 T. |! U: @8 O, |6 PCIBARTarget
8 a# [7 V+ T7 k6 o% k为什么定义LID的状态端品为:: B; Q: ^9 b+ x: I3 P: ?; q
OperationRegion(\PHO, SystemIO, 0x201, 0x1)
4 g* c# Z7 M3 jField(\PHO, ByteAcc, NoLock, Preserve)* z: @+ v# z. N* K
{2 d8 ~5 ^- W: o9 [
LPOL, 1 // Lid polarity control bit
4 J$ d2 K9 [9 ~, Y! m}8 l0 _/ J2 C3 I/ q
% _+ j3 C' H% W9 ]/ H7 X( ]IDE 0 and 1 的控制器却定义如下:
! o* G1 c# K7 mOperationRegion (GIO, SystemIO, 0x125, 0x1)# B, y+ G. H7 _, ^4 Z& }
Field (GIO, ByteAcc, NoLock, Preserve)
' n* B( y: u8 E/ O& |: T2 D {
: f+ B8 O7 ^3 p% }7 b! s# w9 ~ IDEI, 1, // IDEISO_EN - isolation buffer ' S& |. @' T( w. }' R) H
IDEP, 1, // IDE_PWR_EN - power
f4 ^5 O D0 L4 ]4 Z; I7 ] IDER, 1 // IDERST#_EN - reset#
; i8 m {' S" A3 e8 ?' M% a$ G} |
|