Mercurial > ecos
diff packages/hal/powerpc/mbx/current/include/plf_stub.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 | c37d3a9e1b28 |
| children | 25e238959bae |
line wrap: on
line diff
--- a/packages/hal/powerpc/mbx/current/include/plf_stub.h +++ b/packages/hal/powerpc/mbx/current/include/plf_stub.h @@ -54,13 +54,13 @@ #include <cyg/hal/ppc_stub.h> // architecture stub support //---------------------------------------------------------------------------- -// Define serial stuff. All comes from the quicc_smc1.c file. - -#include <cyg/hal/quicc/quicc_smc1.h> +// Define some platform specific communication details. This is mostly +// handled by hal_if now, but we need to make sure the comms tables are +// properly initialized. -#define HAL_STUB_PLATFORM_INIT_SERIAL() cyg_quicc_init_smc1() -#define HAL_STUB_PLATFORM_GET_CHAR() cyg_quicc_smc1_uart_rcvchar() -#define HAL_STUB_PLATFORM_PUT_CHAR(c) cyg_quicc_smc1_uart_putchar((c)) +externC void cyg_hal_plf_comms_init(void); + +#define HAL_STUB_PLATFORM_INIT_SERIAL() cyg_hal_plf_comms_init() #define HAL_STUB_PLATFORM_SET_BAUD_RATE(baud) CYG_UNUSED_PARAM(int, (baud)) #define HAL_STUB_PLATFORM_INIT_BREAK_IRQ() CYG_EMPTY_STATEMENT
