diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-05-28 12:59:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-05-28 23:39:49 -0400 |
commit | bf2e8c2a304c1aafc612e89deaaa6066d6cdb3f6 (patch) | |
tree | dc8972dcdc2f52fdc4fa30f0699f739cecd092c6 /src/util.h | |
parent | 2f898d5eae41c7bec54ab60c3ea25f200d46728d (diff) | |
download | seabios-hppa-bf2e8c2a304c1aafc612e89deaaa6066d6cdb3f6.zip seabios-hppa-bf2e8c2a304c1aafc612e89deaaa6066d6cdb3f6.tar.gz seabios-hppa-bf2e8c2a304c1aafc612e89deaaa6066d6cdb3f6.tar.bz2 |
Make the extra stack re-entrant and "hop back" to check for irqs.
When on the extra stack and it's necessary to check for irqs, switch
back to the original caller's stack to check for irqs. Make the extra
stack re-entrant, so that a new user of the extra stack wont collide
with an existing user.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ void nullTrailingSpace(char *buf); int get_keystroke(int msec); // stacks.c -extern u8 ExtraStack[]; +extern u8 ExtraStack[], *StackPos; inline u32 stack_hop(u32 eax, u32 edx, void *func); u32 call32(void *func, u32 eax, u32 errret); struct bregs; |