Mercurial > ecos
comparison packages/hal/powerpc/cogent/current/include/hal_diag.h @ 103:95f3e12a6327 ecos-sw-2000-06-23
Merge from eCos master repository on 2000-06-23-16:41:10-BST
| author | jlarmour |
|---|---|
| date | Fri, 23 Jun 2000 17:06:31 +0000 |
| parents | bf00f99aec69 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 102:6409b6d94dd7 | 103:95f3e12a6327 |
|---|---|
| 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 | 66 |
| 64 | 74 |
| 65 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_) | 75 #define HAL_DIAG_WRITE_CHAR(_c_) hal_diag_write_char(_c_) |
| 66 | 76 |
| 67 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_) | 77 #define HAL_DIAG_READ_CHAR(_c_) hal_diag_read_char(&_c_) |
| 68 | 78 |
| 79 #endif // CYGSEM_HAL_VIRTUAL_VECTOR_DIAG | |
| 80 | |
| 69 //----------------------------------------------------------------------------- | 81 //----------------------------------------------------------------------------- |
| 70 // end of hal_diag.h | 82 // end of hal_diag.h |
| 71 #endif // CYGONCE_HAL_HAL_DIAG_H | 83 #endif // CYGONCE_HAL_HAL_DIAG_H |
