00001 /* 00002 ** bufdump.h for in /root/work/lseosr2-0.0.19/libkern 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Mon Feb 9 15:22:40 2004 Vianney Rancurel 00008 ** Last update Mon Dec 6 12:30:34 2004 Vianney Rancurel 00009 */ 00010 #ifndef __CONVEN_BUFDUMP_H__ 00011 #define __CONVEN_BUFDUMP_H__ 1 00012 #include <libc.h> 00013 00014 /* PROTO bufdump.c */ 00015 /* bufdump.c */ 00016 void bufdump_i(u_int off, u_char *b, u_int l); 00017 void bufdump(char *buf, int len); 00018 int pid_bufdump(pid_t pid, char *buf, int len); 00019 int asid_bufdump(asid_t asid, char *buf, int len); 00020 void ctx_dump(pid_t pid, vaddr_t ebp, vaddr_t eip); 00021 #endif