mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
More syscalls
This commit is contained in:
@@ -394,6 +394,7 @@ region_info memory_manager::get_region_info(const uint64_t address)
|
||||
result.length = MAX_ALLOCATION_ADDRESS - result.start;
|
||||
result.pemissions = memory_permission::none;
|
||||
result.allocation_base = {};
|
||||
result.allocation_length = result.length;
|
||||
result.is_committed = false;
|
||||
result.is_reserved = false;
|
||||
|
||||
@@ -424,8 +425,9 @@ region_info memory_manager::get_region_info(const uint64_t address)
|
||||
|
||||
result.is_reserved = true;
|
||||
result.allocation_base = entry->first;
|
||||
result.allocation_length = reserved_region.length;
|
||||
result.start = result.allocation_base;
|
||||
result.length = reserved_region.length;
|
||||
result.length = result.allocation_length;
|
||||
|
||||
if (committed_regions.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user