Some versions of gcc have been found to inline these funcions and then
cause the calling functions to use very large stack usage. Since
these functions are called from 16bit mode, their stack space usage is
very sensitive.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
}
// GET KEYBOARD ID
-static void
+static void noinline
handle_160a(struct bregs *regs)
{
u8 param[2];
warn_unimplemented(regs);
}
-static void
+static void noinline
set_leds(void)
{
u8 shift_flags = (GET_BDA(kbd_flag0) >> 4) & 0x07;