Changeset 32573ff in mainline for kernel/arch/ia32/src/ia32.c
- Timestamp:
- 2016-05-02T20:58:16Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (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
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ia32.c
r6adb775f r32573ff 57 57 #include <genarch/multiboot/multiboot.h> 58 58 #include <genarch/multiboot/multiboot2.h> 59 #include <arch/pm.h> 60 #include <arch/vreg.h> 59 61 60 62 #ifdef CONFIG_SMP … … 96 98 void arch_post_mm_init(void) 97 99 { 100 vreg_init(); 101 98 102 if (config.cpu_active == 1) { 99 103 /* Initialize IRQ routing */ … … 122 126 zone_merge_all(); 123 127 } 128 124 129 } 125 130 … … 216 221 } 217 222 218 /** Set thread-local-storage pointer219 *220 * TLS pointer is set in GS register. That means, the GS contains221 * selector, and the descriptor->base is the correct address.222 */223 sysarg_t sys_tls_set(uintptr_t addr)224 {225 THREAD->arch.tls = addr;226 set_tls_desc(addr);227 228 return EOK;229 }230 231 223 /** Construct function pointer 232 224 *
Note:
See TracChangeset
for help on using the changeset viewer.