//boot/trunk/arch/ppc32/loader/asm.S |
29,11 → 29,6 |
#include "asm.h" |
#include "regname.h" |
|
.data |
|
flush_buffer: |
.space (L1_CACHE_LINES * L1_CACHE_BYTES) |
|
.text |
|
.global halt |
124,6 → 119,9 |
ori r30, r30, ~(msr_ir | msr_dr)@l |
and r31, r31, r30 |
mtspr srr1, r31 |
|
sync |
isync |
rfi |
|
.section REALMODE |
//boot/trunk/arch/ppc32/loader/Makefile |
46,7 → 46,7 |
OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
endif |
|
CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 |
CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc |
DEFS = |
|
SOURCES = \ |