Changeset 8449000 in mainline
- Timestamp:
- 2006-06-18T20:21:54Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3e29b75
- Parents:
- beec330
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/mips32.c
rbeec330 r8449000 68 68 #define CACHE_EXC ((char *) 0x80000100) 69 69 70 bootinfo_t bootinfo; 70 71 /* Why the linker moves the variable 64K away in assembler 72 * when not in .text section ???????? 73 */ 74 __address supervisor_sp __attribute__ ((section (".text"))); 75 /* Stack pointer saved when entering user mode */ 76 /* TODO: How do we do it on SMP system???? */ 77 bootinfo_t bootinfo __attribute__ ((section (".text"))); 71 78 72 79 void arch_pre_main(void) … … 121 128 { 122 129 #ifdef CONFIG_FB 123 130 fb_init(0x12000000, 640, 480, 24, 1920); // gxemul framebuffer 124 131 #endif 125 132 sysinfo_set_item_val("machine." STRING(MACHINE),NULL,1); 126 133 } 127 134 … … 133 140 { 134 141 } 135 136 /* Stack pointer saved when entering user mode */137 /* TODO: How do we do it on SMP system???? */138 139 /* Why the linker moves the variable 64K away in assembler140 * when not in .text section ????????141 */142 __address supervisor_sp __attribute__ ((section (".text")));143 142 144 143 void userspace(uspace_arg_t *kernel_uarg)
Note:
See TracChangeset
for help on using the changeset viewer.