Mercurial > ecos-v3_0-branch
comparison packages/hal/arm/mac7100/var/current/src/hal_diag.c @ 2849:70648fa729ea
+2009-03-19 Ilija Kocho <ilijak@siva.com.mk>
+
+ * ecos.db: target mac7100evb added word "Freescale" to the description.
+
* hal/arm/mac7100/var/current/src/hal_diag.c: fixed gcc 4.3.2 warning
| author | jld |
|---|---|
| date | Thu, 19 Mar 2009 12:49:18 +0000 |
| parents | 74dbf4c3f2e1 |
| children |
comparison
equal
deleted
inserted
replaced
| 2848:0211264926c7 | 2849:70648fa729ea |
|---|---|
| 6 // | 6 // |
| 7 //============================================================================= | 7 //============================================================================= |
| 8 // ####ECOSGPLCOPYRIGHTBEGIN#### | 8 // ####ECOSGPLCOPYRIGHTBEGIN#### |
| 9 // ------------------------------------------- | 9 // ------------------------------------------- |
| 10 // This file is part of eCos, the Embedded Configurable Operating System. | 10 // This file is part of eCos, the Embedded Configurable Operating System. |
| 11 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | 11 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. |
| 12 // | 12 // |
| 13 // eCos is free software; you can redistribute it and/or modify it under | 13 // eCos is free software; you can redistribute it and/or modify it under |
| 14 // the terms of the GNU General Public License as published by the Free | 14 // the terms of the GNU General Public License as published by the Free |
| 15 // Software Foundation; either version 2 or (at your option) any later | 15 // Software Foundation; either version 2 or (at your option) any later |
| 16 // version. | 16 // version. |
| 271 *__ctrlc = 0; | 271 *__ctrlc = 0; |
| 272 | 272 |
| 273 HAL_READ_UINT16(FREESCALE_ESCI_SR(esci_base), esci_sr); | 273 HAL_READ_UINT16(FREESCALE_ESCI_SR(esci_base), esci_sr); |
| 274 if (esci_sr & FREESCALE_ESCI_SR_RDRF){ | 274 if (esci_sr & FREESCALE_ESCI_SR_RDRF){ |
| 275 HAL_READ_UINT8(FREESCALE_ESCI_DRL(esci_base), ch_in); | 275 HAL_READ_UINT8(FREESCALE_ESCI_DRL(esci_base), ch_in); |
| 276 if( cyg_hal_is_break( &ch_in , 1 ) ) | 276 if( cyg_hal_is_break( (char *) &ch_in , 1 ) ) |
| 277 *__ctrlc = 1; | 277 *__ctrlc = 1; |
| 278 | 278 |
| 279 res = CYG_ISR_HANDLED; | 279 res = CYG_ISR_HANDLED; |
| 280 HAL_WRITE_UINT16(FREESCALE_ESCI_SR(esci_base), FREESCALE_ESCI_SR_RDRF); | 280 HAL_WRITE_UINT16(FREESCALE_ESCI_SR(esci_base), FREESCALE_ESCI_SR_RDRF); |
| 281 } | 281 } |
