platform: add the platform param hook
authorAlan Cox <alan@linux.intel.com>
Mon, 11 Apr 2016 13:06:17 +0000 (14:06 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 11 Apr 2016 13:06:17 +0000 (14:06 +0100)
14 files changed:
Kernel/platform-coco2/main.c
Kernel/platform-msx1/main.c
Kernel/platform-msx2/main.c
Kernel/platform-mtx/main.c
Kernel/platform-n8vem-mark4/main.c
Kernel/platform-nc100/main.c
Kernel/platform-p112/main.c
Kernel/platform-pcw8256/main.c
Kernel/platform-px4plus/main.c
Kernel/platform-socz80/main.c
Kernel/platform-trs80/main.c
Kernel/platform-z80pack-lite/main.c
Kernel/platform-zeta-v2/main.c
Kernel/platform-zx128/main.c

index bdffc58..5697182 100644 (file)
@@ -20,6 +20,7 @@ void platform_idle(void)
 
 uint8_t platform_param(unsigned char *p)
 {
+    return 0;
 }
 
 void do_beep(void)
index 9bcfa6f..5a0f284 100644 (file)
@@ -17,6 +17,8 @@ void platform_idle(void)
 
 uint8_t platform_param(unsigned char *p)
 {
+    used(p);
+    return 0;
 }
 
 void do_beep(void)
index 99d0aac..d4c486f 100644 (file)
@@ -13,6 +13,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void do_beep(void)
 {
 }
index 5a13723..4f2e7bc 100644 (file)
@@ -24,6 +24,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
   extern uint8_t irqvector;
index 1d3df12..e91bd39 100644 (file)
@@ -33,6 +33,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
     switch(irqvector){
index 783652d..c736939 100644 (file)
@@ -11,6 +11,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void do_beep(void)
 {
 }
index a34c8a5..30883a3 100644 (file)
@@ -35,6 +35,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
     switch(irqvector){
index f941faa..a393c32 100644 (file)
@@ -50,3 +50,8 @@ void platform_idle(void)
  __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
index 39bdbce..6a526c0 100644 (file)
@@ -27,6 +27,12 @@ void platform_interrupt(void)
   timer_interrupt();
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 extern uint8_t map_translate[MAX_MAPS];
 extern uint8_t *map_live;
 
index 2c3138a..8668d92 100644 (file)
@@ -14,6 +14,12 @@ void platform_idle(void)
     __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 __sfr __at 0x00 uart0_status;
 __sfr __at 0x01 uart0_data;
 __sfr __at 0x28 uart1_status;
index a11ca7a..d9da288 100644 (file)
@@ -25,6 +25,12 @@ void do_beep(void)
 {
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
   uint8_t irq = irqstat;
index 98d42bc..0848e93 100644 (file)
@@ -11,6 +11,12 @@ void platform_idle(void)
   tty_pollirq(); 
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 /* The simple support does all the rest of the work for us */
 
 void platform_interrupt(void)
index 73afac0..66aa345 100644 (file)
@@ -18,6 +18,12 @@ void platform_idle(void)
        __endasm;
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
        switch(irqvector) {
index 89f146c..e02ff2f 100644 (file)
@@ -25,6 +25,12 @@ void platform_idle(void)
   irqrestore(irq);
 }
 
+uint8_t platform_param(unsigned char *p)
+{
+    used(p);
+    return 0;
+}
+
 void platform_interrupt(void)
 {
  tty_pollirq();