0.7.8.12:
[sbcl.git] / src / runtime / core.h
1 /*
2  * This software is part of the SBCL system. See the README file for
3  * more information.
4  *
5  * This software is derived from the CMU CL system, which was
6  * written at Carnegie Mellon University and released into the
7  * public domain. The software is in the public domain and is
8  * provided with absolutely no warranty. See the COPYING and CREDITS
9  * files for more information.
10  */
11
12 #ifndef _CORE_H_
13 #define _CORE_H_
14
15 #include "runtime.h"
16
17 struct ndir_entry {
18 #ifndef alpha
19     long identifier;
20     long nwords;
21     long data_page;
22     long address;
23     long page_count;
24 #else
25     u32 identifier;
26     u32 nwords;
27     u32 data_page;
28     u32 address;
29     u32 page_count;
30 #endif
31 };
32
33 extern lispobj load_core_file(char *file);
34
35 /* arbitrary string identifying this build, embedded in .core files to
36  * prevent people mismatching a runtime built e.g. with :SB-SHOW
37  * against a .core built without :SB-SHOW (or against various grosser
38  * mismatches, e.g. a .core built with an old version of the code
39  * against a runtime with patches which add new C code) */
40 extern unsigned char build_id[];
41
42 #endif