rvc/elfy/elfy.h
Stefan ed82c5487f implement UART, CLINT, device tree, opensbi build
...plus some comfort improvements, more testing.

This now successfully boots OpenSBI when built like specified in the
Makefile!
2021-06-03 22:45:13 +02:00

11 lines
253 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
int32_t load_elf(const char *path,
uint64_t path_len,
uint8_t *data,
uint64_t data_len,
bool verbose);