diff options
author | imp <imp@FreeBSD.org> | 2009-02-15 01:26:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-02-15 01:26:49 +0000 |
commit | 442a51fa71ec87e4b41ae7f6547fec9abae86a71 (patch) | |
tree | 142989cbe2e2472899af8acce5fdc93cb4c8fcb1 /usr.bin/truss/extern.h | |
parent | dcfdfe3bd52eeff22565fe2fb143cf10d2bf93ad (diff) | |
download | FreeBSD-src-442a51fa71ec87e4b41ae7f6547fec9abae86a71.zip FreeBSD-src-442a51fa71ec87e4b41ae7f6547fec9abae86a71.tar.gz |
Add preliminary support for truss on MIPS. It compiles, but has not
been extensively tested. And the ELF64 stuff likely is not quite
right...
# There's a lot of cut-n-paste code here that could easily be
# refactored, at least for FreeBSD syscalls.
Diffstat (limited to 'usr.bin/truss/extern.h')
-rw-r--r-- | usr.bin/truss/extern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/truss/extern.h b/usr.bin/truss/extern.h index 69f2319..fc3b038 100644 --- a/usr.bin/truss/extern.h +++ b/usr.bin/truss/extern.h @@ -63,4 +63,8 @@ extern long powerpc_syscall_exit(struct trussinfo *, int); extern void sparc64_syscall_entry(struct trussinfo *, int); extern long sparc64_syscall_exit(struct trussinfo *, int); #endif +#ifdef __mips__ +extern void mips_syscall_entry(struct trussinfo *, int); +extern long mips_syscall_exit(struct trussinfo *, int); +#endif |