aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common/bootstrap.h
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2006-12-18 07:35:14 +0000
committerKip Macy <kmacy@FreeBSD.org>2006-12-18 07:35:14 +0000
commit2d74924b65a66209105932d2ef5fc30d3a713c8a (patch)
tree39032dc3325881cc796e8b3f4ccfb5e90ae83146 /sys/boot/common/bootstrap.h
parent118b944e8d8be9a5bdc0930aae34ccf8bc2f1da9 (diff)
downloadsrc-2d74924b65a66209105932d2ef5fc30d3a713c8a.tar.gz
src-2d74924b65a66209105932d2ef5fc30d3a713c8a.zip
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
Notes
Notes: svn path=/head/; revision=165325
Diffstat (limited to 'sys/boot/common/bootstrap.h')
-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 862b06ca6018..6ecd2355188e 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;