diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-13 12:39:15 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-13 12:39:15 +0000 |
commit | 7b40715e824711834ec0f89ba4f0881f57b4d53a (patch) | |
tree | ab02773c4b2a2195943d3ed2c2e6e839872dab3b /sys/ia64/include/bootinfo.h | |
parent | 5903e1d51b427659e37c7d4e10c090e5783f52da (diff) | |
download | FreeBSD-src-7b40715e824711834ec0f89ba4f0881f57b4d53a.zip FreeBSD-src-7b40715e824711834ec0f89ba4f0881f57b4d53a.tar.gz |
* Enable dynamically linked kernel. This involves adding a self-relocator
to locore to process the @fptr relocations in the dynamic executable.
* Don't initialise the timer until *after* we install the timecounter to
avoid a race between timecounter initialisation and hardclock.
* Tidy up bootinfo somewhat including adding sanity checks for when the
kernel is loaded without a recognisable bootinfo.
Diffstat (limited to 'sys/ia64/include/bootinfo.h')
-rw-r--r-- | sys/ia64/include/bootinfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ia64/include/bootinfo.h b/sys/ia64/include/bootinfo.h index c148120..d5914f8 100644 --- a/sys/ia64/include/bootinfo.h +++ b/sys/ia64/include/bootinfo.h @@ -41,9 +41,13 @@ * (u_long), then the bootinfo */ +#define BOOTINFO_MAGIC 0xdeadbeeffeedface + struct bootinfo { - char bi_flags[64]; /* boot flags */ + u_int64_t bi_magic; /* BOOTINFO_MAGIC */ + u_int64_t bi_version; /* version 1 */ char bi_kernel[64]; /* name of booted kernel */ + u_int64_t bi_boothowto; /* value for boothowto */ u_int64_t bi_systab; /* pa of EFI system table */ u_int64_t bi_memmap; /* pa of EFI memory map */ u_int64_t bi_memmap_size; /* size of EFI memory map */ |