|
|
|
@ -559,28 +559,28 @@ void GDBStub::HandleVCont(std::string_view command, std::vector<DebuggerAction>&
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
constexpr std::array<std::pair<const char*, Kernel::Svc::MemoryState>, 22> MemoryStateNames{{
|
|
|
|
|
{"----- Free -----", Kernel::Svc::MemoryState::Free},
|
|
|
|
|
{"Io ", Kernel::Svc::MemoryState::Io},
|
|
|
|
|
{"Static ", Kernel::Svc::MemoryState::Static},
|
|
|
|
|
{"Code ", Kernel::Svc::MemoryState::Code},
|
|
|
|
|
{"CodeData ", Kernel::Svc::MemoryState::CodeData},
|
|
|
|
|
{"Normal ", Kernel::Svc::MemoryState::Normal},
|
|
|
|
|
{"Shared ", Kernel::Svc::MemoryState::Shared},
|
|
|
|
|
{"AliasCode ", Kernel::Svc::MemoryState::AliasCode},
|
|
|
|
|
{"AliasCodeData ", Kernel::Svc::MemoryState::AliasCodeData},
|
|
|
|
|
{"Ipc ", Kernel::Svc::MemoryState::Ipc},
|
|
|
|
|
{"Stack ", Kernel::Svc::MemoryState::Stack},
|
|
|
|
|
{"ThreadLocal ", Kernel::Svc::MemoryState::ThreadLocal},
|
|
|
|
|
{"Transfered ", Kernel::Svc::MemoryState::Transfered},
|
|
|
|
|
{"SharedTransfered", Kernel::Svc::MemoryState::SharedTransfered},
|
|
|
|
|
{"SharedCode ", Kernel::Svc::MemoryState::SharedCode},
|
|
|
|
|
{"Inaccessible ", Kernel::Svc::MemoryState::Inaccessible},
|
|
|
|
|
{"NonSecureIpc ", Kernel::Svc::MemoryState::NonSecureIpc},
|
|
|
|
|
{"NonDeviceIpc ", Kernel::Svc::MemoryState::NonDeviceIpc},
|
|
|
|
|
{"Kernel ", Kernel::Svc::MemoryState::Kernel},
|
|
|
|
|
{"GeneratedCode ", Kernel::Svc::MemoryState::GeneratedCode},
|
|
|
|
|
{"CodeOut ", Kernel::Svc::MemoryState::CodeOut},
|
|
|
|
|
{"Coverage ", Kernel::Svc::MemoryState::Coverage},
|
|
|
|
|
{"----- Free ------", Kernel::Svc::MemoryState::Free},
|
|
|
|
|
{"Io ", Kernel::Svc::MemoryState::Io},
|
|
|
|
|
{"Static ", Kernel::Svc::MemoryState::Static},
|
|
|
|
|
{"Code ", Kernel::Svc::MemoryState::Code},
|
|
|
|
|
{"CodeData ", Kernel::Svc::MemoryState::CodeData},
|
|
|
|
|
{"Normal ", Kernel::Svc::MemoryState::Normal},
|
|
|
|
|
{"Shared ", Kernel::Svc::MemoryState::Shared},
|
|
|
|
|
{"AliasCode ", Kernel::Svc::MemoryState::AliasCode},
|
|
|
|
|
{"AliasCodeData ", Kernel::Svc::MemoryState::AliasCodeData},
|
|
|
|
|
{"Ipc ", Kernel::Svc::MemoryState::Ipc},
|
|
|
|
|
{"Stack ", Kernel::Svc::MemoryState::Stack},
|
|
|
|
|
{"ThreadLocal ", Kernel::Svc::MemoryState::ThreadLocal},
|
|
|
|
|
{"Transferred ", Kernel::Svc::MemoryState::Transferred},
|
|
|
|
|
{"SharedTransferred", Kernel::Svc::MemoryState::SharedTransferred},
|
|
|
|
|
{"SharedCode ", Kernel::Svc::MemoryState::SharedCode},
|
|
|
|
|
{"Inaccessible ", Kernel::Svc::MemoryState::Inaccessible},
|
|
|
|
|
{"NonSecureIpc ", Kernel::Svc::MemoryState::NonSecureIpc},
|
|
|
|
|
{"NonDeviceIpc ", Kernel::Svc::MemoryState::NonDeviceIpc},
|
|
|
|
|
{"Kernel ", Kernel::Svc::MemoryState::Kernel},
|
|
|
|
|
{"GeneratedCode ", Kernel::Svc::MemoryState::GeneratedCode},
|
|
|
|
|
{"CodeOut ", Kernel::Svc::MemoryState::CodeOut},
|
|
|
|
|
{"Coverage ", Kernel::Svc::MemoryState::Coverage},
|
|
|
|
|
}};
|
|
|
|
|
|
|
|
|
|
static constexpr const char* GetMemoryStateName(Kernel::Svc::MemoryState state) {
|
|
|
|
|