Memory: Use a table based lookup scheme to read from memory regions

This commit is contained in:
Yuri Kunde Schlesner 2015-05-12 23:38:56 -03:00
parent 52158c1b8d
commit dd4430609a
5 changed files with 167 additions and 121 deletions

View file

@ -8,6 +8,10 @@
namespace Memory {
/**
* Page size used by the ARM architecture. This is the smallest granularity with which memory can
* be mapped.
*/
const u32 PAGE_SIZE = 0x1000;
/// Physical memory regions as seen from the ARM11