Hi,
We are migrating to CE 6 and we can't finalize our OEMInit function because
of a DEBUGCHK falure in vm.c(in debug configuration of course). I activated
DebugMsg in the vm.c files. When we use the retail configuration it works but
fails later in a driver initialization (but this is another story). Here is
the output:
4294767296 PID:0 TID:0 Start x86InitRomChain.
4294767296 PID:0 TID:0 Looking for rom chain
4294767296 PID:0 TID:0 Rom chain NOT found
4294767296 PID:0 TID:0 End x86InitRomChain
4294767296 PID:0 TID:0 Start InitFPGA.
4294767296 PID:0 TID:0 +InitFPGA
4294767296 PID:0 TID:0 PCIGetBusDataByOffset Start
4294767296 PID:0 TID:0 PCIGetBusDataByOffset End
4294767296 PID:0 TID:0 PCIGetBusDataByOffset Start
4294767296 PID:0 TID:0 PCIGetBusDataByOffset end
4294767296 PID:0 TID:0 NkCreateStaticMapping EEE00000
4294767296 PID:0 TID:0 CreateStaticMapping: 00eee000 00004000
4294767296 PID:0 TID:0 DoVMReserve - process-id: 00000000, dwAddr =
00000000, cPages = 0x4, base = 00000000, fAllocType = 00000000
4294767296 PID:0 TID:0 DoVMReserve - searching from va = 00000000
4294767296 PID:0 TID:0 NK Kernel: DEBUGCHK failed in file
E:\IRIS\OS\WINCE600\private\winceos\COREOS\nk\kernel\nknormal\..\vm.c at line
550
Just after x86InitRomChain we call our FPGAInit function in which we call a
NKCreateStaticMapping to map PCI adress in virtual memory. Is it too early?
Is it wrong (it worked in CE 5)? It seams that the process 0 (nk.exe) has a
starting free VM address of 0 and that's why we receive a DEBUGCHK.
Any help would be welcome.
Thanks.