0.6.7.22: removed CVS dollar-Header-dollar tags from sources
[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 #define CORE_PAGESIZE OS_VM_DEFAULT_PAGESIZE
18 #define CORE_END 3840
19 #define CORE_NDIRECTORY 3861
20 #define CORE_VALIDATE 3845
21 #define CORE_VERSION 3860
22 #define CORE_MACHINE_STATE 3862
23 #define CORE_INITIAL_FUNCTION 3863
24
25 #define DYNAMIC_SPACE_ID (1)
26 #define STATIC_SPACE_ID (2)
27 #define READ_ONLY_SPACE_ID (3)
28
29 struct ndir_entry {
30 #ifndef alpha
31         long identifier;
32         long nwords;
33         long data_page;
34         long address;
35         long page_count;
36 #else
37         u32 identifier;
38         u32 nwords;
39         u32 data_page;
40         u32 address;
41         u32 page_count;
42 #endif
43 };
44
45 extern lispobj load_core_file(char *file);
46
47 #endif