Change pageSize and pageMask to usize from u32

This commit is contained in:
Eryn Wells 2016-04-14 01:37:28 -04:00
parent 9f115c3dea
commit 3d0ee684ba
2 changed files with 4 additions and 4 deletions

View file

@ -57,8 +57,8 @@ MemoryManager::initializeGDT()
namespace memory { namespace memory {
const u32 pageSize = 4096; const usize pageSize = 4096;
const u32 pageMask = pageSize - 1; const usize pageMask = pageSize - 1;
} /* namespace memory */ } /* namespace memory */

View file

@ -32,8 +32,8 @@ private:
namespace memory { namespace memory {
extern const u32 pageSize; extern const usize pageSize;
extern const u32 pageMask; extern const usize pageMask;
/** Align to the nearest page boundary below `addr`. */ /** Align to the nearest page boundary below `addr`. */
inline u32 inline u32