/branches/arm/kernel/arch/arm32/src/interrupt.c |
---|
1,5 → 1,5 |
/* |
* Copyright (c) 2007 Petr Stepan |
* Copyright (c) 2007 Petr Stepan, Michal Kebrt |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
34,8 → 34,12 |
#include<arch/asm.h> |
#include<arch/regutils.h> |
#include <interrupt.h> |
#define IRQ_COUNT 8 |
/** Disable interrupts. |
* |
* @return Old interrupt priority level. |
81,5 → 85,9 |
return current_status_reg_read(); |
} |
void interrupt_init(void) { |
irq_init(IRQ_COUNT, IRQ_COUNT); |
} |
/** @} |
*/ |