nosensor.asl
来自「<BIOS研发技术剖析>书的源代码,包括完整的BIOS汇编语言源程序」· ASL 代码 · 共 50 行
ASL
50 行
//**********************************************************************;
// *****************************************************************;
// *****************************************************************;
// ** **;
// ** (C)Copyright 1985-1996, American Megatrends, Inc. **;
// ** **;
// ** All Rights Reserved. **;
// ** **;
// ** 6145-F Northbelt Pkwy, Norcross, GA 30071 **;
// ** **;
// ** Phone (770)-246-8600 **;
// ** **;
// *****************************************************************;
// *****************************************************************;
//**********************************************************************;
// DON'T CHANGE ANY CODE !!!
//**********************************************************************;
//**********************************************************************;
// Module required if OEM Design doesn't have any
// Thermal sensor devices
//**********************************************************************;
Method(RTMP,0) { // Read current temperature
// \GFAN._ON()
Return(Add(TMIN,5)) // TMIN + 5.0
}
Method(TCHG,1) // Reevaluates new Trip points
{
NoOp
}
Method(THDL,0) // Interrupt handler
{
NoOp
}
//**********************************************************************;
// *****************************************************************;
// *****************************************************************;
// ** **;
// ** (C)Copyright 1985-1996, American Megatrends, Inc. **;
// ** **;
// ** All Rights Reserved. **;
// ** **;
// ** 6145-F Northbelt Pkwy, Norcross, GA 30071 **;
// ** **;
// ** Phone (770)-246-8600 **;
// ** **;
// *****************************************************************;
// *****************************************************************;
//**********************************************************************;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?