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) {...@@ -736,6 +736,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
736 },736 },
737 .netbsd => switch (builtin.cpu.arch) {737 .netbsd => switch (builtin.cpu.arch) {
738 // NetBSD/sys/arch/*738 // NetBSD/sys/arch/*
739 .alpha => 8 << 10,
739 .x86, .x86_64 => 4 << 10,740 .x86, .x86_64 => 4 << 10,
740 .thumb, .thumbeb, .arm, .armeb => 4 << 10,741 .thumb, .thumbeb, .arm, .armeb => 4 << 10,
741 .aarch64, .aarch64_be => 4 << 10,742 .aarch64, .aarch64_be => 4 << 10,
...@@ -894,6 +895,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {...@@ -894,6 +895,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
894 },895 },
895 .netbsd => switch (builtin.cpu.arch) {896 .netbsd => switch (builtin.cpu.arch) {
896 // NetBSD/sys/arch/*897 // NetBSD/sys/arch/*
898 .alpha => 8 << 10,
897 .x86, .x86_64 => 4 << 10,899 .x86, .x86_64 => 4 << 10,
898 .thumb, .thumbeb, .arm, .armeb => 4 << 10,900 .thumb, .thumbeb, .arm, .armeb => 4 << 10,
899 .aarch64, .aarch64_be => 64 << 10,901 .aarch64, .aarch64_be => 64 << 10,