source: rtems/c/src/lib/libbsp/powerpc/shared/console/consoleIo.h @ e79a1947

4.104.114.84.95
Last change on this file since e79a1947 was f05b2ac, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 16:01:48

Remove duplicate white lines.

  • Property mode set to 100644
File size: 926 bytes
Line 
1/*
2 *  consoleIo.h  -- console I/O package interface
3 *
4 *  Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
5 *
6 *  The license and distribution terms for this file may be
7 *  found in found in the file LICENSE in this distribution or at
8 *  http://www.rtems.com/license/LICENSE.
9 *
10 * $Id$
11 */
12
13#ifndef __CONSOLE_IO_H
14#define __CONSOLE_IO_H
15
16typedef enum {
17  CONSOLE_LOG           = 1,
18  CONSOLE_SERIAL        = 2,
19  CONSOLE_VGA           = 3,
20  CONSOLE_VACUUM        = 4
21}ioType;
22
23typedef volatile unsigned char * __io_ptr;
24
25typedef struct {
26  __io_ptr io_base;
27  __io_ptr isa_mem_base;
28} board_memory_map;
29
30extern board_memory_map *ptr_mem_map;
31
32extern int select_console(ioType t);
33/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
34extern void debug_putc(const unsigned char c);
35extern void debug_putc_onlcr(const char c);
36extern int debug_getc(void);
37extern int debug_tstc(void);
38int kbdreset(void);
39
40#endif
Note: See TracBrowser for help on using the repository browser.