Fix mount code in fs_dev.c

This commit is contained in:
TuxSH 2018-05-06 13:03:45 +02:00
parent 8f5a5acb06
commit 306555e522
2 changed files with 6 additions and 16 deletions

View file

@ -31,6 +31,9 @@ int main(int argc, void **argv) {
generic_panic();
}
/* Setup console/stdout. */
console_resume(args.lfb, args.console_row, args.console_col);
resume_sd_state((struct mmc *)args.sd_mmc);
fsdev_mount_all();
fsdev_set_default_device("sdmc");
@ -40,9 +43,6 @@ int main(int argc, void **argv) {
/* TODO: What other hardware init should we do here? */
/* Setup console/stdout. */
console_resume(args.lfb, args.console_row, args.console_col);
printf(u8"Welcome to Atmosphère Fusée Stage 2!\n");
printf("Stage 2 executing from: %s\n", (const char *)argv[STAGE2_ARGV_PROGRAM_PATH]);