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

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 906 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 the file LICENSE in this distribution or at
8 *  http://www.rtems.org/license/LICENSE.
9 */
10
11#ifndef __CONSOLE_IO_H
12#define __CONSOLE_IO_H
13
14typedef enum {
15  CONSOLE_LOG           = 1,
16  CONSOLE_SERIAL        = 2,
17  CONSOLE_VGA           = 3,
18  CONSOLE_VACUUM        = 4
19}ioType;
20
21typedef volatile unsigned char * __io_ptr;
22
23typedef struct {
24  __io_ptr io_base;
25  __io_ptr isa_mem_base;
26} board_memory_map;
27
28extern board_memory_map *ptr_mem_map;
29
30extern int select_console(ioType t);
31/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
32extern void debug_putc(const unsigned char c);
33extern void debug_putc_onlcr(const char c);
34extern int debug_getc(void);
35extern int debug_tstc(void);
36int kbdreset(void);
37
38#endif
Note: See TracBrowser for help on using the repository browser.