Ignore:
Timestamp:
Jun 9, 2017, 1:42:36 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
86c1004
Parents:
cb0d9a0
git-author:
Sebastian Huber <sebastian.huber@…> (06/09/17 13:42:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/12/17 06:01:58)
Message:

i386: Support thread-local storage (TLS)

Update #2468.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/irq/idt.c

    rcb0d9a0 r7b0c74ff  
    1919#include <rtems/score/cpu.h>
    2020#include <bsp/irq.h>
     21#include <bsp/tblsizes.h>
    2122
    2223/*
     
    332333    segment_descriptors*    gdt_entry_tbl;
    333334    /* initial amount of filled descriptors */
    334     static uint16_t         segment_selector_index = 2;
     335    static uint16_t         segment_selector_index = NUM_SYSTEM_GDT_DESCRIPTORS - 1;
    335336
    336337    segment_selector_index += 1;
Note: See TracChangeset for help on using the changeset viewer.