-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathglobal_data.c
36 lines (28 loc) · 1.09 KB
/
global_data.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* global_data.c
*
* Copyright (C) 2024 Ray Lee
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "defs.h"
FILE *fp;
struct program_context program_context = { 0 };
struct program_context *pc = &program_context;
struct kernel_table kernel_table = { 0 };
struct kernel_table *kt = &kernel_table;
struct vm_table vm_table = { 0 };
struct vm_table *vt = &vm_table;
struct symbol_table_data symbol_table_data = { 0 };
struct symbol_table_data *st = &symbol_table_data;
struct machdep_table machdep_table = { 0 };
struct machdep_table *machdep = &machdep_table;
struct offset_table offset_table = { 0 };
struct size_table size_table = { 0 };