Mercurial > ecos
comparison packages/hal/mips/vrc4373/current/include/hal_diag.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 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 Red Hat eCos Public License | |
| 15 // Version 1.1 (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://www.redhat.com/ | |
| 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 Configurable Operating System, | |
| 25 // released September 30, 1998. | |
| 26 // | |
| 27 // The Initial Developer of the Original Code is Red Hat. | |
| 28 // Portions created by Red Hat are | |
| 29 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 30 // All Rights Reserved. | |
| 31 // ------------------------------------------- | |
| 32 // | |
| 33 //####COPYRIGHTEND#### | |
| 34 //============================================================================= | |
| 35 //#####DESCRIPTIONBEGIN#### | |
| 36 // | |
| 37 // Author(s): nickg | |
| 38 // Contributors: nickg | |
| 39 // Date: 1998-03-02 | |
| 40 // Purpose: HAL Support for Kernel Diagnostic Routines | |
| 41 // Description: Diagnostic routines for use during kernel development. | |
| 42 // Usage: #include <cyg/hal/hal_diag.h> | |
| 43 // | |
| 44 //####DESCRIPTIONEND#### | |
| 45 // | |
| 46 //===========================================================================*/ | |
| 47 | |
| 48 #include <pkgconf/hal.h> | |
| 49 | |
| 50 #include <cyg/infra/cyg_type.h> | |
| 51 | |
| 52 /*---------------------------------------------------------------------------*/ | |
| 53 /* functions implemented in hal_diag.c */ | |
| 54 | |
| 55 externC void hal_diag_init(void); | |
| 56 | |
| 57 externC void hal_diag_write_char(char c); | |
| 58 | |
| 59 externC void hal_diag_read_char(char *c); | |
| 60 | |
| 61 /*---------------------------------------------------------------------------*/ | |
| 62 | |
| 63 #define HAL_DIAG_INIT() hal_diag_init() | |
| 64 | |
| 65 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_) | |
| 66 | |
| 67 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_) | |
| 68 | |
| 69 /*---------------------------------------------------------------------------*/ | |
| 70 /* end of hal_diag.h */ | |
| 71 #endif /* CYGONCE_HAL_HAL_DIAG_H */ |
