source: rtems/c/src/lib/libbsp/m68k/ods68302/include/debugport.h @ e1d8abb

4.104.114.84.95
Last change on this file since e1d8abb was 0074691a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 22:13:29

Merged very large and much appreciated patch from Chris Johns
<cjohns@…>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.

  • Property mode set to 100644
File size: 1002 bytes
Line 
1/*****************************************************************************/
2/*
3  $Id$
4
5  Debug Port Support
6
7*/
8/*****************************************************************************/
9
10#if !defined(_DEBUGPORT_H_)
11 #define _DEBUGPORT_H_
12
13#if __cplusplus
14extern "C"
15{
16#endif
17
18  /* normall automatic, only need when re-initialising */
19  void debug_port_initialise(void);
20 
21  unsigned char debug_port_status(const unsigned char status);
22  unsigned char debug_port_in(void);
23  void debug_port_out(const unsigned char character);
24
25  void debug_port_write(const char *buffer);
26  void debug_port_write_buffer(const char *buffer, unsigned int size);
27
28  void debug_port_write_hex_uint(const unsigned int value);
29  void debug_port_write_hex_ulong(const unsigned long value);
30 
31   /*
32    * special banner message for CPU specific boot code,
33    * initialises the debug port
34    */
35  void debug_port_banner(void);
36  void debug_port_printf(const char *format, ...);
37
38#if __cplusplus
39}
40#endif
41
42#endif
Note: See TracBrowser for help on using the repository browser.