diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-07 18:56:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-07 18:56:30 +0000 |
commit | 459c6d4adc693a14cf2621663822e56d5ac95d32 (patch) | |
tree | 040022702cb8fa22c987bbe71e73b514d9316802 /sys/arch/mips64/include | |
parent | 75e0b83b6df4e4439d807344a92acd009d8e8207 (diff) |
When converting ARCBios memory spaces from ARCBios page size to the kernel
page size, be sure to pick the strictest interval so as not to incorrectly
claim ARCBios reserved data not (kernel) page size aligned as free memory.
No functional change since the kernel uses the same page size as ARCBios
(at the moment).
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/arcbios.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/arcbios.h b/sys/arch/mips64/include/arcbios.h index 77b411fcc96..85480a913d7 100644 --- a/sys/arch/mips64/include/arcbios.h +++ b/sys/arch/mips64/include/arcbios.h @@ -1,4 +1,4 @@ -/* $OpenBSD: arcbios.h,v 1.12 2009/05/09 18:08:57 miod Exp $ */ +/* $OpenBSD: arcbios.h,v 1.13 2009/12/07 18:56:27 miod Exp $ */ /*- * Copyright (c) 1996 M. Warner Losh. All rights reserved. * @@ -399,6 +399,8 @@ typedef struct arc_param_blk_64 #endif #define ArcBios (ArcBiosBase->firmware_vect) +#define ARCBIOS_PAGE_SIZE 4096 + extern int bios_is_32bit; extern char bios_enaddr[20]; extern char bios_console[10]; |