⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.bib

📁 老外的一个开源项目
💻 BIB
字号:
; Copyright (c) David Vescovi.  All rights reserved.
; Part of Project DrumStix
; Windows Embedded Developers Interest Group (WE-DIG) community project.
; http://www.we-dig.org
; 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 -+
;            | GAP (reserved for future)
; 8002.0000 -+
;            | Bootloader Code (256KB)
; 8006.0000 -+
;            | GAP (reserved for future)
; 800B.0000 -+
;            | Bootloader RAM
; 800F.F000 -+
;            | ARGS (4KB)
; 8010.0000 -+
;            |
;            | OS (NK) Code (48MB)
;            |
; 8310.0000 -+   **auto-size**
;            |
;            | OS (NK) RAM (15MB)
;            |
; 8400.0000 -+
;

MEMORY

;   Name     Start     Size      Type
;   -------  --------  --------  ----
    RSVD     80000000  000FF000  RESERVED
    ARGS     800FF000  00001000  RESERVED
    NK       80100000  03000000  RAMIMAGE
    RAM      83100000  00F00000  RAM
    
; Reserve ZBANK virtual block (No physical memory
; is required to back this virtual range).
;
    ZBANK    9A500000  00100000  RESERVED

; 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

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

;
; 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

IF IMGFLASH
; this number is calculated from NK start and the 
; virtual noncashed address of NK in FLASH
    ROMOFFSET=3C960000
	ROMSIZE=01000000
ELSE
;JTAG RAM based version
	ROMOFFSET=20000000
	ROMSIZE=04000000
ENDIF
	ROMSTART=80100000
	ROMWIDTH=32
	SRE=ON

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -