root/arch/m68k/console/txtcon.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. txtcon_startup
  2. txtcon_init
  3. txtcon_deinit
  4. txtcon_clear
  5. txtcon_putc
  6. txtcon_putcs
  7. txtcon_cursor
  8. txtcon_scroll
  9. txtcon_bmove
  10. txtcon_switch
  11. txtcon_blank

   1 /*
   2  * linux/arch/m68k/console/txtcon.c -- Low level text mode based console driver
   3  *
   4  *    Copyright (C) 1995 Geert Uytterhoeven
   5  *
   6  *
   7  * This file is currently only a skeleton, since all Amigas and Ataris have
   8  * bitmapped graphics.
   9  *
  10  *
  11  * This file is subject to the terms and conditions of the GNU General Public
  12  * License.  See the file README.legal in the main directory of this archive
  13  * for more details.
  14  */
  15 
  16 
  17 #include <linux/types.h>
  18 #include <linux/console.h>
  19 
  20 
  21    /*
  22     *    Interface used by the world
  23     */
  24 
  25 static u_long txtcon_startup(u_long kmem_start, char **display_desc);
  26 static void txtcon_init(struct vc_data *conp);
  27 static int txtcon_deinit(struct vc_data *conp);
  28 static int txtcon_clear(struct vc_data *conp, int sy, int sx, int height,
  29                         int width);
  30 static int txtcon_putc(struct vc_data *conp, int c, int y, int x);
  31 static int txtcon_putcs(struct vc_data *conp, const char *s, int count, int y,
  32                         int x);
  33 static int txtcon_cursor(struct vc_data *conp, int mode);
  34 static int txtcon_scroll(struct vc_data *conp, int t, int b, int dir, int count);
  35 static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx,
  36                         int height, int width);
  37 static int txtcon_switch(struct vc_data *conp);
  38 static int txtcon_blank(int blank);
  39 
  40 
  41 
  42 static u_long txtcon_startup(u_long kmem_start, char **display_desc)
     /* [previous][next][first][last][top][bottom][index][help] */
  43 {
  44    *display_desc = "Not yet implemented";
  45    return(kmem_start);
  46 }
  47 
  48 
  49 static void txtcon_init(struct vc_data *conp)
     /* [previous][next][first][last][top][bottom][index][help] */
  50 {
  51 }
  52 
  53 
  54 static int txtcon_deinit(struct vc_data *conp)
     /* [previous][next][first][last][top][bottom][index][help] */
  55 {
  56    return(0);
  57 }
  58 
  59 
  60 /* ====================================================================== */
  61 
  62 /* txtcon_XXX routines - interface used by the world */
  63 
  64 
  65 static int txtcon_clear(struct vc_data *conp, int sy, int sx, int height,
     /* [previous][next][first][last][top][bottom][index][help] */
  66                         int width)
  67 {
  68    return(0);
  69 }
  70 
  71 
  72 static int txtcon_putc(struct vc_data *conp, int c, int y, int x)
     /* [previous][next][first][last][top][bottom][index][help] */
  73 {
  74    return(0);
  75 }
  76 
  77 
  78 static int txtcon_putcs(struct vc_data *conp, const char *s, int count, int y,
     /* [previous][next][first][last][top][bottom][index][help] */
  79                         int x)
  80 {
  81    return(0);
  82 }
  83 
  84 
  85 static int txtcon_cursor(struct vc_data *conp, int mode)
     /* [previous][next][first][last][top][bottom][index][help] */
  86 {
  87    return(0);
  88 }
  89 
  90 
  91 static int txtcon_scroll(struct vc_data *conp, int t, int b, int dir, int count)
     /* [previous][next][first][last][top][bottom][index][help] */
  92 {
  93    return(0);
  94 }
  95 
  96 
  97 static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx,
     /* [previous][next][first][last][top][bottom][index][help] */
  98                         int height, int width)
  99 {
 100    return(0);
 101 }
 102 
 103 
 104 static int txtcon_switch(struct vc_data *conp)
     /* [previous][next][first][last][top][bottom][index][help] */
 105 {
 106    return(0);
 107 }
 108 
 109 
 110 static int txtcon_blank(int blank)
     /* [previous][next][first][last][top][bottom][index][help] */
 111 {
 112    return(0);
 113 }
 114 
 115 
 116 /* ====================================================================== */
 117 
 118    /*
 119     *    The console `switch' structure for the text mode based console
 120     */
 121 
 122 struct consw txt_con = {
 123    txtcon_startup, txtcon_init, txtcon_deinit, txtcon_clear, txtcon_putc,
 124    txtcon_putcs, txtcon_cursor, txtcon_scroll, txtcon_bmove, txtcon_switch,
 125    txtcon_blank
 126 };
 127 

/* [previous][next][first][last][top][bottom][index][help] */