1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/vm/pc/sym.h
2019-06-19 13:47:10 +02:00

20 lines
387 B
C

// The OS/K Team licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#define SYMLEN_MAX 32
#define SYMTAB_LEN 4096
typedef struct sym_t sym_t;
struct sym_t
{
ulong addr;
char name[SYMLEN_MAX];
};
extern sym_t symtab[SYMTAB_LEN];
int create_symtab(const char *name);
sym_t *find_sym_by_addr(ulong addr);