forked from eden-emu/eden
revert 528c09ae72
This needs to be put aside for now, but may be implemented again later
This commit is contained in:
parent
aeaa9dc2b5
commit
180375673a
2 changed files with 0 additions and 11 deletions
|
@ -228,16 +228,6 @@ Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle
|
||||||
*result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime();
|
*result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime();
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
case InfoType::SystemResourceSize: {
|
|
||||||
LOG_DEBUG(Kernel_SVC, "called info_type={:#x}, info_subtype={:#x}, handle={:#x}", info_id,
|
|
||||||
info_sub_id, handle);
|
|
||||||
|
|
||||||
// VAMM (Virtual Address Memory Manager) typically expects a larger memory size
|
|
||||||
// The value below (512MB) is based on typical system resource allocations
|
|
||||||
*result = 0x20000000; // 512MB in bytes
|
|
||||||
|
|
||||||
R_SUCCEED();
|
|
||||||
}
|
|
||||||
case InfoType::MesosphereCurrentProcess: {
|
case InfoType::MesosphereCurrentProcess: {
|
||||||
// Verify the input handle is invalid.
|
// Verify the input handle is invalid.
|
||||||
R_UNLESS(handle == InvalidHandle, ResultInvalidHandle);
|
R_UNLESS(handle == InvalidHandle, ResultInvalidHandle);
|
||||||
|
|
|
@ -156,7 +156,6 @@ enum class InfoType : u32 {
|
||||||
|
|
||||||
MesosphereMeta = 65000,
|
MesosphereMeta = 65000,
|
||||||
MesosphereCurrentProcess = 65001,
|
MesosphereCurrentProcess = 65001,
|
||||||
SystemResourceSize = 0x1C,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class BreakReason : u32 {
|
enum class BreakReason : u32 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue