;//之前的 ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; ; Use of this source code is subject to the terms of the Microsoft end-user ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. ; If you did not accept the terms of the EULA, you are not authorized to use ; this source code. For a copy of the EULA, please see the LICENSE.RTF on your ; install media. ; ; Memory Map ; ---------- ; ; 8000.0000 -+ ; | Bootloader Stack (64KB) ; 8001.0000 -+ ; | Bootloader RAM (64KB) ; 8002.0000 -+ ; | Bootloader Code (256KB) ; 8006.0000 -+ ; | GAP (reserved for future) ; 800F.F000 -+ ; | ARGS (4KB) ; 8010.0000 -+ ; | ; | OS (NK) Code (DEBUG: 37MB, RELEASE: 32MB) ; | ; 8260.0000 -+ **auto-size** ; | ; | OS (NK) RAM (DEBUG: 23MB, RELEASE: 32MB) ; | ; 8400.0000 -+ ;
MEMORY ; NK name #define NKNAME NK
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
ROMSTART=$(NKSTART) ROMWIDTH=32 ROMSIZE=$(NKLEN)
; ; 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
//////////////////////////////////////////////////////////////////////////////////////////////////// ;//改动的 ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; ; Use of this source code is subject to the terms of the Microsoft end-user ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. ; If you did not accept the terms of the EULA, you are not authorized to use ; this source code. For a copy of the EULA, please see the LICENSE.RTF on your ; install media. ; ; Memory Map ; ---------- ; ; 8000.0000 -+ ; | Bootloader Stack (64KB) ; 8001.0000 -+ ; | Bootloader RAM (64KB) ; 8002.0000 -+ ; | Bootloader Code (256KB) ; 8006.0000 -+ ; | GAP (reserved for future) ; 800F.F000 -+ ; | ARGS (4KB) ; 8010.0000 -+ ; | ; | OS (NK) Code (DEBUG: 37MB, RELEASE: 32MB) ; | ; 8260.0000 -+ **auto-size** ; | ; | OS (NK) RAM (DEBUG: 23MB, RELEASE: 32MB) ; | ; 8400.0000 -+ ;
MEMORY ; NK name #define NKNAME NK
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
ROMSTART=$(NKSTART) ROMWIDTH=32 ROMSIZE=$(NKLEN)
; ; 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