Changeset c621f4aa in mainline for kernel/arch/arm32/src/interrupt.c
- Timestamp:
- 2010-07-25T10:11:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 377cce8
- Parents:
- 24a2517 (diff), a2da43c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/arch/arm32/src/interrupt.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/interrupt.c
r24a2517 rc621f4aa 36 36 #include <arch/asm.h> 37 37 #include <arch/regutils.h> 38 #include <arch/machine_func.h> 38 39 #include <ddi/irq.h> 39 40 #include <ddi/device.h> 40 41 #include <interrupt.h> 41 42 #ifdef MACHINE_testarm43 #include <arch/mach/testarm/testarm.h>44 #endif45 46 #ifdef MACHINE_integratorcp47 #include <arch/mach/integratorcp/integratorcp.h>48 #endif49 50 /** Initial size of a table holding interrupt handlers. */51 #define IRQ_COUNT 852 42 53 43 /** Disable interrupts. … … 97 87 } 98 88 89 /** Check interrupts state. 90 * 91 * @return True if interrupts are disabled. 92 * 93 */ 94 bool interrupts_disabled(void) 95 { 96 return current_status_reg_read() & STATUS_REG_IRQ_DISABLED_BIT; 97 } 98 99 99 /** Initialize basic tables for exception dispatching 100 100 * and starts the timer. … … 102 102 void interrupt_init(void) 103 103 { 104 irq_init(IRQ_COUNT, IRQ_COUNT); 104 size_t irq_count; 105 106 irq_count = machine_get_irq_count(); 107 irq_init(irq_count, irq_count); 108 105 109 machine_timer_irq_start(); 106 110 }
Note:
See TracChangeset
for help on using the changeset viewer.
