Mercurial > ecos
comparison packages/hal/arm/ebsa285/current/include/hal_diag.h @ 110:84e4bde58b26 ecos-sw-2000-07-14
Merge from eCos master repository on 2000-07-14-22:00:02-BST
| author | jlarmour |
|---|---|
| date | Mon, 17 Jul 2000 14:42:27 +0000 |
| parents | 435cced73e2f |
| children | 6ed91473a1cd |
comparison
equal
deleted
inserted
replaced
| 109:5720c4b6e1d2 | 110:84e4bde58b26 |
|---|---|
| 47 | 47 |
| 48 #include <pkgconf/hal.h> | 48 #include <pkgconf/hal.h> |
| 49 | 49 |
| 50 #include <cyg/infra/cyg_type.h> | 50 #include <cyg/infra/cyg_type.h> |
| 51 | 51 |
| 52 #if defined(CYGSEM_HAL_VIRTUAL_VECTOR_DIAG) | |
| 53 | |
| 54 #include <cyg/hal/hal_if.h> | |
| 55 | |
| 56 #define HAL_DIAG_INIT() hal_if_diag_init() | |
| 57 #define HAL_DIAG_WRITE_CHAR(_c_) hal_if_diag_write_char(_c_) | |
| 58 #define HAL_DIAG_READ_CHAR(_c_) hal_if_diag_read_char(&_c_) | |
| 59 | |
| 60 #else // everything by steam | |
| 61 | |
| 52 /*---------------------------------------------------------------------------*/ | 62 /*---------------------------------------------------------------------------*/ |
| 53 /* functions implemented in hal_diag.c */ | 63 /* functions implemented in hal_diag.c */ |
| 54 | 64 |
| 55 externC void hal_diag_init(void); | 65 externC void hal_diag_init(void); |
| 56 externC void hal_diag_write_char(char c); | 66 externC void hal_diag_write_char(char c); |
| 62 | 72 |
| 63 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_) | 73 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_) |
| 64 | 74 |
| 65 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_) | 75 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_) |
| 66 | 76 |
| 77 #endif // CYGSEM_HAL_VIRTUAL_VECTOR_DIAG | |
| 78 | |
| 67 /*---------------------------------------------------------------------------*/ | 79 /*---------------------------------------------------------------------------*/ |
| 68 /* end of hal_diag.h */ | 80 /* end of hal_diag.h */ |
| 69 #endif /* CYGONCE_HAL_DIAG_H */ | 81 #endif /* CYGONCE_HAL_DIAG_H */ |
