Implement all core Stage 1 logic for Fusee

This commit is contained in:
Michael Scire
2018-04-07 22:51:24 -06:00
parent 18f1274587
commit 33f76545df
19 changed files with 14671 additions and 31 deletions

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);

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. */

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