Changeset 0e796cc in mainline for kernel/arch/arm32/src/machine_func.c
- Timestamp:
- 2010-07-15T09:01:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41ce4d9
- Parents:
- bd11d3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified kernel/arch/arm32/src/machine_func.c ¶
rbd11d3e r0e796cc 125 125 } 126 126 127 /** Get IRQ number range used by machine. */ 128 size_t machine_get_irq_count(void) 129 { 130 size_t irq_count; 131 132 #if defined(MACHINE_gta02) 133 irq_count = GTA02_IRQ_COUNT; 134 #elif defined(MACHINE_testarm) 135 irq_count = GXEMUL_IRQ_COUNT; 136 #elif defined(MACHINE_integratorcp) 137 irq_count = ICP_IRQ_COUNT; 138 #else 139 #error Machine type not defined. 140 #endif 141 return irq_count; 142 } 143 127 144 /** @} 128 145 */
Note:
See TracChangeset
for help on using the changeset viewer.