#
# SC Memory Map
#
# Defined here because these values are shared by the makefiles as
# well as the header files.
#

#
# Name of this file for dependency rules
#
SC_ADDR_MAP = $(ROOT)/usr/include/make/SCaddrs

#
# -------------------------------------------------------
# SC segments in SDRAM start at the top of MEM0 space and
# grow downward
# -------------------------------------------------------
#
# Note that in the SDRAM area, the segment alignment is specified
# as 16KB, so the minimum size is typically 48KB (Text+Data+BSS)
#
# 16 bytes for IPC area
MK_IPC_START=0x09fffff0
#
# 128KB for Legacy State Saving
MK_LEGACY_SDRAM_STATE=0x09fe0000
#
# 64KB for Audio RM
MK_AUD_START=0x09fd0000
#
# 128KB for FS BSS
MK_FS_BSS_START=0x09fb0000
# 
# 64KB for USB RM
MK_USB_START=0x09fa0000
#
# 640KB for VN + VNG
MK_VN_START=0x09f00000
#
# 128KB for NC DevMon (shell) process
MK_DEVMON_START=0x09ee0000
#
# 256KB for media player
MK_MEDIA_START=0x09ea0000
#
# 1MB for Shared Area
MK_SHARED_START=0x09da0000
MK_SHARED_SIZE=0x100000
#
# GBA viewer start (2MB below Shared Area)
MK_VIEWER_START=0x09ba0000
#
# Media File Library needs 85KB (rounded up a bit)
MK_MDFILE_START=0x09b88000
#
# NC apps start (not GBA App)
MK_APP_START=0x09000000
#
# Boot1 buffer to load boot2 from the flash
MK_BOOT2_LOAD=0x08f00000
#
# ------------
# DA locations
# ------------
#
# Boot1 copies itself to here to avoid conflict with the SK
MK_BOOT1_START=0x00028000
MK_BOOT1_END=0x00030000
#
# 32KB for Legacy State Saving
MK_LEGACY_DA_STATE=0x00028000
#
# 44KB for Eticket Services RM
MK_ET_START=0x0001d000
#
# 32KB for FS code and data
MK_FS_START=0x00015000
#
# 84KB for SK at the bottom of DA space (exception vector table)
MK_SK_START=0x00000000
