📄 config.bib
字号:
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
MEMORY
;
; NK and RAM region definitions.
;
IF IMGFLASH !
#define NKNAME NK
#define NKSTART 80070000
#define NKLEN 02000000
#define RAMNAME RAM
#define RAMSTART 82070000
#define RAMLEN 01E7F000
ELSE
#define NKNAME NK
#define NKSTART 88001000
#define NKLEN 05fff000 // 96mb less 4k
#define RAMNAME RAM
#define RAMSTART 80070000
#define RAMLEN 03E7F000
ENDIF ; IMGFLASH
PTS 80000000 00020000 RESERVED
ARGS 80020000 00000800 RESERVED
SLEEPSTATE 80020800 00000800 RESERVED
EBOOT 80021000 00040000 RESERVED
EBOOT_STACK 80061000 00004000 RESERVED
EBOOT_RAM 80065000 00006000 RESERVED
$(NKNAME) $(NKSTART) $(NKLEN) RAMIMAGE
$(RAMNAME) $(RAMSTART) $(RAMLEN) RAM
EFSBUF 83EEF000 00011000 RESERVED
DISPLAY 83F00000 00100000 RESERVED
; For Windows CE, reserve FLASH only if IMGFLASH=1
; For Windows Mobile, always reserve it, for IMGFS
IF IMGFLASH !
FLASH 88000000 06000000 RESERVED
ENDIF ; !IMGFLASH
IF IMGFLASH
IF IMGTPC
FLASH 88000000 06000000 RESERVED
ENDIF ; IMGTPC
IF IMGPPC
FLASH 88000000 06000000 RESERVED
ENDIF ; IMGPPC
ENDIF ; IMGFLASH
EBOOT_CONFIG 880F0000 00010000 RESERVED
; @CESYSGEN IF CE_MODULES_RAMFMD
IF IMG_RESERVERAMFMD
; Set this variable to the size, in bytes, of memory discovered by
; OEMExtensionDRAM to reserve for the RAM FMD persistent storage
; driver. This value must be a multiple of 4K. Due to limitations
; in the implementation of RAMFMD, this value must be less than or
; equal to 32MB.
g_dwExtensionRAMFMDSize 00000000 02000000 FIXUPVAR
ENDIF ; IMG_RESERVERAMFMD
; @CESYSGEN ENDIF CE_MODULES_RAMFMD
; 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 hexidecimal 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 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
nk.exe:dwOEMDrWatsonSize 00000000 0x4B000 FIXUPVAR
; @CESYSGEN ENDIF
CONFIG
; @CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
; @CESYSGEN ENDIF NK_NKNOCOMP
KERNELFIXUPS=ON
; Multi-Region
;
IF IMGFLASH !
AUTOSIZE=ON ; AUTOSIZE is used to enable the following flags.
ENDIF
DLLADDR_AUTOSIZE=ON
;AUTOSIZE_ROMGAP=10000
;AUTOSIZE_DLLADDRGAP=0
;AUTOSIZE_DLLDATAADDRGAP=0
;AUTOSIZE_DLLCODEADDRGAP=0
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
IF IMGFLASH
ROMSTART=88000000
ROMSIZE= 06000000
ROMWIDTH=32
ENDIF ; IMGFLASH
;
; 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -