Changeset 3d2d2fc2 in mainline


Ignore:
Timestamp:
2006-02-06T17:56:31Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7febdde5
Parents:
9b9f195
Message:

Fixed uspace address constants.

Location:
arch/mips32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/Makefile.inc

    r9b9f195 r3d2d2fc2  
    4242
    4343KERNEL_LOAD_ADDRESS = 0x80100000
    44 INIT_ADDRESS = 0x80110000
     44INIT_ADDRESS = 0x20000000
    4545INIT_SIZE = 65536
    46 MIPS_USPACE_ADDR = 0x20000000
    4746
    4847CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
    4948
    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)
     49DEFS += -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
    5150
    5251## Compile with hierarchical page tables support.
     
    8079        BFD = ecoff-littlemips
    8180        CFLAGS += -DHAVE_FPU -mips3
    82         MIPS_USPACE_ADDR = 0x1800000
     81        INIT_ADDRESS = 0x1800000
    8382endif
    8483ifeq ($(MIPS_MACHINE),bgxemul)
     
    8887        TOOLCHAIN_DIR = /usr/local/mips/bin
    8988        CFLAGS += -EB -DBIG_ENDIAN -DHAVE_FPU -mips3
    90         MIPS_USPACE_ADDR = 0x1800000
     89        INIT_ADDRESS = 0x1800000
    9190endif
    9291ifeq ($(MIPS_MACHINE),simics)
  • arch/mips32/src/mips32.c

    r9b9f195 r3d2d2fc2  
    9696        arc_print_memory_map();
    9797        arc_print_devices();
    98 
    99         /* Setup usermode...*/
    100         config.init_addr = MIPS_USPACE_ADDR;
    101         config.init_size = FRAME_SIZE;
    10298}
    10399
    104100void arch_post_mm_init(void)
    105101{
     102        /* Setup usermode...*/
     103        config.init_addr = INIT_ADDRESS;
     104        config.init_size = INIT_SIZE;
    106105}
    107106
Note: See TracChangeset for help on using the changeset viewer.