From: Alan Cox Date: Mon, 1 Oct 2018 12:40:48 +0000 (+0100) Subject: sc108: update to new irq and tty logic X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0f2d2d06b0963d4f4b5de72b59374a1d4b8771b8;p=FUZIX.git sc108: update to new irq and tty logic --- diff --git a/Kernel/platform-sc108/devtty.c b/Kernel/platform-sc108/devtty.c index d3353c74..c60736fd 100644 --- a/Kernel/platform-sc108/devtty.c +++ b/Kernel/platform-sc108/devtty.c @@ -17,7 +17,7 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {tbuf2, tbuf2, tbuf2, TTYSIZ, 0, TTYSIZ / 2}, }; -void tty_setup(uint8_t minor) +void tty_setup(uint8_t minor, uint8_t flags) { if (minor == 1) { } diff --git a/Kernel/platform-sc108/sc108.s b/Kernel/platform-sc108/sc108.s index 82404674..fd639b3c 100644 --- a/Kernel/platform-sc108/sc108.s +++ b/Kernel/platform-sc108/sc108.s @@ -16,6 +16,7 @@ .globl map_restore_low .globl _platform_doexec .globl _platform_reboot + .globl _int_disabled ; exported debugging tools .globl _platform_monitor @@ -64,6 +65,9 @@ _platform_reboot: out (0x38), a ; ROM appears low rst 0 ; bang +_int_disabled: + .db 1 + ; ----------------------------------------------------------------------------- ; ; Our MMU is write only, but if we put a value in each bank in a fixed