C:\WINCE600\OSDesigns\OSDesign9\OSDesign9\RelDir\CEPC_x86_Debug\config.bib如何配置内存
MEMORY
#if (defined IMGPPC || defined IMGTPC)
IF IMGPERSISTENTSTORAGE !
This line is left here on purpose to indicate IMGPERSISTENTSTORAGE is a required for building smartfon / ppc images.
Please check your environment settings.
ENDIF IMGPERSISTENTSTORAGE !
IF IMGRAMFMD !
This line is left here on purpose to indicate IMGRAMFMD is a required for building smartfon / ppc images.
Please check your environment settings.
ENDIF IMGRAMFMD !
NK 81200000 00A00000 RAMIMAGE
#if defined IMGRAM16
#error IMGRAM16 unsupported on PPC/smartfon.
#elif defined IMGRAM32
#error IMGRAM32 unsupported on PPC/smartfon.
#elif defined IMGRAM64
RAM 81C00000 02400000 RAM
#elif defined IMGRAM128
RAM 81C00000 06400000 RAM
nk.exe:dwOEMTotalRAM 0 08000000 FIXUPVAR
#elif defined IMGRAM256
RAM 81C00000 0E400000 RAM
nk.exe:dwOEMTotalRAM 0 10000000 FIXUPVAR
#elif defined IMGRAM512
RAM 81C00000 1E400000 RAM
nk.exe:dwOEMTotalRAM 0 20000000 FIXUPVAR
#else
; Default 96 MB Config
RAM 81C00000 04000000 RAM
nk.exe:dwOEMTotalRAM 0 06000000 FIXUPVAR
#endif
FRAMEBUF 800A0000 00020000 RESERVED
PCMCIABUF 800D0000 00010000 RESERVED
; Debug Ethernet packet buffers
EDBG 801DC000 00020000 RESERVED
AUDIOBUF 801FC000 00002000 RESERVED
UNUSED 801FE000 00000004 RESERVED
LOADRBUF 801FFF00 00000100 RESERVED
; Note: The RAMFMD entries need corresponding platform.reg entries.
RAMFMD 80200000 01000000 RESERVED
;
; SKU fixupvar
; should uniquely identify the device you are building
; A 6 byte number unique in the Ethernet MAC address space
; dwSKUInfo is the first 4 bytes
; dwSKUInfoLW is the last 2 bytes (LW = LoWord)
;
dwSKUInfo 00000000 57454350 FIXUPVAR
IF _TGTPROJ=wpc
dwSKUInfoLW 00000000 00005750 FIXUPVAR
ENDIF
IF _TGTPROJ=smartfon
dwSKUInfoLW 00000000 00005450 FIXUPVAR
ENDIF
#else
#if defined IMGRAM16
; 16 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 00400000 RAM
#elif defined IMGRAM32
; 32 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 01400000 RAM
#elif defined IMGRAM64
; 64 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 03400000 RAM
#elif defined IMGRAM128
; 128 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 07100000 RAM
nk.exe:dwOEMTotalRAM 0 08000000 FIXUPVAR
#elif defined IMGRAM256
; 256 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 0EB00000 RAM
nk.exe:dwOEMTotalRAM 0 10000000 FIXUPVAR
#elif defined IMGRAM512
; 512 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 1E000000 RAM
nk.exe:dwOEMTotalRAM 0 20000000 FIXUPVAR
#else
; 28 MB of RAM (default) (note: AUTOSIZE will adjust boundary)
; This value will cause the RAM auto-detect feature to trigger
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 01000000 RAM
#endif
DMA 80100000 00030000 RESERVED ; Native DMA reserved.
BOOTARGS 801FFF00 00000100 RESERVED ; Boot arguments
EDBG_DMA 80200000 00020000 RESERVED ; EDBG DMA buffer
#endif (defined IMGPPC || defined IMGTPC)
; Hard reset the system on a software reboot?
;
IF BSP_HARDRESET
nk.exe:pdwHardReset 00000000 1 FIXUPVAR
ELSE
nk.exe:pdwHardReset 00000000 0 FIXUPVAR
ENDIF
; This fix-up variable is a bitfield that can be used to initialize
; the OAL debug zones per oal_log.h. Uncomment the line and
; change the hexadecimal bits to enable the desired zones. The
; default value (0x0000000B) enables the OAL_LOG_ERROR,
; OAL_LOG_WARN, and OAL_LOG_INFO zones, and will be used by
; OEMInit if the line remains commented out.
;
; nk.exe:initialOALLogZones 00000000 0x0000000B FIXUPVAR
; This fix-up variable is a bitfield that can be used to initialize
; the Kernel debug zones per kernel.h. Uncomment the line and
; change the hexadecimal bits to enable the desired zones. The
; default value (0x00000100) enables the ZONE_DEBUG.
;
; kernel.dll:initialKernelLogZones 00000000 00000110 FIXUPVAR
; This fix-up variable determines the amount of memory the BSP
; reserves for Watson dump capture. The current default behavior is
; to default to zero unless the image has SYSGEN_WATSON_DMPGEN
; defined. The default size is 300KiB.
;
; @CESYSGEN IF CE_MODULES_OSAXST0
; @CESYSGEN ENDIF
CONFIG
AUTOSIZE=ON
; @CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
; @CESYSGEN ENDIF NK_NKNOCOMP
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
KERNELFIXUPS=ON
IF IMGPERSISTENTSTORAGE
FSRAMPERCENT=0x00000010
ENDIF
IF IMGTINYFSRAM
FSRAMPERCENT=0x00000080
ENDIF
IF IMG_SMARTFON_TINYFS
FSRAMPERCENT=0x000000ff
ENDIF
;
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0010 Trust Module only
;
IF IMGTRUSTROMONLY
ROMFLAGS=10
ELSE
ROMFLAGS=0
ENDIF
IF _TGTCPUFAMILY=x86
ROMOFFSET=80000000