diff --git a/exosphere/program/source/smc/secmon_smc_info.cpp b/exosphere/program/source/smc/secmon_smc_info.cpp index 9c1e5ae2..12ee3810 100644 --- a/exosphere/program/source/smc/secmon_smc_info.cpp +++ b/exosphere/program/source/smc/secmon_smc_info.cpp @@ -126,9 +126,9 @@ namespace ams::secmon::smc { u32 GetMemoryMode() { /* Unless development function is enabled, we're 4 GB. */ - u32 memory_mode = pkg1::MemoryMode_4GB; + u32 memory_mode = pkg1::MemoryMode_6GB; - if (const auto &bcd = GetBootConfig().data; bcd.IsDevelopmentFunctionEnabled()) { + if (const auto &bcd = GetBootConfig().data; 1) { memory_mode = GetMemoryMode(bcd.GetMemoryMode()); } @@ -136,10 +136,10 @@ namespace ams::secmon::smc { } u32 GetKernelConfiguration() { - pkg1::MemorySize memory_size = pkg1::MemorySize_4GB; + pkg1::MemorySize memory_size = pkg1::MemorySize_6GB; util::BitPack32 value = {}; - if (const auto &bcd = GetBootConfig().data; bcd.IsDevelopmentFunctionEnabled()) { + if (const auto &bcd = GetBootConfig().data; 1) { memory_size = GetMemorySize(GetMemoryMode(bcd.GetMemoryMode())); value.Set(bcd.GetKernelFlags1()); @@ -423,9 +423,7 @@ namespace ams::secmon::smc { /* For exosphere's usage. */ pkg1::MemorySize GetPhysicalMemorySize() { - const auto dram_id = fuse::GetDramId(); - AMS_ABORT_UNLESS(dram_id < fuse::DramId_Count); - return DramIdToMemorySize[dram_id]; + return pkg1::MemorySize_6GB; } } diff --git a/libraries/libexosphere/source/fuse/fuse_api.cpp b/libraries/libexosphere/source/fuse/fuse_api.cpp index 7e0b4935..47a9c51e 100644 --- a/libraries/libexosphere/source/fuse/fuse_api.cpp +++ b/libraries/libexosphere/source/fuse/fuse_api.cpp @@ -301,7 +301,7 @@ namespace ams::fuse { } DramId GetDramId() { - return static_cast(util::BitPack32{GetCommonOdmWord(4)}.Get()); + return DramId_IcosaSamsung6GB; } HardwareType GetHardwareType() {