Changeset 3d2d2fc2 in mainline
- Timestamp:
- 2006-02-06T17:56:31Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7febdde5
- Parents:
- 9b9f195
- Location:
- arch/mips32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/Makefile.inc
r9b9f195 r3d2d2fc2 42 42 43 43 KERNEL_LOAD_ADDRESS = 0x80100000 44 INIT_ADDRESS = 0x 8011000044 INIT_ADDRESS = 0x20000000 45 45 INIT_SIZE = 65536 46 MIPS_USPACE_ADDR = 0x2000000047 46 48 47 CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss 49 48 50 DEFS += -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE} -DMIPS_USPACE_ADDR=$(MIPS_USPACE_ADDR)49 DEFS += -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE} 51 50 52 51 ## Compile with hierarchical page tables support. … … 80 79 BFD = ecoff-littlemips 81 80 CFLAGS += -DHAVE_FPU -mips3 82 MIPS_USPACE_ADDR= 0x180000081 INIT_ADDRESS = 0x1800000 83 82 endif 84 83 ifeq ($(MIPS_MACHINE),bgxemul) … … 88 87 TOOLCHAIN_DIR = /usr/local/mips/bin 89 88 CFLAGS += -EB -DBIG_ENDIAN -DHAVE_FPU -mips3 90 MIPS_USPACE_ADDR= 0x180000089 INIT_ADDRESS = 0x1800000 91 90 endif 92 91 ifeq ($(MIPS_MACHINE),simics) -
arch/mips32/src/mips32.c
r9b9f195 r3d2d2fc2 96 96 arc_print_memory_map(); 97 97 arc_print_devices(); 98 99 /* Setup usermode...*/100 config.init_addr = MIPS_USPACE_ADDR;101 config.init_size = FRAME_SIZE;102 98 } 103 99 104 100 void arch_post_mm_init(void) 105 101 { 102 /* Setup usermode...*/ 103 config.init_addr = INIT_ADDRESS; 104 config.init_size = INIT_SIZE; 106 105 } 107 106
Note:
See TracChangeset
for help on using the changeset viewer.