From 8b75ad63aa2c2f838d805b7ae28cdc469d912c0a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 18 Dec 2014 00:48:23 +0000 Subject: [PATCH] mtx: now the serial is sorted remove the polling --- Kernel/platform-mtx/main.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Kernel/platform-mtx/main.c b/Kernel/platform-mtx/main.c index 6d280ce1..5a13723c 100644 --- a/Kernel/platform-mtx/main.c +++ b/Kernel/platform-mtx/main.c @@ -17,15 +17,11 @@ void pagemap_init(void) pagemap_add(i); } -/* On idle we spin checking for the terminals. Gives us more responsiveness - for the polled ports. We don't need this on MTX, but we probably do for - MEMU */ - void platform_idle(void) { - irqflags_t irq = di(); - tty_interrupt(); - irqrestore(irq); + __asm + halt + __endasm; } void platform_interrupt(void) -- 2.34.1