Mercurial > ecos
comparison packages/hal/mn10300/stb/current/include/plf_intr.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children | 25e238959bae |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 1 #ifndef CYGONCE_HAL_PLF_INTR_H | |
| 2 #define CYGONCE_HAL_PLF_INTR_H | |
| 3 | |
| 4 //========================================================================== | |
| 5 // | |
| 6 // plf_intr.h | |
| 7 // | |
| 8 // STB Interrupt and clock support | |
| 9 // | |
| 10 //========================================================================== | |
| 11 //####COPYRIGHTBEGIN#### | |
| 12 // | |
| 13 // ------------------------------------------- | |
| 14 // The contents of this file are subject to the Red Hat eCos Public License | |
| 15 // Version 1.1 (the "License"); you may not use this file except in | |
| 16 // compliance with the License. You may obtain a copy of the License at | |
| 17 // http://www.redhat.com/ | |
| 18 // | |
| 19 // Software distributed under the License is distributed on an "AS IS" | |
| 20 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 21 // License for the specific language governing rights and limitations under | |
| 22 // the License. | |
| 23 // | |
| 24 // The Original Code is eCos - Embedded Configurable Operating System, | |
| 25 // released September 30, 1998. | |
| 26 // | |
| 27 // The Initial Developer of the Original Code is Red Hat. | |
| 28 // Portions created by Red Hat are | |
| 29 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 30 // All Rights Reserved. | |
| 31 // ------------------------------------------- | |
| 32 // | |
| 33 //####COPYRIGHTEND#### | |
| 34 //========================================================================== | |
| 35 //#####DESCRIPTIONBEGIN#### | |
| 36 // | |
| 37 // Author(s): nickg | |
| 38 // Contributors: nickg, jskov, | |
| 39 // gthomas, jlarmour | |
| 40 // Date: 1999-02-16 | |
| 41 // Purpose: Define Interrupt support | |
| 42 // Description: The macros defined here provide the HAL APIs for handling | |
| 43 // interrupts and the clock for the AM33 STB board. | |
| 44 // | |
| 45 // Usage: | |
| 46 // #include <cyg/hal/plf_intr.h> | |
| 47 // ... | |
| 48 // | |
| 49 // | |
| 50 //####DESCRIPTIONEND#### | |
| 51 // | |
| 52 //========================================================================== | |
| 53 | |
| 54 #include <pkgconf/hal.h> | |
| 55 | |
| 56 #include <cyg/infra/cyg_type.h> | |
| 57 | |
| 58 //-------------------------------------------------------------------------- | |
| 59 // Control-C support. | |
| 60 | |
| 61 #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) | |
| 62 | |
| 63 # define CYGHWR_HAL_GDB_PORT_VECTOR CYGNUM_HAL_INTERRUPT_SERIAL_0_RX | |
| 64 | |
| 65 externC cyg_uint32 hal_ctrlc_isr(CYG_ADDRWORD vector, CYG_ADDRWORD data); | |
| 66 | |
| 67 #define HAL_CTRLC_ISR hal_ctrlc_isr | |
| 68 | |
| 69 #endif | |
| 70 | |
| 71 //-------------------------------------------------------------------------- | |
| 72 #endif // ifndef CYGONCE_HAL_PLF_INTR_H | |
| 73 // End of plf_intr.h |
