Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1156 → Rev 1157

/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/regname.h
217,8 → 217,4
#define hid0_icfi (1 << 11)
#define hid0_dci (1 << 10)
 
/* Cache sizes */
#define L1_CACHE_LINES (128 * 8)
#define L1_CACHE_BYTES 5
 
#endif
/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 = \