Mercurial > hg > Game > Cerium
view TaskManager/kernel/ppe/SymTable.h @ 391:492e60453124 draft
fix...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 07 Aug 2009 02:24:06 +0900 |
parents | 0251d06467de |
children |
line wrap: on
line source
#ifndef INCLUDED_SYMTABLE #define INCLUDED_SYMTABLE #define SYM_MAX_SIZE 64 class SymTable { public: ~SymTable(void); typedef int (*FuncObject)(void *, void*); typedef struct sym_table { char *sym; FuncObject address; } SymTb, *SymTbPtr; SymTbPtr symtb; int symtb_index; void init(void); void set_symbol(const char *sym, FuncObject addr); void set_func(int id, FuncObject addr); int get_fd(const char *sym); FuncObject get_address(int fd); }; #endif