authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-23 20:15:46+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-23 20:15:46+02:00
logfeb05a716d1ae105cf0e8f9966b6ade7f32dc680
treee48bd783a258125f1daa0126200c6afef6b6c278
parent70206af4829964420d7902488c66ba0edc37ba76
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.heap: define page size for alpha-netbsd


1 files changed, 2 insertions(+), 0 deletions(-)

lib/std/heap.zig+2
......@@ -736,6 +736,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
736736 },
737737 .netbsd => switch (builtin.cpu.arch) {
738738 // NetBSD/sys/arch/*
739 .alpha => 8 << 10,
739740 .x86, .x86_64 => 4 << 10,
740741 .thumb, .thumbeb, .arm, .armeb => 4 << 10,
741742 .aarch64, .aarch64_be => 4 << 10,
......@@ -894,6 +895,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
894895 },
895896 .netbsd => switch (builtin.cpu.arch) {
896897 // NetBSD/sys/arch/*
898 .alpha => 8 << 10,
897899 .x86, .x86_64 => 4 << 10,
898900 .thumb, .thumbeb, .arm, .armeb => 4 << 10,
899901 .aarch64, .aarch64_be => 64 << 10,