RTEMS: bsps/powerpc/include/bsp/consoleIo.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
consoleIo.h
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
23 typedef 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 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
board_memory_map
Definition: consoleIo.h:23