MEMORY
;--------------------------------------------------------
; NK name
;--------------------------------------------------------
#define NKNAME NK IF IMGFLASH !
IF WINCEDEBUG=debug
;--------------------------------------------------------
; NK Start address length = 40M
;--------------------------------------------------------
#define NKSTART 80100000
#define NKLEN 02800000
; Reserve ZBANK virtual block (No physical memory
; is required to back this virtual range).
ZBANK 96500000 00100000 RESERVED
CONFIG
AUTOSIZE=ON
KERNELFIXUPS=ON
; @CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
; @CESYSGEN ENDIF NK_NKNOCOMP
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
IF IMGFLASH ROMSTART = 9CB00000
ROMSIZE = 01B00000
ROMWIDTH = 16 ELSE
AUTOSIZE = ON
ENDIF
;---------------------------------------------------------------------
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0002 Not all KMode
; ROMFLAGS 0x0010 Trust Module only
;---------------------------------------------------------------------
IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=12
ELSE
ROMFLAGS=10
ENDIF
ELSE
IF IMGNOTALLKMODE
ROMFLAGS=02
ELSE
ROMFLAGS=00
ENDIF
ENDIF
The following table shows how Romimage.exe splits the run-time image depending on the value of width.
Value Description
32 Romimage.exe puts the entire run-time image into one file.
16 Romimage.exe splits the run-time image into two files of even and odd 16-bit words.
8 Romimage.exe splits the run-time image into four files of even and odd 8-bit bytes.
The following table shows how Romimage.exe splits the run-time image depending on the value of width.
Value Description
32 Romimage.exe puts the entire run-time image into one file.
16 Romimage.exe splits the run-time image into two files of even and odd 16-bit words.
8 Romimage.exe splits the run-time image into four files of even and odd 8-bi…