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