mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.heap: define page size for alpha-netbsd
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user