Changeset 32573ff in mainline for kernel/arch/ia32/src/ia32.c


Ignore:
Timestamp:
2016-05-02T20:58:16Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline, which has dltest and fixes.

File:
1 edited

Legend:

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

    r6adb775f r32573ff  
    5757#include <genarch/multiboot/multiboot.h>
    5858#include <genarch/multiboot/multiboot2.h>
     59#include <arch/pm.h>
     60#include <arch/vreg.h>
    5961
    6062#ifdef CONFIG_SMP
     
    9698void arch_post_mm_init(void)
    9799{
     100        vreg_init();
     101
    98102        if (config.cpu_active == 1) {
    99103                /* Initialize IRQ routing */
     
    122126                zone_merge_all();
    123127        }
     128
    124129}
    125130
     
    216221}
    217222
    218 /** Set thread-local-storage pointer
    219  *
    220  * TLS pointer is set in GS register. That means, the GS contains
    221  * 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 
    231223/** Construct function pointer
    232224 *
Note: See TracChangeset for help on using the changeset viewer.