diff options
| author | 2017-09-01 23:10:03 -0400 | |
|---|---|---|
| committer | 2017-09-30 14:28:54 -0400 | |
| commit | f01472a5ffd03b535e8a66bb00d9a7548a0f61bf (patch) | |
| tree | d11874933de837f7ce57ccb259f1f869db70bdb7 /src/core/memory_setup.h | |
| parent | arm: Use 64-bit addressing in a bunch of places. (diff) | |
| download | yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.gz yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.xz yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.zip | |
core: Various changes to support 64-bit addressing.
Diffstat (limited to 'src/core/memory_setup.h')
| -rw-r--r-- | src/core/memory_setup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory_setup.h b/src/core/memory_setup.h index 3fdf3a87d..fc3fda466 100644 --- a/src/core/memory_setup.h +++ b/src/core/memory_setup.h | |||
| @@ -18,7 +18,7 @@ void InitMemoryMap(); | |||
| 18 | * @param size The amount of bytes to map. Must be page-aligned. | 18 | * @param size The amount of bytes to map. Must be page-aligned. |
| 19 | * @param target Buffer with the memory backing the mapping. Must be of length at least `size`. | 19 | * @param target Buffer with the memory backing the mapping. Must be of length at least `size`. |
| 20 | */ | 20 | */ |
| 21 | void MapMemoryRegion(VAddr base, u32 size, u8* target); | 21 | void MapMemoryRegion(VAddr base, u64 size, u8* target); |
| 22 | 22 | ||
| 23 | /** | 23 | /** |
| 24 | * Maps a region of the emulated process address space as a IO region. | 24 | * Maps a region of the emulated process address space as a IO region. |
| @@ -26,7 +26,7 @@ void MapMemoryRegion(VAddr base, u32 size, u8* target); | |||
| 26 | * @param size The amount of bytes to map. Must be page-aligned. | 26 | * @param size The amount of bytes to map. Must be page-aligned. |
| 27 | * @param mmio_handler The handler that backs the mapping. | 27 | * @param mmio_handler The handler that backs the mapping. |
| 28 | */ | 28 | */ |
| 29 | void MapIoRegion(VAddr base, u32 size, MMIORegionPointer mmio_handler); | 29 | void MapIoRegion(VAddr base, u64 size, MMIORegionPointer mmio_handler); |
| 30 | 30 | ||
| 31 | void UnmapRegion(VAddr base, u32 size); | 31 | void UnmapRegion(VAddr base, u64 size); |
| 32 | } | 32 | } |