TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Structures de données | Macros | Définitions de type | Fonctions
Référence du fichier gdt.h
#include <types.h>
Graphe des dépendances par inclusion de gdt.h:
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Structures de données

struct  x86_segment_descriptor
 Segment Descriptor (cf doc intel v3. 3.4.3) Plus de détails...
 
struct  tss
 

Macros

#define KERNEL_CODE_SEGMENT   0x08
 
#define KERNEL_DATA_SEGMENT   0x10
 
#define KERNEL_STACK_SEGMENT   (KERNEL_DATA_SEGMENT)
 
#define USER_CODE_SEGMENT   0x1B
 
#define USER_DATA_SEGMENT   0x23
 
#define USER_STACK_SEGMENT   (USER_DATA_SEGMENT)
 

Définitions de type

typedef struct tss tss_t
 

Fonctions

void gdt_setup (size_t ram_size)
 
void init_tss (uint32_t stack_address)
 
tss_tget_default_tss ()
 

Description détaillée

Auteur
TacOS developers

LICENSE

Copyright (C) 2010, 2011, 2012 - TacOS developers.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

DESCRIPTION

Description de ce que fait le fichier

Documentation des fonctions

void gdt_setup ( size_t  ram_size)

Configuration de la gdt.

Paramètres
ram_sizeTaille de la ram. 0 si non connue.