TianoCore EDK2 master
Loading...
Searching...
No Matches
LinuxGdt.c File Reference
#include "LoadLinuxLib.h"

Go to the source code of this file.

Data Structures

struct  _GDT_ENTRY
 
struct  _GDT_ENTRIES
 

Typedefs

typedef struct _GDT_ENTRY GDT_ENTRY
 
typedef struct _GDT_ENTRIES GDT_ENTRIES
 

Functions

VOID InitLinuxDescriptorTables (VOID)
 
VOID SetLinuxDescriptorTables (VOID)
 

Variables

STATIC GDT_ENTRIESmGdt = NULL
 
STATIC GDT_ENTRIES GdtTemplate
 

Detailed Description

Initialize GDT for Linux.

Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file LinuxGdt.c.

Function Documentation

◆ InitLinuxDescriptorTables()

VOID InitLinuxDescriptorTables ( VOID  )

Initialize Global Descriptor Table.

Definition at line 133 of file LinuxGdt.c.

◆ SetLinuxDescriptorTables()

VOID SetLinuxDescriptorTables ( VOID  )

Initialize Global Descriptor Table.

Definition at line 155 of file LinuxGdt.c.

Variable Documentation

◆ GdtTemplate

STATIC GDT_ENTRIES GdtTemplate

Definition at line 48 of file LinuxGdt.c.

◆ mGdt

Definition at line 43 of file LinuxGdt.c.