zig/lib/std/os
xEgoist 0733c8c5ca windows: replace GetPhysicallyInstalledSystemMemory with ntdll.
`GetPhysicallyInstalledSystemMemory` uses SMBios to grab the physical
memory size which can lead to unecessary allocation and inacurate
representation of the total memory. Using `System_Basic_Information`
help to retrieve the physical memory which is not reserved for the
kernel/tables. This aligns better with the linux side as `/proc/meminfo`
does the same thing.
2023-04-14 13:43:03 -04:00
..
linux x86_64: remove returns from naked functions 2023-04-03 17:45:16 +02:00
plan9
uefi update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
windows windows: replace GetPhysicallyInstalledSystemMemory with ntdll. 2023-04-14 13:43:03 -04:00
linux.zig std.os: add mincore syscall 2023-04-06 00:57:23 -04:00
plan9.zig remove 'builtin.stage2_arch', Sema is smart enough now 2022-08-07 16:07:08 -07:00
test.zig disable bad std lib tests 2023-03-16 18:25:59 -07:00
uefi.zig Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526) 2022-11-12 21:03:24 +02:00
wasi.zig std: fix WASI regressions 2022-12-06 12:15:05 -07:00
windows.zig windows: replace GetPhysicallyInstalledSystemMemory with ntdll. 2023-04-14 13:43:03 -04:00