syscall_emul: extend sysinfo system call to include mem_unit
This commit is contained in:
parent
ecf68fac40
commit
4ff1b165d0
1 changed files with 3 additions and 2 deletions
|
@ -777,6 +777,7 @@ sysinfoFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
|||
|
||||
sysinfo->uptime = seconds_since_epoch;
|
||||
sysinfo->totalram = process->system->memSize();
|
||||
sysinfo->mem_unit = 1;
|
||||
|
||||
sysinfo.copyOut(tc->getMemProxy());
|
||||
|
||||
|
|
Loading…
Reference in a new issue