Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mips32.c

    rd86393c8 r63a045c  
    7171arch_ops_t *arch_ops = &mips32_ops;
    7272
     73/*
     74 * Why the linker moves the variable 64K away in assembler
     75 * when not in .text section?
     76 */
     77
    7378/* Stack pointer saved when entering user mode */
    74 // FIXME: This won't work with SMP unless thread creation is globally serialized.
    75 uintptr_t supervisor_sp;
     79uintptr_t supervisor_sp __attribute__((section(".text")));
    7680
    7781size_t cpu_count = 0;
     
    102106        sdram_size = bootinfo->sdram_size;
    103107#endif
    104 
    105         str_cpy(bargs, CONFIG_BOOT_ARGUMENTS_BUFLEN, bootinfo->bootargs);
    106108
    107109        /* Initialize machine_ops pointer. */
Note: See TracChangeset for help on using the changeset viewer.