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 |
32,10 → 32,14 |
/** @file |
*/ |
|
#include<arch/asm.h> |
#include<arch/regutils.h> |
#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); |
} |
|
/** @} |
*/ |