/boot/trunk/arch/ppc32/loader/asm.S |
29,6 → 29,11 |
#include "asm.h" |
#include "regname.h" |
|
.data |
|
flush_buffer: |
.space (L1_CACHE_LINES * L1_CACHE_BYTES) |
|
.text |
|
.global halt |
119,9 → 124,6 |
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 -mcpu=powerpc |
CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 |
DEFS = |
|
SOURCES = \ |
/boot/trunk/boot.config |
7,7 → 7,6 |
@ "sparc64" Sun UltraSPARC |
@ "mips32" MIPS 32-bit |
@ "ppc32" PowerPC 32-bit |
@ "ppc64" PowerPC 64-bit |
! ARCH (choice) |
|
# PPC32 Compiler |
16,12 → 15,6 |
! [ARCH=ppc32] PPC32_COMPILER (choice) |
% [ARCH=ppc32] SAVEAS PPC32_COMPILER COMPILER |
|
# PPC64 Compiler |
@ "cross" Cross-compiler |
@ "native" Native |
! [ARCH=ppc64] PPC64_COMPILER (choice) |
% [ARCH=ppc64] SAVEAS PPC64_COMPILER COMPILER |
|
# MIPS32 Compiler |
@ "cross" Cross-compiler |
@ "native" Native |