diff options
Diffstat (limited to 'src/core/mem_map.h')
| -rw-r--r-- | src/core/mem_map.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h index b11f2ea68..1fb77c94a 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h | |||
| @@ -105,18 +105,6 @@ struct MemoryBlock { | |||
| 105 | 105 | ||
| 106 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 106 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 107 | 107 | ||
| 108 | // Base is a pointer to the base of the memory map. Yes, some MMU tricks | ||
| 109 | // are used to set up a full GC or Wii memory map in process memory. on | ||
| 110 | // 32-bit, you have to mask your offsets with 0x3FFFFFFF. This means that | ||
| 111 | // some things are mirrored too many times, but eh... it works. | ||
| 112 | |||
| 113 | // In 64-bit, this might point to "high memory" (above the 32-bit limit), | ||
| 114 | // so be sure to load it into a 64-bit register. | ||
| 115 | extern u8 *g_base; | ||
| 116 | |||
| 117 | // These are guaranteed to point to "low memory" addresses (sub-32-bit). | ||
| 118 | // 64-bit: Pointers to low-mem (sub-0x10000000) mirror | ||
| 119 | // 32-bit: Same as the corresponding physical/virtual pointers. | ||
| 120 | extern u8* g_heap_linear; ///< Linear heap (main memory) | 108 | extern u8* g_heap_linear; ///< Linear heap (main memory) |
| 121 | extern u8* g_heap; ///< Application heap (main memory) | 109 | extern u8* g_heap; ///< Application heap (main memory) |
| 122 | extern u8* g_vram; ///< Video memory (VRAM) | 110 | extern u8* g_vram; ///< Video memory (VRAM) |