Mercurial > nand-ecoscentric
comparison packages/devs/pcmcia/arm/assabet/current/src/assabet_pcmcia.c @ 126:518f42066aba ecos-sw-2000-09-19
Merge from eCos master repository on 2000-09-19-06:25:26-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Sep 2000 05:53:51 +0000 |
| parents | 77cec8369160 |
| children | 42f843b391aa |
comparison
equal
deleted
inserted
replaced
| 125:b4407dc7f59d | 126:518f42066aba |
|---|---|
| 49 #include <cyg/hal/drv_api.h> | 49 #include <cyg/hal/drv_api.h> |
| 50 | 50 |
| 51 #ifdef CYGPKG_KERNEL | 51 #ifdef CYGPKG_KERNEL |
| 52 #include <pkgconf/kernel.h> // Configuration header | 52 #include <pkgconf/kernel.h> // Configuration header |
| 53 #include <cyg/kernel/kapi.h> | 53 #include <cyg/kernel/kapi.h> |
| 54 #else | 54 #endif |
| 55 #include <cyg/hal/hal_if.h> | 55 #include <cyg/hal/hal_if.h> |
| 56 #endif | |
| 57 | 56 |
| 58 #include <cyg/io/pcmcia.h> | 57 #include <cyg/io/pcmcia.h> |
| 59 #include <cyg/infra/diag.h> | 58 #include <cyg/infra/diag.h> |
| 60 | 59 |
| 61 #include <cyg/hal/hal_sa11x0.h> // Board definitions | 60 #include <cyg/hal/hal_sa11x0.h> // Board definitions |
| 112 #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) | 111 #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) |
| 113 was_ctrlc_int = HAL_CTRLC_CHECK(vector, data); | 112 was_ctrlc_int = HAL_CTRLC_CHECK(vector, data); |
| 114 if (!was_ctrlc_int) // Fall through and run normal code | 113 if (!was_ctrlc_int) // Fall through and run normal code |
| 115 #endif | 114 #endif |
| 116 // Process interrupt | 115 // Process interrupt |
| 117 (slot->irq_handler.handler)(slot->irq_handler.param); | 116 (slot->irq_handler.handler)(vector, count, slot->irq_handler.param); |
| 118 // Allow interrupts to happen again | 117 // Allow interrupts to happen again |
| 119 cyg_drv_interrupt_unmask(SA1110_CF_IRQ); | 118 cyg_drv_interrupt_unmask(SA1110_CF_IRQ); |
| 120 } | 119 } |
| 121 #endif | 120 #endif |
| 122 | 121 |
