; Copyright (c) 1995-2000 Microsoft Corporation.  All rights reserved.
MEMORY

; Use the following line for running out of ram.
; If IMGMORERAM is set, less memory is used to simulate
; ROM and more is used for RAM.
IF IMGMORERAM
   NK       80200000  00600000  RAMIMAGE
   RAM      80800000  00800000  RAM
ENDIF
IF IMGMORERAM !
; Use the IMGMOREROM setting if you are running out of "ROM" space,
; and you have 32 MB of DRAM installed in your CEPC. (20MB ROM, 10MB RAM)
IF IMGMOREROM
   NK       80200000  01400000  RAMIMAGE
   RAM      81600000  00A00000  RAM
ENDIF
IF IMGMOREROM !

IF IMGMOREROM16
   NK       80200000  00B00000  RAMIMAGE
   RAM      80D00000  00300000  RAM
ENDIF
IF IMGMOREROM16 !
   ; Default case
   NK       80200000  00900000  RAMIMAGE
   RAM      80b00000  00500000  RAM
ENDIF
ENDIF
ENDIF
   FRAMEBUF 800A0000  00020000  RESERVED
   PCMCIABUF 800D0000  00010000  RESERVED
   ; Debug Ethernet packet buffers
   NSCIRDA  801BC000  00020000  RESERVED
   EDBG     801DC000  00020000  RESERVED
   AUDIOBUF 801FC000  00002000  RESERVED
   LOADRBUF 801FFF00  00000100  RESERVED
   RTL8139A 801a0000  00018000  RESERVED        ;//could be machine dependent

CONFIG
   AUTOSIZE=ON
   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 _TGTCPUTYPE=x86
   ROMOFFSET=80000000
ENDIF

IF IMGTINYFSRAM
	FSRAMPERCENT=0x00000080
ENDIF

