aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/bootinfo.h
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2012-05-13 09:25:39 +0000
committerAndriy Gapon <avg@FreeBSD.org>2012-05-13 09:25:39 +0000
commit99a312d0486621bfb5d1f7b1cfa1ff0fa6d3da0f (patch)
tree7976a415ddf874c93ec119dab80e771c08ff1f38 /sys/i386/include/bootinfo.h
parentdfc351d8e9e98d1ab108374deb2c2f12a686db87 (diff)
downloadsrc-99a312d0486621bfb5d1f7b1cfa1ff0fa6d3da0f.tar.gz
src-99a312d0486621bfb5d1f7b1cfa1ff0fa6d3da0f.zip
i386 bootinfo: re-arrange EFI fields for natural alignment and packing
Suggested by: bde MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=235391
Diffstat (limited to 'sys/i386/include/bootinfo.h')
-rw-r--r--sys/i386/include/bootinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/include/bootinfo.h b/sys/i386/include/bootinfo.h
index 9c36e2827129..ef595d5f52be 100644
--- a/sys/i386/include/bootinfo.h
+++ b/sys/i386/include/bootinfo.h
@@ -65,13 +65,13 @@ struct bootinfo {
u_int32_t bi_kernend; /* end of kernel space */
u_int32_t bi_envp; /* environment */
u_int32_t bi_modulep; /* preloaded modules */
+ uint32_t bi_memdesc_version; /* EFI memory desc version */
+ uint64_t bi_memdesc_size; /* sizeof EFI memory desc */
+ uint64_t bi_memmap; /* pa of EFI memory map */
+ uint64_t bi_memmap_size; /* size of EFI memory map */
uint64_t bi_hcdp; /* DIG64 HCDP table */
uint64_t bi_fpswa; /* FPSWA interface */
uint64_t bi_systab; /* pa of EFI system table */
- uint64_t bi_memmap; /* pa of EFI memory map */
- uint64_t bi_memmap_size; /* size of EFI memory map */
- uint64_t bi_memdesc_size; /* sizeof EFI memory desc */
- uint32_t bi_memdesc_version; /* EFI memory desc version */
};
#ifdef _KERNEL