From ac7eb5eb54886f5372fc71c6ed266a08a49d8d05 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 28 May 2012 14:42:16 -0400 Subject: Remove "noinline" declarations from keyboard/mouse driver code. Now that the extra stack is used for keyboard and mouse driver code, there is no reason to set noinline (which was done to try and conserve stack space). Signed-off-by: Kevin O'Connor --- src/kbd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/kbd.c') diff --git a/src/kbd.c b/src/kbd.c index 0da13a1b..0aa89886 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -378,10 +378,8 @@ static struct scaninfo { { 0x8600, 0x8800, 0x8a00, 0x8c00, none }, /* F12 */ }; -// Handle a scancode read from the ps2 port. Note that "noinline" is -// used to make sure the call to call16_int in process_key doesn't -// have the overhead of this function's stack. -static void noinline +// Handle a ps2 style scancode read from the keyboard. +static void __process_key(u8 scancode) { u8 flags0 = GET_BDA(kbd_flag0); -- cgit