diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-09 22:52:15 -0300 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-07-11 23:54:42 -0300 |
commit | 5c5cf2f8e000d1bf4fc12ff20351aa60367cb563 (patch) | |
tree | 2b233263cff7c001506f660373e2364c8e702637 /src/core/mem_map.h | |
parent | 51820691e77b816da7d4d66de68e3c0b79f2781a (diff) |
Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
Diffstat (limited to 'src/core/mem_map.h')
-rw-r--r-- | src/core/mem_map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h index ba50914a8..229ef82c5 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h @@ -6,9 +6,14 @@ #include "common/common_types.h" +namespace Kernel { +class VMManager; +} + namespace Memory { void Init(); +void InitLegacyAddressSpace(Kernel::VMManager& address_space); void Shutdown(); /** |