Aesthetic tweaks
[sbcl/simd.git] / src / runtime / core.h
blobce2ec8fe4e4232f3661ba6e02654f6ab9efaafba
1 /*
2 * This software is part of the SBCL system. See the README file for
3 * more information.
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.
12 #ifndef _CORE_H_
13 #define _CORE_H_
15 #include "sbcl.h"
16 #include "runtime.h"
18 struct ndir_entry {
19 #ifndef LISP_FEATURE_ALPHA
20 long identifier;
21 long nwords;
22 long data_page;
23 long address;
24 long page_count;
25 #else
26 u32 identifier;
27 u32 nwords;
28 u32 data_page;
29 u32 address;
30 u32 page_count;
31 #endif
34 extern lispobj load_core_file(char *file, os_vm_offset_t offset);
35 extern os_vm_offset_t search_for_embedded_core(char *file);
37 /* arbitrary string identifying this build, embedded in .core files to
38 * prevent people mismatching a runtime built e.g. with :SB-SHOW
39 * against a .core built without :SB-SHOW (or against various grosser
40 * mismatches, e.g. a .core built with an old version of the code
41 * against a runtime with patches which add new C code) */
42 extern char build_id[];
44 #endif