1/* $FreeBSD: head/sys/ia64/include/bootinfo.h 139790 2005-01-06 22:18:23Z imp $ */
|
1/* $FreeBSD: head/sys/ia64/include/bootinfo.h 219691 2011-03-16 03:53:18Z marcel $ */ |
2/*- 3 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 4 * All rights reserved. 5 * 6 * Author: Chris G. Demetriou 7 * 8 * Permission to use, copy, modify and distribute this software and 9 * its documentation is hereby granted, provided that both the copyright 10 * notice and this permission notice appear in all copies of the 11 * software, derivative works or modified versions, and any portions 12 * thereof, and that both notices appear in supporting documentation. 13 * 14 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 15 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 16 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 17 * 18 * Carnegie Mellon requests users of this software to return to 19 * 20 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 21 * School of Computer Science 22 * Carnegie Mellon University 23 * Pittsburgh PA 15213-3890 24 * 25 * any improvements or extensions that they make and grant Carnegie the 26 * rights to redistribute these changes. 27 */ 28 29struct bootinfo { 30 uint64_t bi_magic; /* BOOTINFO_MAGIC */ 31#define BOOTINFO_MAGIC 0xdeadbeeffeedface 32 uint64_t bi_version; /* version 1 */
|
33 uint64_t bi_spare[6]; /* was: name of booted kernel */
|
33 uint64_t bi_spare[5]; /* was: name of booted kernel */ 34 uint64_t bi_pbvm_pgtbl; /* PA of PBVM page table. */ |
35 uint64_t bi_hcdp; /* DIG64 HCDP table */ 36 uint64_t bi_fpswa; /* FPSWA interface */ 37 uint64_t bi_boothowto; /* value for boothowto */ 38 uint64_t bi_systab; /* pa of EFI system table */ 39 uint64_t bi_memmap; /* pa of EFI memory map */ 40 uint64_t bi_memmap_size; /* size of EFI memory map */ 41 uint64_t bi_memdesc_size; /* sizeof EFI memory desc */ 42 uint32_t bi_memdesc_version; /* EFI memory desc version */
|
42 uint32_t bi_spare2;
|
43 uint32_t bi_pbvm_pgtblsz; /* PBVM page table size. */ |
44 uint64_t bi_symtab; /* start of kernel sym table */ 45 uint64_t bi_esymtab; /* end of kernel sym table */ 46 uint64_t bi_kernend; /* end of kernel space */ 47 uint64_t bi_envp; /* environment */ 48 uint64_t bi_modulep; /* preloaded modules */ 49}; 50 51extern struct bootinfo bootinfo;
|