Subversion Repositories HelenOS-historic

Rev

Rev 924 | Rev 1106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 924 Rev 938
Line 39... Line 39...
39
ifndef MIPS_MACHINE
39
ifndef MIPS_MACHINE
40
	MIPS_MACHINE = msim
40
	MIPS_MACHINE = msim
41
endif
41
endif
42
 
42
 
43
KERNEL_LOAD_ADDRESS = 0x80100000
43
KERNEL_LOAD_ADDRESS = 0x80100000
44
INIT_ADDRESS = 0x20000000
44
INIT_ADDRESS = 0x81000000
45
INIT_SIZE = 65536
45
INIT_SIZE = 65536
46
 
46
 
47
CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
47
CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
48
 
48
 
49
DEFS += -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
49
DEFS += -D__32_BITS__ -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
50
 
50
 
51
## Compile with hierarchical page tables support.
51
## Compile with hierarchical page tables support.
52
#
52
#
53
 
53
 
54
CONFIG_PAGE_PT = y
54
CONFIG_PAGE_PT = y
Line 78... Line 78...
78
endif
78
endif
79
ifeq ($(MIPS_MACHINE),lgxemul)
79
ifeq ($(MIPS_MACHINE),lgxemul)
80
	BFD_NAME=elf32-tradlittlemips
80
	BFD_NAME=elf32-tradlittlemips
81
	BFD = ecoff-littlemips
81
	BFD = ecoff-littlemips
82
	CFLAGS += -DARCH_HAS_FPU -mips3
82
	CFLAGS += -DARCH_HAS_FPU -mips3
83
	INIT_ADDRESS = 0x1800000
83
	INIT_ADDRESS = 0x81800000
84
endif
84
endif
85
ifeq ($(MIPS_MACHINE),bgxemul)
85
ifeq ($(MIPS_MACHINE),bgxemul)
86
	BFD_NAME=elf32-bigmips
86
	BFD_NAME=elf32-bigmips
87
	BFD = ecoff-bigmips
87
	BFD = ecoff-bigmips
88
	TARGET = mips-sgi-irix5
88
	TARGET = mips-sgi-irix5
89
	TOOLCHAIN_DIR = /usr/local/mips/bin
89
	TOOLCHAIN_DIR = /usr/local/mips/bin
90
	CFLAGS += -EB -DBIG_ENDIAN -DARCH_HAS_FPU -mips3
90
	CFLAGS += -EB -DBIG_ENDIAN -DARCH_HAS_FPU -mips3
91
	INIT_ADDRESS = 0x1800000
91
	INIT_ADDRESS = 0x81800000
92
endif
92
endif
93
ifeq ($(MIPS_MACHINE),simics)
93
ifeq ($(MIPS_MACHINE),simics)
94
	# SIMICS 4kc emulation is broken, although for instructions
94
	# SIMICS 4kc emulation is broken, although for instructions
95
	# that do not bother us
95
	# that do not bother us
96
	
96