|
问题新总结:
1、定制内核时添加了PM(FULL)组件,但是控制面板中没有“电源”选项!
2、OEMPowerOff函数中调用XllpPmEnterSleep,参数是P_XLLP_PM_ENTER_SLEEP_PARAMS_T指针,休眠时,进入XllpPmEnterSleep(汇编)发现
stmdb sp!, {r0-r12,lr}
异常,原因是sp=0.
RaiseException: Thread=83cb9400 Proc=81d66320 'device.exe'
AKY=0000001d PC=03fa71d4(coredll.dll+0x000371d4) RA=8013da50(NK.EXE+0x0003da50) BVA=00000001 FSR=00000001
Exception 'RaiseException' Thread=83cb9400 AKY=0000001d PC=00000001 BVA=00000001
R0=81d68600 R1=81d680e0 R2=81d680f0 R3=ffffc808
R4=000000fb R5=00000064 R6=ffffc886 R7=ffffc748
R8=ffffc764 R9=8013da50 R10=80106f48 R11=8012e110
R12=00000000 SP=00000000 Lr=00000020 Psr=a00000df
Halting system
调试了好几天也找不到异常出现在什么地方?
系统启动时,显示有:
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 801061bc
Sp=ffffc7cc
|
|