This repository has no description

terminal: support VirtualAlloc for page allocation on windows master

Extract the platform-specific page backing memory allocation into AllocPosix and AllocWindows structs behind a PageAlloc comptime switch. Previously, POSIX mmap calls were inlined at each call site. This adds a Windows VirtualAlloc implementation and routes all allocation through PageAlloc.alloc/free, making the backing memory strategy consistent and easier to extend.


Author Mitchell Hashimoto Date Commit d568ce9c Parent aa969df6 Change ID mxwslxky
+63 -22
1 changed file