socz80: Add socz80 to the platforms
authorAlan Cox <alan@linux.intel.com>
Thu, 12 Mar 2015 13:16:15 +0000 (13:16 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 12 Mar 2015 13:16:15 +0000 (13:16 +0000)
Kernel/Makefile
Kernel/platform-socz80/Makefile
Kernel/platform-socz80/devtty.c
Kernel/platform-socz80/ethernet.c
Kernel/platform-socz80/fuzix.lnk

index 2e951c9..b560e17 100644 (file)
@@ -2,6 +2,7 @@ TARGET_LIST = platform-nc100 platform-micropack platform-pcw8256 platform-socz80
 
 #export TARGET = 8086test
 #export TARGET = atarist
+#export TARGET = bbcmicro
 #export TARGET = dragon
 #export TARGET = micropack
 #export TARGET = msx1
@@ -13,6 +14,7 @@ TARGET_LIST = platform-nc100 platform-micropack platform-pcw8256 platform-socz80
 #export TARGET = pcw8256
 #export TARGET = plus3
 #export TARGET = px4plus
+export TARGET = socz80
 #export TARGET = tgl6502
 #export TARGET = trs80
 #export TARGET = ubee
index fe786d9..c8d0ebc 100644 (file)
@@ -5,7 +5,7 @@ CSRCS += devices.c main.c
 ASRCS = crt0.s devrd_hw.s socz80.s
 ASRCS += tricks.s usermem.s commonmem.s
 
-DSRCS = ../dev/devsd.c ../dev/mbr.c ../dev/blkdev.c
+DSRCS = ../dev/devsd.c ../dev/mbr.c ../dev/blkdev.c ../dev/devsd_discard.c
 DOBJS = $(patsubst ../dev/%.c,%.rel, $(DSRCS))
 
 COBJS = $(CSRCS:.c=.rel)
index 791b8d3..6065ee2 100644 (file)
@@ -36,3 +36,8 @@ int tty_carrier(uint8_t minor)
     minor;
     return 1;
 }
+
+void tty_sleeping(uint8_t minor)
+{
+    minor;
+}
\ No newline at end of file
index 23021ee..48fe291 100644 (file)
@@ -358,7 +358,6 @@ int eth_ioctl(uint8_t minor, uarg_t arg, char *data)
        return -1;
 }
 
-DISCARDABLE
 /* Initialize the Ethernet wing */
 void deveth_init(void)
 {
index bc7fb7f..d9fcb3d 100644 (file)
@@ -35,6 +35,7 @@ devsys.rel
 platform-socz80/devlpr.rel
 platform-socz80/devtty.rel
 platform-socz80/devsd.rel
+platform-socz80/devsd_discard.rel
 platform-socz80/blkdev.rel
 platform-socz80/mbr.rel
 platform-socz80/devsdspi.rel