Commit feb05a716d

Alex Rønne Petersen <alex@alexrp.com>
2025-10-23 20:15:46
std.heap: define page size for alpha-netbsd
1 parent 70206af
Changed files (1)
lib
lib/std/heap.zig
@@ -736,6 +736,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
     },
     .netbsd => switch (builtin.cpu.arch) {
         // NetBSD/sys/arch/*
+        .alpha => 8 << 10,
         .x86, .x86_64 => 4 << 10,
         .thumb, .thumbeb, .arm, .armeb => 4 << 10,
         .aarch64, .aarch64_be => 4 << 10,
@@ -894,6 +895,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
     },
     .netbsd => switch (builtin.cpu.arch) {
         // NetBSD/sys/arch/*
+        .alpha => 8 << 10,
         .x86, .x86_64 => 4 << 10,
         .thumb, .thumbeb, .arm, .armeb => 4 << 10,
         .aarch64, .aarch64_be => 64 << 10,