summaryrefslogtreecommitdiff
path: root/src/kbd.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-05-28 14:42:16 -0400
committerKevin O'Connor <kevin@koconnor.net>2012-05-30 21:05:18 -0400
commitac7eb5eb54886f5372fc71c6ed266a08a49d8d05 (patch)
treed6dc68cb56935605fd08c45fca7fad35c83cfc02 /src/kbd.c
parentd488a7683d90bf8fae7ceb8c3ad9e95fbbd92079 (diff)
downloadqemu-seabios-ac7eb5eb54886f5372fc71c6ed266a08a49d8d05.tar.gz
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 <kevin@koconnor.net>
Diffstat (limited to 'src/kbd.c')
-rw-r--r--src/kbd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kbd.c b/src/kbd.c
index 0da13a1..0aa8988 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);