allow to add symbols for host_dasm

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@848 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-12-27 23:21:25 +00:00
parent e708403e97
commit efd100fc0a
2 changed files with 69 additions and 21 deletions

View file

@ -1,2 +1,4 @@
void host_dasm(void *addr, int len);
void host_dasm_new_symbol_(void *addr, const char *name);
#define host_dasm_new_symbol(sym) \
host_dasm_new_symbol_(sym, #sym)