4.104.114.84.95
Last change
on this file since 969de1f3 was
bde9bb5,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/06/01 at 15:58:49
|
2001-03-30 Eric Valette <valette@…>
- Makefile.am, console/consoleIo.h, include/bsp.h:
These modifications are part of the conversion of the
mpc8xx CPU to the "new exception processing model."
|
-
Property mode set to
100644
|
File size:
1002 bytes
|
Rev | Line | |
---|
[acc25ee] | 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.OARcorp.com/rtems/license.html. |
---|
| 9 | * |
---|
| 10 | * $Id$ |
---|
| 11 | */ |
---|
| 12 | |
---|
| 13 | #ifndef __CONSOLE_IO_H |
---|
| 14 | #define __CONSOLE_IO_H |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | typedef enum { |
---|
| 18 | CONSOLE_LOG = 1, |
---|
| 19 | CONSOLE_SERIAL = 2, |
---|
| 20 | CONSOLE_VGA = 3, |
---|
| 21 | CONSOLE_VACUUM = 4 |
---|
| 22 | }ioType; |
---|
| 23 | |
---|
| 24 | typedef volatile unsigned char * __io_ptr; |
---|
| 25 | |
---|
| 26 | typedef struct { |
---|
| 27 | __io_ptr io_base; |
---|
| 28 | __io_ptr isa_mem_base; |
---|
| 29 | __io_ptr pci_mmio_base; |
---|
| 30 | __io_ptr pci_dma_offset; |
---|
| 31 | } board_memory_map; |
---|
| 32 | |
---|
| 33 | extern board_memory_map *ptr_mem_map; |
---|
| 34 | extern unsigned long ticks_per_ms; |
---|
| 35 | |
---|
| 36 | extern int select_console(ioType t); |
---|
[bde9bb5] | 37 | /* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */ |
---|
[acc25ee] | 38 | extern void udelay(int); |
---|
| 39 | extern void debug_putc(const unsigned char c); |
---|
| 40 | extern int debug_getc(void); |
---|
| 41 | extern int debug_tstc(void); |
---|
| 42 | int kbdreset(void); |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.