ASL code中的CMOS address對應到BIOS某段code
ASL code中的CMOS address (好像0x72都是指CMOS@@?!)
OperationRegion(CMS2, SystemIO, 0x072, 0x2) // Extended CMOS Address
Field(CMS2, ByteAcc, NoLock, Preserve) {
INDX, 8,
DATA, 8
}
IndexField(INDX, DATA, ByteAcc, NoLock, Preserve)
{
Offset(0x50),
LCDL, 3,
, 2,
LBLM, 1,
, 2,
Offset(0x51),
CPST, 5,
, 2,
CSTM, 1,
Offset(0x56),
WLST, 1,
WEBC, 1,
S4FG, 1,
, 5,
}
BIOS某段code (xxx.asm)
CREATE_BITFIELD cmosBrightnessLevel, 3, 7, 7, NV1
PLACE_BITFIELD cmosBrightnessLevel, 8 * 050h + 0h
CREATE_BITFIELD cmosLanBootCfg, 1, 0, 0, CHKSUM + NV1
PLACE_BITFIELD cmosLanBootCfg, 8 * 050h + 4h
CREATE_BITFIELD cmosLongBatLifeCfg, 1, 0, 0, CHKSUM + NV1
PLACE_BITFIELD cmosLongBatLifeCfg, 8 * 050h + 5h
CREATE_BITFIELD cmosCPUPState, 5, 0, 0, NV1
PLACE_BITFIELD cmosCPUPState, 8 * 051h + 0h
CREATE_BITFIELD cmosCUPSupportTurboMode, 1, 0, 0, NV1
PLACE_BITFIELD cmosCUPSupportTurboMode, 8 * 051h + 7h
CREATE_BITFIELD cmosWLANState,1, 0, 0, NV1
PLACE_BITFIELD cmosWLANState, 8 * 056h + 0h
CREATE_BITFIELD cmosWebCamState,1, 0, 0, NV1
PLACE_BITFIELD cmosWebCamState, 8 * 056h + 1h
CREATE_BITFIELD cmosS4Flag, 1, 0, 0, NV1
PLACE_BITFIELD cmosS4Flag, 8 * 056h + 2h
沒有留言:
張貼留言