mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 01:03:43 -04:00
kern: fully implement KSharedMemory (and Svcs)
This commit is contained in:
parent
81db43932d
commit
7aa3120f60
7 changed files with 314 additions and 7 deletions
|
@ -195,6 +195,8 @@ namespace ams::kern::arch::arm64 {
|
|||
|
||||
size_t GetNormalMemorySize() const { return this->page_table.GetNormalMemorySize(); }
|
||||
|
||||
u32 GetAllocateOption() const { return this->page_table.GetAllocateOption(); }
|
||||
|
||||
KPhysicalAddress GetHeapPhysicalAddress(KVirtualAddress address) const {
|
||||
/* TODO: Better way to convert address type? */
|
||||
return this->page_table.GetHeapPhysicalAddress(address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue