mem/virtual: use sysconf for retrieving page size and actually use these init procs

This commit is contained in:
Laytan Laats
2024-08-29 14:36:32 +02:00
parent 1e6419b5b7
commit fd2ad20cd4
2 changed files with 9 additions and 2 deletions
+5
View File
@@ -7,6 +7,11 @@ _ :: runtime
DEFAULT_PAGE_SIZE := uint(4096)
@(init, private)
platform_memory_init :: proc() {
_platform_memory_init()
}
Allocator_Error :: mem.Allocator_Error
@(require_results)