kern: fully implement KSharedMemory (and Svcs)
This commit is contained in:
1 parent
81db43932d
commit
7aa3120f60
7 files changed
+314
-7
No files matched your search
@@ -345,6 +345,8 @@ namespace ams::kern {
|
||||
|
||||
return (this->current_heap_end - this->heap_region_start) + this->mapped_physical_memory_size;
|
||||
}
|
||||
|
||||
u32 GetAllocateOption() const { return this->allocate_option; }
|
||||
public:
|
||||
static ALWAYS_INLINE KVirtualAddress GetLinearMappedVirtualAddress(KPhysicalAddress addr) {
|
||||
return KMemoryLayout::GetLinearVirtualAddress(addr);
|
||||
|
||||
Reference in new issue
Block a user