mirror of
https://github.com/SysRay/psOff_public.git
synced 2025-02-25 08:51:11 +00:00
format
This commit is contained in:
parent
d99400cfac
commit
fd5ca5531e
@ -10,7 +10,7 @@ class IPhysicalMemory {
|
||||
CLASS_NO_COPY(IPhysicalMemory);
|
||||
|
||||
protected:
|
||||
IPhysicalMemory() = default;
|
||||
IPhysicalMemory() = default;
|
||||
uint64_t m_availableSize = 5000000000llu; // todo get from system memory
|
||||
size_t m_allocSize = 0;
|
||||
|
||||
@ -46,7 +46,6 @@ class IFlexibleMemory {
|
||||
public:
|
||||
virtual ~IFlexibleMemory() = default;
|
||||
|
||||
|
||||
void setConfiguredSize(uint64_t size) { m_configuresSize = size; }
|
||||
|
||||
uint64_t size() const { return m_configuresSize; }
|
||||
@ -83,6 +82,6 @@ __APICALL void registerMapping(uint64_t vaddr, MappingType type);
|
||||
*/
|
||||
__APICALL MappingType unregisterMapping(uint64_t vaddr);
|
||||
|
||||
__APICALL IPhysicalMemory& accessPysicalMemory();
|
||||
__APICALL IPhysicalMemory& accessPysicalMemory();
|
||||
__APICALL IFlexibleMemory& accessFlexibleMemory();
|
||||
#undef __APICALL
|
Loading…
x
Reference in New Issue
Block a user