wince启动问题 INFO: OEMLaunch: Jumping to Physical Address ....死机不动

时间:2022-02-14 19:21:40

wince启动问题 INFO: OEMLaunch: Jumping to Physical Address ....死机不动

发现问题出在

  1. VOID OEMInitDebugSerial()
  2. {
  3. #if FEILING_DEBUG
  4.     S3C2440A_IOPORT_REG *pIOPortReg;
  5.     UINT32 logMask;
  6.         UINT32 count;
  7. [color=Magenta]        pIOPortReg = (S3C2440A_IOPORT_REG*)OALPAtoVA(S3C2440A_BASE_REG_PA_IOPORT, FALSE);[/color]
  8.     // At this moment we must suppress logging.
  9.     //
  10.     logMask = g_oalLogMask;
  11.     g_oalLogMask = 0;
  12. #ifdef DEBUG_SERIAL_UART0
  13. [b][color=Red]    //pIOPortReg = (S3C2440A_IOPORT_REG*)OALPAtoVA(S3C2440A_BASE_REG_PA_IOPORT, FALSE);[/color][/b]
    ....

OALPAtoVA函数由于修改后返回值不对造成类是问题应多出在这个函数里!