Deleted Added
sdiff udiff text old ( 139790 ) new ( 219691 )
full compact
1/* $FreeBSD: head/sys/ia64/include/bootinfo.h 139790 2005-01-06 22:18:23Z imp $ */
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 */
34 uint64_t bi_hcdp; /* DIG64 HCDP table */
35 uint64_t bi_fpswa; /* FPSWA interface */
36 uint64_t bi_boothowto; /* value for boothowto */
37 uint64_t bi_systab; /* pa of EFI system table */
38 uint64_t bi_memmap; /* pa of EFI memory map */
39 uint64_t bi_memmap_size; /* size of EFI memory map */
40 uint64_t bi_memdesc_size; /* sizeof EFI memory desc */
41 uint32_t bi_memdesc_version; /* EFI memory desc version */
42 uint32_t bi_spare2;
43 uint64_t bi_symtab; /* start of kernel sym table */
44 uint64_t bi_esymtab; /* end of kernel sym table */
45 uint64_t bi_kernend; /* end of kernel space */
46 uint64_t bi_envp; /* environment */
47 uint64_t bi_modulep; /* preloaded modules */
48};
49
50extern struct bootinfo bootinfo;