early-access version 3382
This commit is contained in:
parent
0f06016cc7
commit
40ea95d66d
4 changed files with 16 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3381.
|
This is the source code for early-access 3382.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -370,7 +370,7 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std:
|
||||||
// Initialize proces address space
|
// Initialize proces address space
|
||||||
if (const Result result{page_table.InitializeForProcess(
|
if (const Result result{page_table.InitializeForProcess(
|
||||||
metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application,
|
metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application,
|
||||||
0x8000000, code_size, &kernel.GetSystemSystemResource(), resource_limit)};
|
0x8000000, code_size, &kernel.GetAppSystemResource(), resource_limit)};
|
||||||
result.IsError()) {
|
result.IsError()) {
|
||||||
R_RETURN(result);
|
R_RETURN(result);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1146,6 +1146,14 @@ const KMemoryManager& KernelCore::MemoryManager() const {
|
||||||
return *impl->memory_manager;
|
return *impl->memory_manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
KSystemResource& KernelCore::GetAppSystemResource() {
|
||||||
|
return *impl->app_system_resource;
|
||||||
|
}
|
||||||
|
|
||||||
|
const KSystemResource& KernelCore::GetAppSystemResource() const {
|
||||||
|
return *impl->app_system_resource;
|
||||||
|
}
|
||||||
|
|
||||||
KSystemResource& KernelCore::GetSystemSystemResource() {
|
KSystemResource& KernelCore::GetSystemSystemResource() {
|
||||||
return *impl->sys_system_resource;
|
return *impl->sys_system_resource;
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,12 @@ public:
|
||||||
/// Gets the virtual memory manager for the kernel.
|
/// Gets the virtual memory manager for the kernel.
|
||||||
const KMemoryManager& MemoryManager() const;
|
const KMemoryManager& MemoryManager() const;
|
||||||
|
|
||||||
|
/// Gets the application resource manager.
|
||||||
|
KSystemResource& GetAppSystemResource();
|
||||||
|
|
||||||
|
/// Gets the application resource manager.
|
||||||
|
const KSystemResource& GetAppSystemResource() const;
|
||||||
|
|
||||||
/// Gets the system resource manager.
|
/// Gets the system resource manager.
|
||||||
KSystemResource& GetSystemSystemResource();
|
KSystemResource& GetSystemSystemResource();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue