git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@648 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
bd996b1663
commit
b1d77bf4bc
|
@ -85,7 +85,7 @@ void hwinit(void) {
|
||||||
InitSerial();
|
InitSerial();
|
||||||
}
|
}
|
||||||
|
|
||||||
CH_IRQ_HANDLER(TIMERA0_VECTOR) tmr0irq(void) {
|
CH_IRQ_HANDLER(TIMERA0_VECTOR) {
|
||||||
|
|
||||||
CH_IRQ_PROLOGUE();
|
CH_IRQ_PROLOGUE();
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ struct context {
|
||||||
/**
|
/**
|
||||||
* IRQ handler function modifier.
|
* IRQ handler function modifier.
|
||||||
*/
|
*/
|
||||||
#define PORT_IRQ_HANDLER(id) interrupt void id(void)
|
#define PORT_IRQ_HANDLER(id) interrupt(id) _vect_##id(void)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is empty in this port.
|
* This function is empty in this port.
|
||||||
|
|
|
@ -44,7 +44,7 @@ FullDuplexDriver COM1;
|
||||||
static uint8_t ib1[SERIAL_BUFFERS_SIZE];
|
static uint8_t ib1[SERIAL_BUFFERS_SIZE];
|
||||||
static uint8_t ob1[SERIAL_BUFFERS_SIZE];
|
static uint8_t ob1[SERIAL_BUFFERS_SIZE];
|
||||||
|
|
||||||
CH_IRQ_HANDLER(USART0TX_VECTOR) u0txirq(void) {
|
CH_IRQ_HANDLER(USART0TX_VECTOR) {
|
||||||
msg_t b;
|
msg_t b;
|
||||||
|
|
||||||
CH_IRQ_PROLOGUE();
|
CH_IRQ_PROLOGUE();
|
||||||
|
@ -60,7 +60,7 @@ CH_IRQ_HANDLER(USART0TX_VECTOR) u0txirq(void) {
|
||||||
CH_IRQ_EPILOGUE();
|
CH_IRQ_EPILOGUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
CH_IRQ_HANDLER(USART0RX_VECTOR) u0rxirq(void) {
|
CH_IRQ_HANDLER(USART0RX_VECTOR) {
|
||||||
uint8_t urctl;
|
uint8_t urctl;
|
||||||
|
|
||||||
CH_IRQ_PROLOGUE();
|
CH_IRQ_PROLOGUE();
|
||||||
|
@ -116,7 +116,7 @@ FullDuplexDriver COM2;
|
||||||
static uint8_t ib2[SERIAL_BUFFERS_SIZE];
|
static uint8_t ib2[SERIAL_BUFFERS_SIZE];
|
||||||
static uint8_t ob2[SERIAL_BUFFERS_SIZE];
|
static uint8_t ob2[SERIAL_BUFFERS_SIZE];
|
||||||
|
|
||||||
CH_IRQ_HANDLER(USART1TX_VECTOR) u1txirq(void) {
|
CH_IRQ_HANDLER(USART1TX_VECTOR) {
|
||||||
msg_t b;
|
msg_t b;
|
||||||
|
|
||||||
CH_IRQ_PROLOGUE();
|
CH_IRQ_PROLOGUE();
|
||||||
|
@ -132,7 +132,7 @@ CH_IRQ_HANDLER(USART1TX_VECTOR) u1txirq(void) {
|
||||||
CH_IRQ_EPILOGUE();
|
CH_IRQ_EPILOGUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
CH_IRQ_HANDLER(USART1RX_VECTOR) u1rxirq(void) {
|
CH_IRQ_HANDLER(USART1RX_VECTOR) {
|
||||||
uint8_t urctl;
|
uint8_t urctl;
|
||||||
|
|
||||||
CH_IRQ_PROLOGUE();
|
CH_IRQ_PROLOGUE();
|
||||||
|
|
Loading…
Reference in New Issue