Reduce stack usage of hw irq handlers.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 2 Jan 2009 02:00:59 +0000 (21:00 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 2 Jan 2009 02:00:59 +0000 (21:00 -0500)
commita83ff550b4cbf0b1bc35f493c8715a69a9e28b7e
tree3b434ad53bc40b2960bcd0d7abe05e2596f23372
parent7f343097712ebdd1f11953c867e208da899b4ba3
Reduce stack usage of hw irq handlers.

Avoid using call16_int() -- it consumes too much stack space.
    Instead, use a new function (call16_simpint).  This assumes that
    the handler wont corrupt regs - which should be a safe assumption,
    because if they did corrupt regs they wouldn't work on any bios.
Avoid enabling irqs in the hw irq handlers - there are no loops in the
    handlers that could cause any notable latency.
src/clock.c
src/kbd.c
src/mouse.c
src/system.c
src/util.c
src/util.h