当前位置: 首页 > news >正文

ACPI!ACPIBuildProcessRunMethodPhaseRunMethod函数对_SB总线_INT方法的调用

ACPI!ACPIBuildProcessRunMethodPhaseRunMethod函数对_SB总线_INT方法的调用

//
// Call the function
//
status = (buildFunction)( buildRequest ); 调用下一步:

0: kd> g
Breakpoint 5 hit
eax=00000004 ebx=00000004 ecx=89906e40 edx=00000001 esi=89906e30 edi=80b019f4
eip=f73fb911 esp=f789ef68 ebp=f789ef84 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000246
ACPI!ACPIBuildProcessGenericList+0x4d:
f73fb911 ff55f4 call dword ptr [ebp-0Ch] ss:0010:f789ef78={ACPI!ACPIBuildProcessRunMethodPhaseCheckBridge (f73fbb44)}
0: kd> t
eax=00000004 ebx=00000004 ecx=89906e40 edx=00000001 esi=89906e30 edi=80b019f4
eip=f73fbb44 esp=f789ef64 ebp=f789ef84 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000246
ACPI!ACPIBuildProcessRunMethodPhaseCheckBridge:
f73fbb44 55 push ebp
0: kd> kc
#
00 ACPI!ACPIBuildProcessRunMethodPhaseCheckBridge
01 ACPI!ACPIBuildProcessGenericList
02 ACPI!ACPIBuildDeviceDpc
03 nt!KiRetireDpcList
04 nt!KiDispatchInterrupt
WARNING: Frame IP not in any known module. Following frames may be wrong.
05 0x0
0: kd> dv
BuildRequest = 0x89906e30


//
// These are the flags that we use in the RunRequest case
//
#define RUN_REQUEST_CHECK_STATUS 0x01
#define RUN_REQUEST_MARK_INI 0x02
#define RUN_REQUEST_RECURSIVE 0x04
#define RUN_REQUEST_CHECK_WAKE_COUNT 0x08
#define RUN_REQUEST_REG_METHOD_ON 0x10
#define RUN_REQUEST_REG_METHOD_OFF 0x20
#define RUN_REQUEST_STOP_AT_BRIDGES 0x40

0: kd> dx -r1 ((ACPI!_ACPI_BUILD_REQUEST *)0x89906e30)
((ACPI!_ACPI_BUILD_REQUEST *)0x89906e30) : 0x89906e30 [Type: _ACPI_BUILD_REQUEST *]
[+0x000] ListEntry [Type: _LIST_ENTRY]
[+0x008] Signature : 0x5f534750 [Type: unsigned long]
[+0x00c] Flags : 0xc [Type: unsigned long] [+0x00c] Flags : 0xc
[+0x00c] UFlags [Type: __unnamed]
[+0x010] WorkDone : 0x1 [Type: unsigned long]
[+0x014] CurrentWorkDone : 0x4 [Type: unsigned long]
[+0x018] NextWorkDone : 0x5 [Type: unsigned long]
[+0x01c] BuildContext : 0x89981a18 [Type: void *]
[+0x020] Status : 0 [Type: long]
[+0x024] CurrentObject : 0x0 [Type: _NSObj *]
[+0x028] CallBack : 0x0 [Type: void (*)(void *,void *,long)]
[+0x02c] CallBackContext : 0x0 [Type: void *]
[+0x030] DeviceRequest [Type: __unnamed]
[+0x030] RunRequest [Type: __unnamed]
[+0x030] SynchronizeRequest [Type: __unnamed]
[+0x044] Integer : 0xf [Type: unsigned long]
[+0x044] String : 0xf : Unable to read memory at Address 0xf [Type: unsigned char *]
[+0x044] TargetListEntry : 0xf [Type: _LIST_ENTRY *]

[+0x00c] Flags : 0xc

#define RUN_REQUEST_RECURSIVE 0x04
#define RUN_REQUEST_CHECK_WAKE_COUNT 0x08

//
// Call the function
//
status = (buildFunction)( buildRequest );

0: kd> g
Breakpoint 5 hit
eax=00000005 ebx=00000005 ecx=89906e40 edx=00000001 esi=89906e30 edi=80b019f4
eip=f73fb911 esp=f789ef68 ebp=f789ef84 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000246
ACPI!ACPIBuildProcessGenericList+0x4d:
f73fb911 ff55f4 call dword ptr [ebp-0Ch] ss:0010:f789ef78={ACPI!ACPIBuildProcessRunMethodPhaseRunMethod (f73fbcf2)}


0: kd> t
Breakpoint 7 hit
eax=00000005 ebx=00000005 ecx=89906e40 edx=00000001 esi=89906e30 edi=80b019f4
eip=f73fbcf2 esp=f789ef64 ebp=f789ef84 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000246
ACPI!ACPIBuildProcessRunMethodPhaseRunMethod:
f73fbcf2 55 push ebp
0: kd> kc
#
00 ACPI!ACPIBuildProcessRunMethodPhaseRunMethod
01 ACPI!ACPIBuildProcessGenericList
02 ACPI!ACPIBuildDeviceDpc
03 nt!KiRetireDpcList
04 nt!KiDispatchInterrupt
WARNING: Frame IP not in any known module. Following frames may be wrong.
05 0x0
0: kd> dv
BuildRequest = 0x89906e30
nsObj = 0x00000000
status = 0n8
objData = struct _ObjData [2]
numArgs = 0xf73fbcf2
args = 0x89906e30


0: kd> g
Breakpoint 33 hit
eax=899afccc ebx=89981a18 ecx=0041e000 edx=00000000 esi=89906e30 edi=00000000
eip=f7415242 esp=f789ef04 ebp=f789ef60 iopl=0 nv up ei pl zr na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000246
ACPI!AMLIAsyncEvalObject:
f7415242 55 push ebp
0: kd> kc
#
00 ACPI!AMLIAsyncEvalObject
01 ACPI!ACPIBuildProcessRunMethodPhaseRunMethod
02 ACPI!ACPIBuildProcessGenericList
03 ACPI!ACPIBuildDeviceDpc
04 nt!KiRetireDpcList
05 nt!KiDispatchInterrupt
WARNING: Frame IP not in any known module. Following frames may be wrong.
06 0x0
0: kd> dv
pns = 0x899afccc
pdataResult = 0x00000000
icArgs = 0n0
pdataArgs = 0x00000000
pfnAsyncCallBack = 0xf73fa5bc
pvContext = 0x89906e30
pHData = 0x00000008
0: kd> db 0x899afccc
899afccc 88 fc 9a 89 4c ff 9a 89-f0 f0 9a 89 00 00 00 00 ....L...........
899afcdc 5f 49 4e 49 30 f3 9a 89-88 fc 9a 89 00 00 08 00_INI0...........
899afcec 00 00 00 00 00 00 00 00-30 02 00 00 10 fd 9a 89 ........0.......
899afcfc 00 00 00 00 00 00 00 00-48 4d 45 54 3c 02 00 00 ........HMET<...
899afd0c 00 f0 9a 89 00 00 00 00-00 00 00 00 00 00 00 00 ................
899afd1c 00 00 00 00 00 a0 0b 92-93 46 4c 41 47 0a 00 a4 .........FLAG...
899afd2c 00 70 0a 01 46 4c 41 47-a0 49 11 5b 12 5c 5f 4f .p..FLAG.I.[.\_O
899afd3c 53 49 60 a0 15 5c 5f 4f-53 49 0d 4c 69 6e 75 78 SI`..\_OSI.Linux
0: kd> dx -r1 ((ACPI!_NSObj *)0x899afccc)
((ACPI!_NSObj *)0x899afccc) : 0x899afccc [Type: _NSObj *]
[+0x000] list [Type: _List]
[+0x008] pnsParent : 0x899af0f0 [Type: _NSObj *]
[+0x00c] pnsFirstChild : 0x0 [Type: _NSObj *]
[+0x010] dwNameSeg : 0x494e495f [Type: unsigned long]
[+0x014] hOwner : 0x899af330 [Type: void *]
[+0x018] pnsOwnedNext : 0x899afc88 [Type: _NSObj *]
[+0x01c] ObjData [Type: _ObjData]
[+0x030] Context : 0x0 [Type: void *]
[+0x034] dwRefCount : 0x0 [Type: unsigned long]
0: kd> db 0x899af0f0
899af0f0 ac f0 9a 89 34 f1 9a 89-24 f0 9a 89 74 f4 9a 89 ....4...$...t...
899af100 5f 53 42 5f 00 00 00 00-00 00 00 00 00 00 00 00 _SB_............
899af110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
899af120 18 1a 98 89 00 00 00 00-48 4e 53 4f 44 00 00 00 ........HNSOD...
899af130 00 f0 9a 89 f0 f0 9a 89-78 f1 9a 89 24 f0 9a 89 ........x...$...
899af140 00 00 00 00 5f 53 49 5f-00 00 00 00 00 00 00 00 ...._SI_........
899af150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
899af160 00 00 00 00 00 00 00 00-00 00 00 00 48 4e 53 4f ............HNSO

Scope (_SB)
{

。。。
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If (LNotEqual (FLAG, 0x00))
{
Return (Zero)
}

Store (0x01, FLAG)
If (CondRefOf (\_OSI, Local0))
{
If (\_OSI ("Linux"))
{
Store (0x0F00, TOOS)
}
Else
{
If (\_OSI ("Windows 2006"))
{
Store (0x0C00, TOOS)
}
Else
{
If (\_OSI ("Windows 2001.1 SP1"))
{
Store (0x0A00, TOOS)
}
Else
{
If (\_OSI ("Windows 2001.1"))
{
Store (0x0900, TOOS)
}
Else
{
If (\_OSI ("Windows 2001 SP2"))
{
Store (0x0700, TOOS)
}
Else
{
If (\_OSI ("Windows 2001 SP1"))
{
Store (0x0600, TOOS)
}
Else
{
If (\_OSI ("Windows 2001"))
{
Store (0x0500, TOOS)
}
Else
{
If (\_OSI ("Windows 2000"))
{
Store (0x0400, TOOS)
}
Else
{
Store (0xFE00, TOOS)
}
}
}
}
}
}
}
}
}
Else
{
If (CondRefOf (\_OS, Local0))
{
If (STRC (\_OS, "Microsoft Windows NT"))
{
Store (0x0300, TOOS)
}
Else
{
If (STRC (\_OS, "Microsoft WindowsME:Millennium Edition"))
{
Store (0x0200, TOOS)
}
Else
{
If (STRC (\_OS, "Microsoft Windows"))
{
Store (0x0100, TOOS)
}
Else
{
If (STRC (\_OS, "NetWare"))
{
Store (0x0B00, TOOS)
}
Else
{
If (STRC (\_OS, "FreeBSD"))
{
Store (0x1000, TOOS)
}
Else
{
Store (0xFD00, TOOS)
}
}
}
}
}
}
Else
{
Store (0xFF00, TOOS)
}
}

Return (0x00)
}

http://www.jsqmd.com/news/253902/

相关文章:

  • 大模型增强之道:RAG技术详解与应用实践
  • ACPI!ACPIBuildProcessRunMethodPhaseCheckSta函数对_SB总线的状态的确定
  • 无人机螺距设计要点与技术解析
  • 表驱动法:告别 if-else(案例:查月份天数、成绩分级)
  • 小程序 django基于django的助农商城销售系统
  • 【iManus】勾股定理的多种经典证明方法
  • 小程序 基于django的大学生支教管理系统设计与实现
  • 探索 5KW 混合储能系统:从架构到功率板的技术之旅
  • 【毕业设计】基于SpringBoot+Vue的中青年人员招聘平台(源码+文档+远程调试,全bao定制等)
  • CANopen 转 Modbus TCP 工业数据采集网关:PLC 与工控机实时数据同步方案
  • 视频融合平台EasyCVR构建智慧林业一体化监测防护体系
  • 从CC-Link IE FB转ProfiNet:一条网关线串起德系日系变频“朋友圈”
  • 视频汇聚平台EasyCVR如何运用全域轨迹跟踪技术构建主动式安防新体系?
  • 【课程设计/毕业设计】基于SpringBoot+Vue的中青年人员招聘平台SpringBoot+Vue的人才招聘平台系统【附源码、数据库、万字文档】
  • Django模板变量操作全指南
  • 伺服电机控制:从 PLC 程序案例看门道
  • 酒店管理系统java和mysql,零基础入门到精通,收藏这篇就够了
  • LLM解析电子鼻数据呼吸预警提速
  • Lua 的 String(字符串) 模块
  • 为什么美国男足在国际比赛事表这么差劲,而是美国女足却好得多
  • 【收藏必备】提示词工程完全指南:谷歌白皮书解读与大模型应用技巧
  • 41岁,失业的第七周。降薪50%,明天终于入职了。
  • Playwright性能优化:减少测试执行时间的10个技巧
  • 草莓病害图像数据集(YOLO使用,train为655张照片和val为487张照片)
  • Java【四则运算计算器】_java四则运算计算器,零基础入门到精通,收藏这篇就够了
  • 基于VUE的轻琢线条塑形管理系统[VUE]-计算机毕业设计源码+LW文档
  • 电子手轮控制步进电机程序探索
  • 柑橘病害数据集(四类图像分类,没有打yolo标签)
  • 2026年1月哪些房产中介管理系统客户管理功能完善
  • 基于 MATLAB 的机械故障诊断技术