;//之前的<br />;<br />; Copyright (c) Microsoft Corporation. All rights reserved.<br />;<br />;<br />; Use of this source code is subject to the terms of the Microsoft end-user<br />; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.<br />; If you did not accept the terms of the EULA, you are not authorized to use<br />; this source code. For a copy of the EULA, please see the LICENSE.RTF on your<br />; install media.<br />;<br />; Memory Map<br />; ----------<br />;<br />; 8000.0000 -+<br />; | Bootloader Stack (64KB)<br />; 8001.0000 -+<br />; | Bootloader RAM (64KB)<br />; 8002.0000 -+<br />; | Bootloader Code (256KB)<br />; 8006.0000 -+<br />; | GAP (reserved for future)<br />; 800F.F000 -+<br />; | ARGS (4KB)<br />; 8010.0000 -+<br />; |<br />; | OS (NK) Code (DEBUG: 37MB, RELEASE: 32MB)<br />; |<br />; 8260.0000 -+ **auto-size**<br />; |<br />; | OS (NK) RAM (DEBUG: 23MB, RELEASE: 32MB)<br />; |<br />; 8400.0000 -+<br />;<br /><br />MEMORY<br /> ; NK name<br /> #define NKNAME NK<br /><br />IF WINCEDEBUG=debug<br /> ; NK Start address length = 40M<br /> #define NKSTART 80100000<br /> #define NKLEN 02800000<br /> <br /> #define RAMSTART 82900000<br /> #define RAMLEN 01700000 <br />ELSE<br /> ; length = 30M<br /> #define NKSTART 80100000<br /> #define NKLEN 01E00000<br /> <br /> #define RAMSTART 81F00000<br /> #define RAMLEN 02100000 <br />ENDIF<br /><br />; Name Start Size Type<br />; ------- -------- -------- ----<br /> RSVD 80000000 00050000 RESERVED<br /> EPKTBUF 80050000 00040000 RESERVED<br /> RSVD 80090000 0006F000 RESERVED<br /> ARGS 800FF000 00001000 RESERVED<br /><br /> $(NKNAME) $(NKSTART) $(NKLEN) RAMIMAGE<br /> RAM $(RAMSTART) $(RAMLEN) RAM<br /> <br />; Reserve ZBANK virtual block (No physical memory<br />; is required to back this virtual range).<br />;<br /> ZBANK 96500000 00100000 RESERVED<br /><br /><br />CONFIG<br /><br /> AUTOSIZE=ON<br /> KERNELFIXUPS=ON<br /><br />; @CESYSGEN IF !NK_NKNOCOMP<br /> COMPRESSION=ON<br />; @CESYSGEN ENDIF !NK_NKNOCOMP<br />; @CESYSGEN IF NK_NKNOCOMP<br /> COMPRESSION=OFF<br />; @CESYSGEN ENDIF NK_NKNOCOMP<br /><br />IF IMGPROFILER <br /> PROFILE=ON<br />ELSE<br /> PROFILE=OFF<br />ENDIF<br /><br /> ROMSTART=$(NKSTART)<br /> ROMWIDTH=32<br /> ROMSIZE=$(NKLEN)<br /><br />;<br />; ROMFLAGS is a bitmask of options for the kernel<br />; ROMFLAGS 0x0001 Disallow Paging<br />; ROMFLAGS 0x0002 Not all KMode<br />; ROMFLAGS 0x0010 Trust Module only<br />;<br />IF IMGTRUSTROMONLY<br /> IF IMGNOTALLKMODE<br /> ROMFLAGS=12<br /> ELSE<br /> ROMFLAGS=10<br /> ENDIF<br />ELSE<br /> IF IMGNOTALLKMODE<br /> ROMFLAGS=02<br /> ELSE<br /> ROMFLAGS=00<br /> ENDIF<br />ENDIF<br /><br />////////////////////////////////////////////////////////////////////////////////////////////////////<br />;//改动的<br />;<br />; Copyright (c) Microsoft Corporation. All rights reserved.<br />;<br />;<br />; Use of this source code is subject to the terms of the Microsoft end-user<br />; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.<br />; If you did not accept the terms of the EULA, you are not authorized to use<br />; this source code. For a copy of the EULA, please see the LICENSE.RTF on your<br />; install media.<br />;<br />; Memory Map<br />; ----------<br />;<br />; 8000.0000 -+<br />; | Bootloader Stack (64KB)<br />; 8001.0000 -+<br />; | Bootloader RAM (64KB)<br />; 8002.0000 -+<br />; | Bootloader Code (256KB)<br />; 8006.0000 -+<br />; | GAP (reserved for future)<br />; 800F.F000 -+<br />; | ARGS (4KB)<br />; 8010.0000 -+<br />; |<br />; | OS (NK) Code (DEBUG: 37MB, RELEASE: 32MB)<br />; |<br />; 8260.0000 -+ **auto-size**<br />; |<br />; | OS (NK) RAM (DEBUG: 23MB, RELEASE: 32MB)<br />; |<br />; 8400.0000 -+<br />;<br /><br />MEMORY<br /> ; NK name<br /> #define NKNAME NK<br /><br />IF WINCEDEBUG=debug<br /> ; NK Start address length = 40M<br /> #define NKSTART 80100000<br /> #define NKLEN 02800000<br /> <br /> #define RAMSTART 82900000<br /> #define RAMLEN 01700000 <br />ELSE<br /> ; length = 30M<br /> #define NKSTART 80100000<br /> #define NKLEN 02800000;改动<br /> <br /> #define RAMSTART 82900000;改动<br /> #define RAMLEN 02400000;改动 <br />ENDIF<br /><br />; Name Start Size Type<br />; ------- -------- -------- ----<br /> RSVD 80000000 00050000 RESERVED<br /> EPKTBUF 80050000 00040000 RESERVED<br /> RSVD 80090000 0006F000 RESERVED<br /> ARGS 800FF000 00001000 RESERVED<br /><br /> $(NKNAME) $(NKSTART) $(NKLEN) RAMIMAGE<br /> RAM $(RAMSTART) $(RAMLEN) RAM<br /> <br />; Reserve ZBANK virtual block (No physical memory<br />; is required to back this virtual range).<br />;<br /> ZBANK 96500000 00100000 RESERVED<br /><br /><br />CONFIG<br /><br /> AUTOSIZE=ON<br /> KERNELFIXUPS=ON<br /><br />; @CESYSGEN IF !NK_NKNOCOMP<br /> COMPRESSION=ON<br />; @CESYSGEN ENDIF !NK_NKNOCOMP<br />; @CESYSGEN IF NK_NKNOCOMP<br /> COMPRESSION=OFF<br />; @CESYSGEN ENDIF NK_NKNOCOMP<br /><br />IF IMGPROFILER <br /> PROFILE=ON<br />ELSE<br /> PROFILE=OFF<br />ENDIF<br /><br /> ROMSTART=$(NKSTART)<br /> ROMWIDTH=32<br /> ROMSIZE=$(NKLEN)<br /><br />;<br />; ROMFLAGS is a bitmask of options for the kernel<br />; ROMFLAGS 0x0001 Disallow Paging<br />; ROMFLAGS 0x0002 Not all KMode<br />; ROMFLAGS 0x0010 Trust Module only<br />;<br />IF IMGTRUSTROMONLY<br /> IF IMGNOTALLKMODE<br /> ROMFLAGS=12<br /> ELSE<br /> ROMFLAGS=10<br /> ENDIF<br />ELSE<br /> IF IMGNOTALLKMODE<br /> ROMFLAGS=02<br /> ELSE<br /> ROMFLAGS=00<br /> ENDIF<br />ENDIF<br /><br />
|