svc: Expand SVC tables
12.x expanded the range of SVC entries from 0x7F to 0xBF (with all new entries being unused), so we can expand it to also match.
This commit is contained in:
parent
7feb490f83
commit
55fc808d64
@ -2455,6 +2455,74 @@ static const FunctionDef SVC_Table_32[] = {
|
|||||||
{0x79, nullptr, "Unknown"},
|
{0x79, nullptr, "Unknown"},
|
||||||
{0x7A, nullptr, "Unknown"},
|
{0x7A, nullptr, "Unknown"},
|
||||||
{0x7B, nullptr, "TerminateProcess32"},
|
{0x7B, nullptr, "TerminateProcess32"},
|
||||||
|
{0x7C, nullptr, "GetProcessInfo32"},
|
||||||
|
{0x7D, nullptr, "CreateResourceLimit32"},
|
||||||
|
{0x7E, nullptr, "SetResourceLimitLimitValue32"},
|
||||||
|
{0x7F, nullptr, "CallSecureMonitor32"},
|
||||||
|
{0x80, nullptr, "Unknown"},
|
||||||
|
{0x81, nullptr, "Unknown"},
|
||||||
|
{0x82, nullptr, "Unknown"},
|
||||||
|
{0x83, nullptr, "Unknown"},
|
||||||
|
{0x84, nullptr, "Unknown"},
|
||||||
|
{0x85, nullptr, "Unknown"},
|
||||||
|
{0x86, nullptr, "Unknown"},
|
||||||
|
{0x87, nullptr, "Unknown"},
|
||||||
|
{0x88, nullptr, "Unknown"},
|
||||||
|
{0x89, nullptr, "Unknown"},
|
||||||
|
{0x8A, nullptr, "Unknown"},
|
||||||
|
{0x8B, nullptr, "Unknown"},
|
||||||
|
{0x8C, nullptr, "Unknown"},
|
||||||
|
{0x8D, nullptr, "Unknown"},
|
||||||
|
{0x8E, nullptr, "Unknown"},
|
||||||
|
{0x8F, nullptr, "Unknown"},
|
||||||
|
{0x90, nullptr, "Unknown"},
|
||||||
|
{0x91, nullptr, "Unknown"},
|
||||||
|
{0x92, nullptr, "Unknown"},
|
||||||
|
{0x93, nullptr, "Unknown"},
|
||||||
|
{0x94, nullptr, "Unknown"},
|
||||||
|
{0x95, nullptr, "Unknown"},
|
||||||
|
{0x96, nullptr, "Unknown"},
|
||||||
|
{0x97, nullptr, "Unknown"},
|
||||||
|
{0x98, nullptr, "Unknown"},
|
||||||
|
{0x99, nullptr, "Unknown"},
|
||||||
|
{0x9A, nullptr, "Unknown"},
|
||||||
|
{0x9B, nullptr, "Unknown"},
|
||||||
|
{0x9C, nullptr, "Unknown"},
|
||||||
|
{0x9D, nullptr, "Unknown"},
|
||||||
|
{0x9E, nullptr, "Unknown"},
|
||||||
|
{0x9F, nullptr, "Unknown"},
|
||||||
|
{0xA0, nullptr, "Unknown"},
|
||||||
|
{0xA1, nullptr, "Unknown"},
|
||||||
|
{0xA2, nullptr, "Unknown"},
|
||||||
|
{0xA3, nullptr, "Unknown"},
|
||||||
|
{0xA4, nullptr, "Unknown"},
|
||||||
|
{0xA5, nullptr, "Unknown"},
|
||||||
|
{0xA6, nullptr, "Unknown"},
|
||||||
|
{0xA7, nullptr, "Unknown"},
|
||||||
|
{0xA8, nullptr, "Unknown"},
|
||||||
|
{0xA9, nullptr, "Unknown"},
|
||||||
|
{0xAA, nullptr, "Unknown"},
|
||||||
|
{0xAB, nullptr, "Unknown"},
|
||||||
|
{0xAC, nullptr, "Unknown"},
|
||||||
|
{0xAD, nullptr, "Unknown"},
|
||||||
|
{0xAE, nullptr, "Unknown"},
|
||||||
|
{0xAF, nullptr, "Unknown"},
|
||||||
|
{0xB0, nullptr, "Unknown"},
|
||||||
|
{0xB1, nullptr, "Unknown"},
|
||||||
|
{0xB2, nullptr, "Unknown"},
|
||||||
|
{0xB3, nullptr, "Unknown"},
|
||||||
|
{0xB4, nullptr, "Unknown"},
|
||||||
|
{0xB5, nullptr, "Unknown"},
|
||||||
|
{0xB6, nullptr, "Unknown"},
|
||||||
|
{0xB7, nullptr, "Unknown"},
|
||||||
|
{0xB8, nullptr, "Unknown"},
|
||||||
|
{0xB9, nullptr, "Unknown"},
|
||||||
|
{0xBA, nullptr, "Unknown"},
|
||||||
|
{0xBB, nullptr, "Unknown"},
|
||||||
|
{0xBC, nullptr, "Unknown"},
|
||||||
|
{0xBD, nullptr, "Unknown"},
|
||||||
|
{0xBE, nullptr, "Unknown"},
|
||||||
|
{0xBF, nullptr, "Unknown"},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const FunctionDef SVC_Table_64[] = {
|
static const FunctionDef SVC_Table_64[] = {
|
||||||
@ -2586,6 +2654,70 @@ static const FunctionDef SVC_Table_64[] = {
|
|||||||
{0x7D, SvcWrap64<CreateResourceLimit>, "CreateResourceLimit"},
|
{0x7D, SvcWrap64<CreateResourceLimit>, "CreateResourceLimit"},
|
||||||
{0x7E, SvcWrap64<SetResourceLimitLimitValue>, "SetResourceLimitLimitValue"},
|
{0x7E, SvcWrap64<SetResourceLimitLimitValue>, "SetResourceLimitLimitValue"},
|
||||||
{0x7F, nullptr, "CallSecureMonitor"},
|
{0x7F, nullptr, "CallSecureMonitor"},
|
||||||
|
{0x80, nullptr, "Unknown"},
|
||||||
|
{0x81, nullptr, "Unknown"},
|
||||||
|
{0x82, nullptr, "Unknown"},
|
||||||
|
{0x83, nullptr, "Unknown"},
|
||||||
|
{0x84, nullptr, "Unknown"},
|
||||||
|
{0x85, nullptr, "Unknown"},
|
||||||
|
{0x86, nullptr, "Unknown"},
|
||||||
|
{0x87, nullptr, "Unknown"},
|
||||||
|
{0x88, nullptr, "Unknown"},
|
||||||
|
{0x89, nullptr, "Unknown"},
|
||||||
|
{0x8A, nullptr, "Unknown"},
|
||||||
|
{0x8B, nullptr, "Unknown"},
|
||||||
|
{0x8C, nullptr, "Unknown"},
|
||||||
|
{0x8D, nullptr, "Unknown"},
|
||||||
|
{0x8E, nullptr, "Unknown"},
|
||||||
|
{0x8F, nullptr, "Unknown"},
|
||||||
|
{0x90, nullptr, "Unknown"},
|
||||||
|
{0x91, nullptr, "Unknown"},
|
||||||
|
{0x92, nullptr, "Unknown"},
|
||||||
|
{0x93, nullptr, "Unknown"},
|
||||||
|
{0x94, nullptr, "Unknown"},
|
||||||
|
{0x95, nullptr, "Unknown"},
|
||||||
|
{0x96, nullptr, "Unknown"},
|
||||||
|
{0x97, nullptr, "Unknown"},
|
||||||
|
{0x98, nullptr, "Unknown"},
|
||||||
|
{0x99, nullptr, "Unknown"},
|
||||||
|
{0x9A, nullptr, "Unknown"},
|
||||||
|
{0x9B, nullptr, "Unknown"},
|
||||||
|
{0x9C, nullptr, "Unknown"},
|
||||||
|
{0x9D, nullptr, "Unknown"},
|
||||||
|
{0x9E, nullptr, "Unknown"},
|
||||||
|
{0x9F, nullptr, "Unknown"},
|
||||||
|
{0xA0, nullptr, "Unknown"},
|
||||||
|
{0xA1, nullptr, "Unknown"},
|
||||||
|
{0xA2, nullptr, "Unknown"},
|
||||||
|
{0xA3, nullptr, "Unknown"},
|
||||||
|
{0xA4, nullptr, "Unknown"},
|
||||||
|
{0xA5, nullptr, "Unknown"},
|
||||||
|
{0xA6, nullptr, "Unknown"},
|
||||||
|
{0xA7, nullptr, "Unknown"},
|
||||||
|
{0xA8, nullptr, "Unknown"},
|
||||||
|
{0xA9, nullptr, "Unknown"},
|
||||||
|
{0xAA, nullptr, "Unknown"},
|
||||||
|
{0xAB, nullptr, "Unknown"},
|
||||||
|
{0xAC, nullptr, "Unknown"},
|
||||||
|
{0xAD, nullptr, "Unknown"},
|
||||||
|
{0xAE, nullptr, "Unknown"},
|
||||||
|
{0xAF, nullptr, "Unknown"},
|
||||||
|
{0xB0, nullptr, "Unknown"},
|
||||||
|
{0xB1, nullptr, "Unknown"},
|
||||||
|
{0xB2, nullptr, "Unknown"},
|
||||||
|
{0xB3, nullptr, "Unknown"},
|
||||||
|
{0xB4, nullptr, "Unknown"},
|
||||||
|
{0xB5, nullptr, "Unknown"},
|
||||||
|
{0xB6, nullptr, "Unknown"},
|
||||||
|
{0xB7, nullptr, "Unknown"},
|
||||||
|
{0xB8, nullptr, "Unknown"},
|
||||||
|
{0xB9, nullptr, "Unknown"},
|
||||||
|
{0xBA, nullptr, "Unknown"},
|
||||||
|
{0xBB, nullptr, "Unknown"},
|
||||||
|
{0xBC, nullptr, "Unknown"},
|
||||||
|
{0xBD, nullptr, "Unknown"},
|
||||||
|
{0xBE, nullptr, "Unknown"},
|
||||||
|
{0xBF, nullptr, "Unknown"},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const FunctionDef* GetSVCInfo32(u32 func_num) {
|
static const FunctionDef* GetSVCInfo32(u32 func_num) {
|
||||||
|
Loading…
Reference in New Issue
Block a user