#include "compiler.h"
#include "sections.h"
#include "picorv32.h"
#include "iodevs.h"

	__sdata
	.balign	4
	.globl	__irq_handler_table
__irq_handler_table:

#define IRQENTRY(name,irqbase,irqn,irqcount)	\
	.long	irqhandler_ ## name ## _ ## irqn

#include "irqtable.h"

	.size __irq_handler_table, . - __irq_handler_table
	.type __irq_handler_table, @object
