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>
{ 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);
: "edi", "esi", "cc", "memory");
}
-void noinline
+void
process_mouse(u8 data)
{
if (!CONFIG_MOUSE)
struct usbkeyinfo LastUSBkey VARLOW;
// Process USB keyboard data.
-static void noinline
+static void
handle_key(struct keyevent *data)
{
dprintf(9, "Got key %x %x\n", data->modifiers, data->keys[0]);
}
}
-int noinline
+int
usb_poll_intr(struct usb_pipe *pipe_fl, void *data)
{
switch (GET_LOWFLAT(pipe_fl->type)) {