desktop: make ISRs normal C++ functions

this will make it possible to add an abstract register simulation
class that allows us to intercept device IO
This commit is contained in:
Andrew Tridgell 2011-10-11 17:36:31 +11:00
parent 74a85a1f3e
commit 6f44415b19

View File

@ -3,7 +3,7 @@
#include "io.h" #include "io.h"
#define ISR(vector,...) extern "C" void vector(void); \ #define ISR(vector,...) void vector(void); \
void vector(void) void vector(void)
#define cli() #define cli()