Fix start.s in stage2 of Fusee for argc/argv

This commit is contained in:
Michael Scire 2018-04-08 05:06:04 -06:00
parent 353019a269
commit c758b1188a
3 changed files with 27 additions and 9 deletions

View file

@ -2,8 +2,12 @@
#include "hwinit.h"
#include "loader.h"
#include "stage2.h"
int main(void) {
/* Allow for main(int argc, void **argv) signature. */
#pragma GCC diagnostic ignored "-Wmain"
int main(int argc, void **argv) {
entrypoint_t entrypoint;
/* TODO: What other hardware init should we do here? */