Files
Panda3DS/include/kernel/config_mem.hpp
T

42 lines
986 B
C++
Raw Normal View History

#pragma once
#include "helpers.hpp"
// Configuration memory addresses
namespace ConfigMem {
enum : u32 {
KernelVersionMinor = 0x1FF80002,
2022-09-21 22:49:22 +03:00
KernelVersionMajor = 0x1FF80003,
2023-01-03 01:32:50 +02:00
SyscoreVer = 0x1FF80010,
EnvInfo = 0x1FF80014,
2024-12-10 18:52:53 +02:00
PrevFirm = 0x1FF80016,
2022-09-24 03:57:21 +03:00
AppMemAlloc = 0x1FF80040,
FirmUnknown = 0x1FF80060,
FirmRevision = 0x1FF80061,
FirmVersionMinor = 0x1FF80062,
FirmVersionMajor = 0x1FF80063,
FirmSyscoreVer = 0x1FF80064,
FirmSdkVer = 0x1FF80068,
2023-03-29 01:36:03 +03:00
HardwareType = 0x1FF81004,
2022-10-11 23:55:38 +03:00
Datetime0 = 0x1FF81020,
2023-07-11 14:38:19 -05:00
WifiMac = 0x1FF81060,
WifiLevel = 0x1FF81066,
2023-03-18 20:44:17 +02:00
NetworkState = 0x1FF81067,
2023-08-03 13:30:02 +03:00
SliderState3D = 0x1FF81080,
2023-01-06 00:32:02 +02:00
LedState3D = 0x1FF81084,
BatteryState = 0x1FF81085,
2023-04-15 02:05:52 +03:00
Unknown1086 = 0x1FF81086,
2023-07-11 14:38:19 -05:00
HeadphonesConnectedMaybe = 0x1FF810C0 // TODO: What is actually stored here?
};
2023-03-29 01:36:03 +03:00
// Shows what type of hardware we're running on
namespace HardwareCodes {
2024-12-10 18:52:53 +02:00
enum : u8 {
Product = 1,
Devboard = 2,
Debugger = 3,
Capture = 4,
};
2023-03-29 01:36:03 +03:00
}
2023-07-11 14:38:19 -05:00
} // namespace ConfigMem