summaryrefslogtreecommitdiffhomepage
path: root/arch/nt32/psxdbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt32/psxdbg.h')
-rw-r--r--arch/nt32/psxdbg.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/nt32/psxdbg.h b/arch/nt32/psxdbg.h
new file mode 100644
index 0000000..38c9fcd
--- /dev/null
+++ b/arch/nt32/psxdbg.h
@@ -0,0 +1,28 @@
+#ifndef _PSXDBG_H_
+#define _PSXDBG_H_
+
+struct __dbg_event;
+
+struct __dbg_vtbl {
+ int (*dbg_attach)(pid_t);
+ int (*dbg_detach)(int);
+
+ int (*dbg_spawn)(const char *, char **, char **);
+ int (*dbg_fork)(void);
+ int (*dbg_suspend)(int);
+ int (*dbg_kill)(int);
+
+ int (*dbg_event_query_one)(int, struct __dbg_event *);
+ int (*dbg_event_query_all)(int, struct __dbg_event[], int);
+
+ int (*dbg_event_acquire)(int, struct __dbg_event *);
+ int (*dbg_event_respond)(int, struct __dbg_event *);
+
+ int (*dbg_query_cpid)(int);
+ int (*dbg_query_syspid)(int);
+
+ int (*dbg_common_error)(void);
+ int (*dbg_native_error)(void);
+};
+
+#endif