source: rtems/bsps/powerpc/include/bsp/consoleIo.h @ be50969

5
Last change on this file since be50969 was be50969, checked in by Sebastian Huber <sebastian.huber@…>, on 04/12/19 at 12:37:05

bsp/motorola_powerpc: Fix debug output

Update #3122.

  • Property mode set to 100644
File size: 897 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 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.