mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 17:34:23 +01:00
Merge pull request #2789 from yuriks/misc-kernel
Trivial no-op additions
This commit is contained in:
commit
c4f0927a62
@ -151,6 +151,8 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) {
|
||||
}
|
||||
|
||||
VAddr Process::GetLinearHeapAreaAddress() const {
|
||||
// Starting from system version 8.0.0 a new linear heap layout is supported to allow usage of
|
||||
// the extra RAM in the n3DS.
|
||||
return kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR;
|
||||
}
|
||||
|
||||
|
@ -55,8 +55,10 @@ enum : PAddr {
|
||||
|
||||
/// Main FCRAM
|
||||
FCRAM_PADDR = 0x20000000,
|
||||
FCRAM_SIZE = 0x08000000, ///< FCRAM size (128MB)
|
||||
FCRAM_SIZE = 0x08000000, ///< FCRAM size on the Old 3DS (128MB)
|
||||
FCRAM_N3DS_SIZE = 0x10000000, ///< FCRAM size on the New 3DS (256MB)
|
||||
FCRAM_PADDR_END = FCRAM_PADDR + FCRAM_SIZE,
|
||||
FCRAM_N3DS_PADDR_END = FCRAM_PADDR + FCRAM_N3DS_SIZE,
|
||||
};
|
||||
|
||||
/// Virtual user-space memory regions
|
||||
|
Loading…
Reference in New Issue
Block a user