aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-11-25 09:17:31 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-11-25 09:17:31 -0500
commitaf9629be3aeb3952ff432cf009394f10727ee0e8 (patch)
tree50cec3936fc2765dbe236c29d262cb46ae0ca5f6 /src/util.h
parent4057f9847e94147aaa9799b92ba4561506333a57 (diff)
downloadseabios-hppa-af9629be3aeb3952ff432cf009394f10727ee0e8.zip
seabios-hppa-af9629be3aeb3952ff432cf009394f10727ee0e8.tar.gz
seabios-hppa-af9629be3aeb3952ff432cf009394f10727ee0e8.tar.bz2
Enhance call32() to pass a parameter to called function.
Support passing a parameter to the 32bit function, as well as returning the result of the function back to the 16bit code. Also, make call32 available outside of stacks.c.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 18ab814..e513e84 100644
--- a/src/util.h
+++ b/src/util.h
@@ -211,6 +211,7 @@ char *strtcpy(char *dest, const char *src, size_t len);
int get_keystroke(int msec);
// stacks.c
+u32 call32(void *func, u32 eax, u32 errret);
inline u32 stack_hop(u32 eax, u32 edx, void *func);
extern struct thread_info MainThread;
struct thread_info *getCurThread(void);