diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-11-25 09:17:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-11-25 09:17:31 -0500 |
commit | af9629be3aeb3952ff432cf009394f10727ee0e8 (patch) | |
tree | 50cec3936fc2765dbe236c29d262cb46ae0ca5f6 /src/util.h | |
parent | 4057f9847e94147aaa9799b92ba4561506333a57 (diff) | |
download | seabios-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |