
Changed all K&R style functions to ANSI-style declarations within the kernel directory. The code compiles and aparently works for i386. For arm my toolchain does not work, but I have changed the code with great care. Also, the make command fails for the test suite. Therefore, I strongly recommand to review the code with care. Edited by David van Moolenbroek to convert really all K&R functions. Change-Id: I58cde797d36f4caa9c72db4e4dc27d8545ab8866
17 lines
345 B
C
17 lines
345 B
C
/* hw_intr handles the hardware dependent part of the interrupts */
|
|
#include "hw_intr.h"
|
|
#include "bsp_intr.h"
|
|
|
|
void hw_intr_mask(int irq){
|
|
bsp_irq_mask(irq);
|
|
}
|
|
|
|
void hw_intr_unmask(int irq){
|
|
bsp_irq_unmask(irq);
|
|
}
|
|
|
|
void hw_intr_ack(int irq){};
|
|
void hw_intr_used(int irq){};
|
|
void hw_intr_not_used(int irq){};
|
|
void hw_intr_disable_all(void){};
|