mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-02 21:41:31 +00:00
ppcmmu: Make sure dummy page is 8 byte aligned.
This commit is contained in:
parent
aed74479fd
commit
bc5153dd4a
|
@ -367,7 +367,7 @@ uint64_t UnmappedVal = -1ULL;
|
||||||
TLBEntry UnmappedMem = {TLB_INVALID_TAG, TLBFlags::PAGE_NOPHYS, 0, 0};
|
TLBEntry UnmappedMem = {TLB_INVALID_TAG, TLBFlags::PAGE_NOPHYS, 0, 0};
|
||||||
|
|
||||||
// Dummy page for catching writes to physical read-only pages
|
// Dummy page for catching writes to physical read-only pages
|
||||||
static std::array<uint8_t, 4096> dummy_page;
|
static std::array<uint64_t, 4096 / sizeof(uint64_t)> dummy_page;
|
||||||
|
|
||||||
uint8_t CurITLBMode = {0xFF}; // current ITLB mode
|
uint8_t CurITLBMode = {0xFF}; // current ITLB mode
|
||||||
uint8_t CurDTLBMode = {0xFF}; // current DTLB mode
|
uint8_t CurDTLBMode = {0xFF}; // current DTLB mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user