mlibc
mlibc copied to clipboard
[WIP] sysdeps/managarm: implement sys_sysconf
Dependent on managarm#575.
Main reason this (and the managarm PR) are drafts is because the helGetCpuInformation syscall will probably change, since at the moment it only returns the amount of CPU cores.
This could be extended when https://github.com/managarm/managarm/pull/582 gets merged by adding the totalram/freeram/mem_unit fields to the sysinfo and _SC_PAGESIZE to sysconf
This could be extended when managarm/managarm#582 gets merged by adding the totalram/freeram/mem_unit fields to the sysinfo and _SC_PAGESIZE to sysconf
Noted, will do when that gets merged.