Start implementing SystemSaveData

This commit is contained in:
wheremyfoodat 2023-09-13 22:49:25 +03:00
parent eade124f00
commit c48f8327c6
6 changed files with 64 additions and 2 deletions

View file

@ -228,6 +228,13 @@ void Kernel::getProcessInfo() {
}
switch (type) {
// Returns the amount of <related unused field> + total supervisor-mode stack size + page-rounded size of the external handle table
case 1:
Helpers::warn("GetProcessInfo: Unimplemented type 1");
regs[1] = 0;
regs[2] = 0;
break;
// According to 3DBrew: Amount of private (code, data, heap) memory used by the process + total supervisor-mode
// stack size + page-rounded size of the external handle table
case 2: