Used by allocators for memory configuration. More...
Public Member Functions | |
MemoryManagerDefaults () noexcept | |
Default constructor. | |
MemoryManagerDefaults (uintptr_t uOnion, uintptr_t uGarlic) noexcept | |
Initialization constructor. | |
BURGER_INLINE uintptr_t | get_onion_pages () const noexcept |
BURGER_INLINE uintptr_t | get_garlic_pages () const noexcept |
BURGER_INLINE uintptr_t | get_garlic_in_bytes () const noexcept |
BURGER_INLINE uintptr_t | get_onion_in_bytes () const noexcept |
BURGER_INLINE uintptr_t | get_total_in_bytes () const noexcept |
BURGER_INLINE void | set_garlic_in_bytes (uintptr_t bytes) noexcept |
BURGER_INLINE void | set_onion_in_bytes (uintptr_t bytes) noexcept |
Static Public Attributes | |
static const uintptr_t | kPageSize = 64U * 1024U |
Page size to allocate. | |
Private Attributes | |
uintptr_t | m_uOnionPages |
Number of System memory page (Onion) | |
uintptr_t | m_uGarlicPages |
Number of Video memory pages (Garlic) | |
Used by allocators for memory configuration.
The PS4 has two chunks of memory, System, and Video. This class is used by allocators to configure the number of pages to manage for both.
|
inlinenoexcept |
Default constructor.
|
inlinenoexcept |
Initialization constructor.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
static |
Page size to allocate.
|
private |
Number of Video memory pages (Garlic)
|
private |
Number of System memory page (Onion)