Kernel: n8vem-mark4, p112, zeta-v2: Move platform_param() to DISCARD
authorWill Sowerbutts <will@sowerbutts.com>
Sun, 22 Jan 2017 22:47:19 +0000 (22:47 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Sun, 22 Jan 2017 22:47:19 +0000 (22:47 +0000)
Kernel/platform-n8vem-mark4/discard.c
Kernel/platform-n8vem-mark4/main.c
Kernel/platform-p112/discard.c
Kernel/platform-p112/main.c
Kernel/platform-zeta-v2/discard.c
Kernel/platform-zeta-v2/main.c

index 94aadff..c9003c5 100644 (file)
@@ -32,3 +32,9 @@ void map_init(void)
     copy_and_map_process(&init_process->p_page);
     /* kernel bank udata (0x300 bytes) is never used again -- could be reused? */
 }
+
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
index 05d4568..49775af 100644 (file)
@@ -47,12 +47,6 @@ void platform_idle(void)
     __endasm;
 }
 
-uint8_t platform_param(unsigned char *p)
-{
-    used(p);
-    return 0;
-}
-
 void platform_interrupt(void)
 {
     switch(irqvector){
index 7034863..d03aa48 100644 (file)
@@ -61,3 +61,9 @@ void device_init(void)
     ds1302_init();
     tty_hw_init();
 }
+
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
index 2d7edc9..8f39b62 100644 (file)
@@ -48,12 +48,6 @@ void platform_idle(void)
     __endasm;
 }
 
-uint8_t platform_param(unsigned char *p)
-{
-    used(p);
-    return 0;
-}
-
 void platform_interrupt(void)
 {
     switch(irqvector){
index dbf7caa..0119c15 100644 (file)
@@ -51,3 +51,9 @@ void device_init(void)
        devide_init();
 #endif
 }
+
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
index 7897cc5..844b750 100644 (file)
@@ -31,12 +31,6 @@ void platform_idle(void)
        __endasm;
 }
 
-uint8_t platform_param(unsigned char *p)
-{
-    used(p);
-    return 0;
-}
-
 void platform_interrupt(void)
 {
        switch(irqvector) {