Changeset bc73be3 in mainline for kernel/arch/mips32/src/mips32.c
- Timestamp:
- 2019-06-27T08:51:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/arch/mips32/src/mips32.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
rad40b74b rbc73be3 71 71 arch_ops_t *arch_ops = &mips32_ops; 72 72 73 /*74 * Why the linker moves the variable 64K away in assembler75 * when not in .text section?76 */77 78 73 /* Stack pointer saved when entering user mode */ 79 uintptr_t supervisor_sp __attribute__((section(".text"))); 74 // FIXME: This won't work with SMP unless thread creation is globally serialized. 75 uintptr_t supervisor_sp; 80 76 81 77 size_t cpu_count = 0; … … 106 102 sdram_size = bootinfo->sdram_size; 107 103 #endif 104 105 str_cpy(bargs, CONFIG_BOOT_ARGUMENTS_BUFLEN, bootinfo->bootargs); 108 106 109 107 /* Initialize machine_ops pointer. */
Note:
See TracChangeset
for help on using the changeset viewer.
