mlibc icon indicating copy to clipboard operation
mlibc copied to clipboard

[WIP] sysdeps/managarm: implement sys_sysconf

Open ElectrodeYT opened this issue 1 year ago • 3 comments

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.

ElectrodeYT avatar Oct 11 '23 15:10 ElectrodeYT

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

Qwinci avatar Oct 20 '23 12:10 Qwinci

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.

ElectrodeYT avatar Oct 20 '23 17:10 ElectrodeYT