bootinfo.h revision 219691
167754Smsmith/* $FreeBSD: head/sys/ia64/include/bootinfo.h 219691 2011-03-16 03:53:18Z marcel $ */ 267754Smsmith/*- 367754Smsmith * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 499679Siwasaki * All rights reserved. 567754Smsmith * 667754Smsmith * Author: Chris G. Demetriou 767754Smsmith * 867754Smsmith * Permission to use, copy, modify and distribute this software and 967754Smsmith * its documentation is hereby granted, provided that both the copyright 1067754Smsmith * notice and this permission notice appear in all copies of the 1167754Smsmith * software, derivative works or modified versions, and any portions 1291116Smsmith * thereof, and that both notices appear in supporting documentation. 1370243Smsmith * 1467754Smsmith * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 1567754Smsmith * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 1667754Smsmith * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 1767754Smsmith * 1867754Smsmith * Carnegie Mellon requests users of this software to return to 1967754Smsmith * 2067754Smsmith * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 2167754Smsmith * School of Computer Science 2267754Smsmith * Carnegie Mellon University 2367754Smsmith * Pittsburgh PA 15213-3890 2467754Smsmith * 2567754Smsmith * any improvements or extensions that they make and grant Carnegie the 2667754Smsmith * rights to redistribute these changes. 2767754Smsmith */ 2867754Smsmith 2967754Smsmithstruct bootinfo { 3067754Smsmith uint64_t bi_magic; /* BOOTINFO_MAGIC */ 3167754Smsmith#define BOOTINFO_MAGIC 0xdeadbeeffeedface 3267754Smsmith uint64_t bi_version; /* version 1 */ 3367754Smsmith uint64_t bi_spare[5]; /* was: name of booted kernel */ 3467754Smsmith uint64_t bi_pbvm_pgtbl; /* PA of PBVM page table. */ 3567754Smsmith uint64_t bi_hcdp; /* DIG64 HCDP table */ 3667754Smsmith uint64_t bi_fpswa; /* FPSWA interface */ 3767754Smsmith uint64_t bi_boothowto; /* value for boothowto */ 3867754Smsmith uint64_t bi_systab; /* pa of EFI system table */ 3967754Smsmith uint64_t bi_memmap; /* pa of EFI memory map */ 4067754Smsmith uint64_t bi_memmap_size; /* size of EFI memory map */ 4167754Smsmith uint64_t bi_memdesc_size; /* sizeof EFI memory desc */ 4267754Smsmith uint32_t bi_memdesc_version; /* EFI memory desc version */ 4367754Smsmith uint32_t bi_pbvm_pgtblsz; /* PBVM page table size. */ 4467754Smsmith uint64_t bi_symtab; /* start of kernel sym table */ 4567754Smsmith uint64_t bi_esymtab; /* end of kernel sym table */ 4667754Smsmith uint64_t bi_kernend; /* end of kernel space */ 4767754Smsmith uint64_t bi_envp; /* environment */ 4867754Smsmith uint64_t bi_modulep; /* preloaded modules */ 4967754Smsmith}; 5067754Smsmith 5167754Smsmithextern struct bootinfo bootinfo; 5267754Smsmith