summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-12-18 07:35:14 +0000
committerkmacy <kmacy@FreeBSD.org>2006-12-18 07:35:14 +0000
commitf94653c6cc26525ed3dbe8b0a3e51efc8114d105 (patch)
tree39032dc3325881cc796e8b3f4ccfb5e90ae83146 /sys/boot/common
parent0e8bee8e995ae69fcaa6d6bf2a5c74fc88c582b9 (diff)
downloadFreeBSD-src-f94653c6cc26525ed3dbe8b0a3e51efc8114d105.zip
FreeBSD-src-f94653c6cc26525ed3dbe8b0a3e51efc8114d105.tar.gz
add an interface for passing the entire kernel size up front to the
loader so that it can memory can be allocated aligned at the beginning of the desired large page
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/bootstrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h
index 862b06c..6ecd235 100644
--- a/sys/boot/common/bootstrap.h
+++ b/sys/boot/common/bootstrap.h
@@ -292,6 +292,8 @@ struct arch_switch
/* Perform ISA byte port I/O (only for systems with ISA) */
int (*arch_isainb)(int port);
void (*arch_isaoutb)(int port, int value);
+ /* Pass in initial kernel memory size */
+ void (*arch_maphint)(vm_offset_t va, size_t len);
};
extern struct arch_switch archsw;
OpenPOWER on IntegriCloud