wince启动问题 INFO: OEMLaunch: Jumping to Physical Address ....死机不动
发现问题出在
- VOID OEMInitDebugSerial()
- {
- #if FEILING_DEBUG
- S3C2440A_IOPORT_REG *pIOPortReg;
- UINT32 logMask;
- UINT32 count;
- [color=Magenta] pIOPortReg = (S3C2440A_IOPORT_REG*)OALPAtoVA(S3C2440A_BASE_REG_PA_IOPORT, FALSE);[/color]
- // At this moment we must suppress logging.
- //
- logMask = g_oalLogMask;
- g_oalLogMask = 0;
- #ifdef DEBUG_SERIAL_UART0
- [b][color=Red] //pIOPortReg = (S3C2440A_IOPORT_REG*)OALPAtoVA(S3C2440A_BASE_REG_PA_IOPORT, FALSE);[/color][/b]
....
OALPAtoVA函数由于修改后返回值不对造成类是问题应多出在这个函数里!