libc: add HM_REALMEM sysctl

Used by Mesa in the Gallium etnaviv driver.

issue #4254
This commit is contained in:
Josef Söntgen 2021-06-18 16:02:02 +02:00 committed by Christian Helmuth
parent fb4d357b59
commit ac9e0947fd

View File

@ -87,6 +87,7 @@ extern "C" int __sysctl(const int *name, u_int namelen,
switch(index_a) {
case CTL_HW: switch(index_b) {
case HW_REALMEM:
case HW_PHYSMEM:
case HW_USERMEM:
switch (*oldlenp) {