Implement all core Stage 1 logic for Fusee

This commit is contained in:
Michael Scire committed 2018-04-07 22:51:24 -06:00
1 parent 18f1274587
commit 33f76545df
19 files changed
+14671 -31

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef FUSEE_LOADER_H
#define FUSEE_LOADER_H
typedef void (*entrypoint_t)(int argc, const char *argv);
typedef void (*entrypoint_t)(int argc, void **argv);
entrypoint_t load_payload(void);
+2 -1
View File
@@ -1,8 +1,9 @@
#include "sd_utils.h"
int read_sd_file(void *dst, const char *filename) {
int read_sd_file(void *dst, size_t dst_size, const char *filename) {
/* TODO: Implement this function. */
(void)(dst);
(void)(dst_size);
(void)(filename);
/* Fail, because this function is unimplemented. */
+1 -1
View File
@@ -3,6 +3,6 @@
#include "utils.h"
int read_sd_file(void *dst, const char *filename);
int read_sd_file(void *dst, size_t dst_size, const char *filename);
#endif