config.bib

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· BIB 代码 · 共 99 行

BIB
99
字号
MEMORY
IF IMGFLASH !
	IF IMGEBOOT
		NK    	80020000  00fe0000 RAMIMAGE     ; length = total - amount used e.g. 0xFE0000 + 0x20000 = 0x1000000
		EDBG	8C120000  00020000 RESERVED	; 2000 for EBOOT - 3 Client memory pools of 24K
		RAM	8C140000  00EB0000 RAM		; length = total - amount used 
		ENDIF		
	IF IMGEBOOT !
		NK    	80000000  01000000  RAMIMAGE	; If not using flash, we use half our Ram to simulate
		RAM   	8C120000  00ED0000  RAM	; length is total - used, e.g. 1000000 - 66000 - 0xc1000
	ENDIF   
ENDIF

IF IMGFLASH 
	IF IMGEBOOT
		NK    	84020000  01fe0000 RAMIMAGE     ; length = total - amount used e.g. 0xFE0000 + 0x20000 = 0x1000000
		EDBG	8C120000  00020000 RESERVED	; 2000 for EBOOT - 3 Client memory pools of 24K
		RAM	8C140000  00EB0000 RAM		; length = total - amount used 
		ENDIF		
	IF IMGEBOOT !
		NK    	84000000  02000000  RAMIMAGE
		RAM   	8C120000  00ED0000  RAM	; length is total - used, e.g. 1000000 - 66000 - 0xc1000
	ENDIF   
ENDIF

; Common RAM areas
   AUD_DMA    8c002000  00006000  RESERVED
   DISPLAY    8c008000  00050000  RESERVED
   SLEEP_SAV  8c058000  00001000  RESERVED
   DRV_GLB    8c059000  00001000  RESERVED
   USB_DMA    8c05A000  00007000  RESERVED
   SER_DMA    8c062000  00002000  RESERVED
   IR_DMA     8c064000  00002000  RESERVED
   TV_VIDEO   8c066000  000A8000  RESERVED

CONFIG
   COMPRESSION=ON
IF IMGPROFILER   
   PROFILE=ON
ENDIF
IF IMGPROFILER !
   PROFILE=OFF
ENDIF
   KERNELFIXUPS=ON

;
; ROMFLAGS is a bitmask of options for the kernel
;	ROMFLAGS	0x0001	Disallow Paging
;	ROMFLAGS	0x0002	Not all KMode
;	ROMFLAGS	0x0004	CELog enable 
;
IF IMGCELOGENABLE !
   IF IMGNOTALLKMODE
      ROMFLAGS=2
   ENDIF
   IF IMGNOTALLKMODE !
      ROMFLAGS=0
   ENDIF
ENDIF

IF IMGCELOGENABLE
   IF IMGNOTALLKMODE
      ROMFLAGS=6
   ENDIF
   IF IMGNOTALLKMODE !
      ROMFLAGS=4
   ENDIF
ENDIF

IF IMGFLASH !
    ROMSTART=80000000
    ROMWIDTH=32
ENDIF

IF COUNTRY=JAPAN
;
; Images from Japan are somewhat RAM limited.  Reserve enough for Working ram
;
; byte 0 = # 4K chunks/Mbyte of RAM for file system first 1Mbyte 0-255
; byte 1 = # 4K chunks/Mbyte of RAM for file system 1-2Mbytes
; byte 2 = # 4K chunks/Mbyte of RAM for file system 3-5Mbytes
; byte 3 = # 4K chunks/Mbyte of RAM for file system > 5Mbytes
; Example:
;	FSRAMPERCENT=0x10203040
;	Would specify 64-4K chunks/Mbyte for 0-1Mbyte, 48-4K chunks/Mbyte for 1-2Mbytes
;	32-4K chunks/Mbyte for 3-5Mbytes and 16-4K chunks/Mbyte for >5Mbytes

	FSRAMPERCENT=0x60606060
ENDIF

IF IMGFLASH
    ROMSTART=84000000
    ROMWIDTH=32
ENDIF


	ROMSIZE=001000000

⌨️ 快捷键说明

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