mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
-seems like svn doesnt automatically notice lowercase/uppercase changes, whatever...
This commit is contained in:
parent
d4ce44ebec
commit
c5e1c014af
@ -13,7 +13,7 @@ STRIP = $(PREFIX)strip
|
|||||||
MACHDEP = -mcpu=750 -mno-eabi
|
MACHDEP = -mcpu=750 -mno-eabi
|
||||||
CFLAGS = $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata
|
CFLAGS = $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata
|
||||||
LDFLAGS = $(MACHDEP) -n -nostartfiles -nostdlib -Wl,-T,link.ld -L.
|
LDFLAGS = $(MACHDEP) -n -nostartfiles -nostdlib -Wl,-T,link.ld -L.
|
||||||
ASFLAGS = -D_LANGUAGE_ASSEMBLY -DHW_RVL
|
ASFLAGS = -D_LANGUAGE_ASSEMBLY -DHW_RVL -x assembler-with-cpp
|
||||||
|
|
||||||
TARGET_LINKED = boot.elf
|
TARGET_LINKED = boot.elf
|
||||||
TARGET = extldr.bin
|
TARGET = extldr.bin
|
||||||
|
@ -13,9 +13,8 @@ void _main(void)
|
|||||||
sync_after_write(start, 0xF0000);
|
sync_after_write(start, 0xF0000);
|
||||||
gprintf("Done! Jumping to Entrypoint...\n");
|
gprintf("Done! Jumping to Entrypoint...\n");
|
||||||
asm volatile (
|
asm volatile (
|
||||||
"lis %r3, start@h\n"
|
"lis %r3, 0x80A8\n"
|
||||||
"ori %r3, %r3, start@l\n"
|
"ori %r3, %r3, 0x0000\n"
|
||||||
"lwz %r3, 0(%r3)\n"
|
|
||||||
"mtlr %r3\n"
|
"mtlr %r3\n"
|
||||||
"blr\n"
|
"blr\n"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user