commit feb05a716d1ae105cf0e8f9966b6ade7f32dc680 (tree)
parent 70206af4829964420d7902488c66ba0edc37ba76
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 23 Oct 2025 20:15:46 +0200
std.heap: define page size for alpha-netbsd
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/heap.zig b/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,