搞好了eboot,内核起到一半又不行了,还得麻烦朋友们帮忙看看:
Download successful! Jumping to image at 0x80101000 (physical 0xA0101000)...
Waiting for host to connect...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 6 2006 at 19:11:16
ProcessorType=0411 Revision=7
OEMAddressTable = 80105d34
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
Setting up softlog at 0x87ffc000 for 0x800 entries
Booting Windows CE version 6.00 for (ARM)
&pTOC = 81aebc1c, pTOC = 81ad602c, pTOC->ulRamFree = 81af0000, MemForPT = 00001000
Booting kernel with existing memory configuration:
Memory Sections:
[0] : start: 81af2000, extension: 0000d000, length: 064fd000
NKStartup done, starting up kernel.
Windows CE KernelInit
到这停住了,跟踪到了内核初始化函数:
void KernelInit (void)
{
#ifdef DEBUG
g_pNKGlobal->pfnWriteDebugString (TEXT("Windows CE KernelInit\r\n"));
#endif
APICallInit (); // setup API set
HeapInit (); // setup kernel heap
InitMemoryPool (); // setup physical memory
PROCInit (); // initialize process
VMInit (g_pprcNK); // setup VM for kernel
THRDInit (); // initialize threads
MapfileInit ();
#ifdef DEBUG
g_pNKGlobal->pfnWriteDebugString (TEXT("Scheduling the first thread.\r\n"));
#endif
}
可见初始化未完成,
void APICallInit (void)
{
/* setup the well known system API sets & API types */
SystemAPISets[SH_WIN32] = &cinfWin32;
SystemAPISets[SH_CURTHREAD] = &cinfThread;
SystemAPISets[SH_CURPROC] = &cinfProc;
SystemAPISets[SH_CURTOKEN] = &cinfToken;
SystemAPISets[HT_EVENT] = &cinfEvent;
SystemAPISets[HT_MUTEX] = &cinfMutex;
SystemAPISets[HT_CRITSEC] = &cinfCRIT;
SystemAPISets[HT_SEMAPHORE] = &cinfSem;
SystemAPISets[HT_APISET] = &cinfAPISet;
// SystemAPISets[HT_FILE] = &CinfFile;
// SystemAPISets[HT_FIND] = &CinfFind;
// SystemAPISets[HT_DBFILE] = &CinfDBFile;
// SystemAPISets[HT_DBFIND] = &CinfDBFind;
// SystemAPISets[HT_SOCKET] = &CinfSocket;
// SystemAPISets[HT_WNETENUM] = &CinfWnetEnum;
KInfoTable[KINX_APISETS] = (DWORD)SystemAPISets;