mirror of https://github.com/YosysHQ/picorv32.git
23 lines
323 B
C
23 lines
323 B
C
#ifndef FIRMWARE_H
|
|
#define FIRMWARE_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
// irq.c
|
|
uint32_t *irq(uint32_t *regs, uint32_t irqs);
|
|
|
|
// print.c
|
|
void print_chr(char ch);
|
|
void print_str(const char *p);
|
|
void print_dec(int val);
|
|
void print_hex(unsigned int val);
|
|
|
|
// sieve.c
|
|
void sieve();
|
|
|
|
// stats.c
|
|
void stats();
|
|
|
|
#endif
|