Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 363 → Rev 364

/SPARTAN/trunk/src/build.mips32
1,7 → 1,7
#! /bin/sh
 
if [ -z "$1" ]; then
echo "Usage: $0 [msim|simics|lgxemul|bgxemul|indy]"
echo "Usage: $0 [msim|msim4kc|simics|lgxemul|bgxemul|indy]"
exit 1
else
MACHINE=$1
/SPARTAN/trunk/arch/mips32/Makefile.inc
48,7 → 48,7
 
# MSIM needs lwl/swl patch & 4kc instruction patch to work
# otherwise add -mmemcpy -mips3
ifeq (${MACHINE},msim)
ifeq (${MACHINE},msim4kc)
BFD = binary
CFLAGS += -msoft-float -march=4kc
KERNEL_LOAD_ADDRESS = 0x80100000
55,6 → 55,13
BFD_NAME=elf32-little
endif
 
ifeq (${MACHINE},msim)
BFD = binary
CFLAGS += -msoft-float -mips3
KERNEL_LOAD_ADDRESS = 0x80100000
BFD_NAME=elf32-little
endif
 
# SIMICS 4kc emulation is broken, although for instructions
# that do not bother us
ifeq (${MACHINE},simics)
/SPARTAN/trunk/arch/mips32/src/drivers/arc.c
157,10 → 157,8
{
arc_memdescriptor_t *desc;
 
if (!arc_enabled()) {
printf("ARC not enabled.\n");
if (!arc_enabled())
return;
}
 
printf("Memory map:\n");