diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 20:38:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 20:38:33 -0400 |
commit | 7a558e4417c74a0d7f2896178636b1d020d3fae9 (patch) | |
tree | b725bb96feffa807da77e35b2b7d5169a85150ae /src/clock.c | |
parent | 64c718d27a0b9e8570968eed749782b170e32645 (diff) | |
download | seabios-hppa-7a558e4417c74a0d7f2896178636b1d020d3fae9.zip seabios-hppa-7a558e4417c74a0d7f2896178636b1d020d3fae9.tar.gz seabios-hppa-7a558e4417c74a0d7f2896178636b1d020d3fae9.tar.bz2 |
Don't save/restore flags and ebp on external calls - saves on stack space.
It isn't necessary to save ebp - just mark it as clobbered.
The only important flag to save/restore is irqs - manually fixup all callers.
Diffstat (limited to 'src/clock.c')
-rw-r--r-- | src/clock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clock.c b/src/clock.c index c653c1f..b9d75a3 100644 --- a/src/clock.c +++ b/src/clock.c @@ -356,6 +356,7 @@ handle_70() struct bregs br; memset(&br, 0, sizeof(br)); call16_int(0x4a, &br); + irq_disable(); } if (!(registerC & 0x40)) goto done; |