comparison packages/hal/i386/linux/current/include/hal_diag.h @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents
children c38311975d4f
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 #ifndef CYGONCE_HAL_HAL_DIAG_H
2 #define CYGONCE_HAL_HAL_DIAG_H
3
4 //=============================================================================
5 //
6 // hal_diag.h
7 //
8 // HAL Support for Kernel Diagnostic Routines
9 //
10 //=============================================================================
11 //####COPYRIGHTBEGIN####
12 //
13 // -------------------------------------------
14 // The contents of this file are subject to the Cygnus eCos Public License
15 // Version 1.0 (the "License"); you may not use this file except in
16 // compliance with the License. You may obtain a copy of the License at
17 // http://sourceware.cygnus.com/ecos
18 //
19 // Software distributed under the License is distributed on an "AS IS"
20 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
21 // License for the specific language governing rights and limitations under
22 // the License.
23 //
24 // The Original Code is eCos - Embedded Cygnus Operating System, released
25 // October 31, 1998.
26 //
27 // The Initial Developer of the Original Code is Cygnus. Portions created
28 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
29 // -------------------------------------------
30 //
31 //####COPYRIGHTEND####
32 //=============================================================================
33 //#####DESCRIPTIONBEGIN####
34 //
35 // Author(s): proven
36 // Contributors:proven
37 // Date: 1998-10-05
38 // Purpose: HAL Support for Kernel Diagnostic Routines
39 // Description: Diagnostic routines for use during kernel development.
40 // Usage: #include "cyg/hal/hal_diag.h"
41 //
42 //####DESCRIPTIONEND####
43 //
44 //=============================================================================
45
46 #include <pkgconf/hal.h>
47
48 #include <cyg/infra/cyg_type.h>
49
50 //-----------------------------------------------------------------------------
51 // functions implemented in hal_diag.c
52
53 externC void hal_diag_init( void );
54
55 externC void hal_diag_read_char(char *c);
56
57 externC void hal_diag_write_char(char c);
58
59 //-----------------------------------------------------------------------------
60
61 #define HAL_DIAG_INIT() hal_diag_init()
62
63 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_)
64
65 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_)
66
67 //-----------------------------------------------------------------------------
68 // end of hal_diag.h
69 #endif // CYGONCE_HAL_HAL_DIAG_H