2009-12-15 21:56:22 +01:00
|
|
|
#include <stdint.h>
|
2009-10-11 16:23:23 +02:00
|
|
|
#include <nuttx/irq.h>
|
2009-10-11 15:59:52 +02:00
|
|
|
#include "up_internal.h"
|
|
|
|
|
|
|
|
void os_start(void)
|
|
|
|
{
|
|
|
|
up_lowputc('X');
|
|
|
|
up_lowputc('\n');
|
|
|
|
for (;;);
|
2009-10-11 16:23:23 +02:00
|
|
|
}
|
|
|
|
|
2009-12-15 21:56:22 +01:00
|
|
|
void up_assert_code(const uint8_t *filename, int lineno, int errorcode)
|
2009-10-11 16:23:23 +02:00
|
|
|
{
|
|
|
|
up_lowputc('?');
|
|
|
|
up_lowputc('\n');
|
|
|
|
for (;;);
|
|
|
|
}
|
|
|
|
|
|
|
|
int irq_attach(int irq, xcpt_t isr)
|
|
|
|
{
|
|
|
|
up_lowputc('A');
|
|
|
|
up_lowputc('\n');
|
|
|
|
for (;;);
|
|
|
|
}
|
|
|
|
|
2009-12-15 21:56:22 +01:00
|
|
|
uint32 *up_doirq(int irq, uint32_t *regs)
|
2009-10-11 16:23:23 +02:00
|
|
|
{
|
|
|
|
up_lowputc('I');
|
|
|
|
up_lowputc('\n');
|
|
|
|
for (;;);
|
2009-10-11 15:59:52 +02:00
|
|
|
}
|