Subversion Repositories HelenOS

Rev

Rev 1292 | Rev 1780 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1292 Rev 1702
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup ia32  
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#include <arch/pm.h>
35
#include <arch/pm.h>
30
#include <config.h>
36
#include <config.h>
31
#include <arch/types.h>
37
#include <arch/types.h>
32
#include <typedefs.h>
38
#include <typedefs.h>
33
#include <arch/interrupt.h>
39
#include <arch/interrupt.h>
Line 227... Line 233...
227
    gdt_p = (descriptor_t *) cpugdtr.base;
233
    gdt_p = (descriptor_t *) cpugdtr.base;
228
    gdt_setbase(&gdt_p[TLS_DES], tls);
234
    gdt_setbase(&gdt_p[TLS_DES], tls);
229
    /* Reload gdt register to update GS in CPU */
235
    /* Reload gdt register to update GS in CPU */
230
    gdtr_load(&cpugdtr);
236
    gdtr_load(&cpugdtr);
231
}
237
}
-
 
238
 
-
 
239
 /** @}
-
 
240
 */
-
 
241