sc108: update to new irq and tty logic
authorAlan Cox <alan@linux.intel.com>
Mon, 1 Oct 2018 12:40:48 +0000 (13:40 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 1 Oct 2018 12:40:48 +0000 (13:40 +0100)
Kernel/platform-sc108/devtty.c
Kernel/platform-sc108/sc108.s

index d3353c7..c60736f 100644 (file)
@@ -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) {
        }
index 8240467..fd639b3 100644 (file)
@@ -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