From ae99574b6dd2f21960bd42e0bb9a1978e18413d4 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 17 Apr 2014 18:40:42 -0400 Subject: cleaned up memory interfaces a lot, removed some hackish stuff --- src/core/mem_map.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/mem_map.h') diff --git a/src/core/mem_map.h b/src/core/mem_map.h index d0308fa5..82cfdece 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h @@ -17,8 +17,7 @@ enum { MEM_VRAM_SIZE = 0x00600000, ///< VRAM size MEM_DSP_SIZE = 0x00080000, ///< DSP memory size MEM_AXI_WRAM_SIZE = 0x00080000, ///< AXI WRAM size - MEM_FCRAM_SIZE = 0x08000000, ///< FCRAM size... Really 0x07E00000, but power of 2 - // works much better + MEM_FCRAM_SIZE = 0x08000000, ///< FCRAM size MEM_SCRATCHPAD_SIZE = 0x00004000, ///< Typical stack size - TODO: Read from exheader MEM_VRAM_MASK = 0x007FFFFF, @@ -52,7 +51,6 @@ extern u8 *g_base; // 32-bit: Same as the corresponding physical/virtual pointers. extern u8* g_fcram; ///< Main memory extern u8* g_vram; ///< Video memory (VRAM) -extern u8* g_scratchpad; ///< Stack memory void Init(); void Shutdown(); -- cgit v1.2.3