mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-30 23:24:19 +01:00
flush loaded ppc binary
This commit is contained in:
parent
a6afa5e49d
commit
e89d05a109
@ -7,6 +7,7 @@
|
|||||||
#include "ff.h"
|
#include "ff.h"
|
||||||
#include "powerpc_elf.h"
|
#include "powerpc_elf.h"
|
||||||
#include "elf.h"
|
#include "elf.h"
|
||||||
|
#include "memory.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
#define PHDR_MAX 10
|
#define PHDR_MAX 10
|
||||||
@ -80,6 +81,9 @@ int powerpc_load_file(const char *path)
|
|||||||
}
|
}
|
||||||
phdr++;
|
phdr++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dc_flushall();
|
||||||
|
|
||||||
gecko_puts("ELF load done, booting PPC...\n");
|
gecko_puts("ELF load done, booting PPC...\n");
|
||||||
powerpc_upload_stub(NULL,0);
|
powerpc_upload_stub(NULL,0);
|
||||||
powerpc_reset();
|
powerpc_reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user