mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 16:45:47 +00:00
vm_manager: Add support for storing and getting main code region
Used as root for one region of cheats, set by loader
This commit is contained in:
parent
81302571bf
commit
df783dac1f
2 changed files with 28 additions and 0 deletions
|
@ -480,6 +480,14 @@ public:
|
|||
/// Gets the total size of the new map region in bytes.
|
||||
u64 GetNewMapRegionSize() const;
|
||||
|
||||
void SetMainCodeRegion(VAddr begin, VAddr end);
|
||||
|
||||
VAddr GetMainCodeRegionBaseAddress() const;
|
||||
|
||||
VAddr GetMainCodeRegionEndAddress() const;
|
||||
|
||||
u64 GetMainCodeRegionSize() const;
|
||||
|
||||
/// Gets the base address of the TLS IO region.
|
||||
VAddr GetTLSIORegionBaseAddress() const;
|
||||
|
||||
|
@ -598,6 +606,9 @@ private:
|
|||
VAddr new_map_region_base = 0;
|
||||
VAddr new_map_region_end = 0;
|
||||
|
||||
VAddr main_code_region_base = 0;
|
||||
VAddr main_code_region_end = 0;
|
||||
|
||||
VAddr tls_io_region_base = 0;
|
||||
VAddr tls_io_region_end = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue