kvisc/vm/pc/sym.h

20 lines
389 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 46
#define SYMTAB_LEN 4096
typedef struct sym_t sym_t;
struct sym_t
{
ulong addr;
char name[SYMLEN_MAX+1];
};
extern sym_t symtab[SYMTAB_LEN];
int create_symtab(const char *name);
sym_t *find_sym_by_addr(ulong addr);