segm.c File Reference

#include "routix/segm.h"
#include "routix/system.h"

Go to the source code of this file.

Functions


Function Documentation

void clear_busy_bit (  descriptor_t *  desc  )  [inline]
 

Elimina el bit de busy de un TSS.

Definition at line 71 of file segm.c.

__inline__ void lgdt (  gdtr_t *  dir_gdtr_so  ) 
 

Carga la gdt.

Definition at line 78 of file segm.c.

Referenced by init_MM_base().

__inline__ void lidt (  gdtr_t *  dir_gdtr_so  ) 
 

Carga la idt.

Definition at line 84 of file segm.c.

descriptor_t make_descriptor (  dword  base,
dword  limite,
byte  atr1,
byte  atr2
) 
 

Crea un descriptor de segmento.

Definition at line 15 of file segm.c.

Referenced by init_MM_base().

descriptor_t make_int_gate (  word  segselector,
dword  offset,
byte  atr
) 
 

Crea un descriptor de un interrupt gate.

Definition at line 31 of file segm.c.

Referenced by inicializarInterrupciones().

descriptor_t make_task_gate (  word  segselector,
byte  atr
) 
 

Definition at line 59 of file segm.c.

descriptor_t make_trap_gate (  word  segselector,
dword  offset,
byte  atr
) 
 

Crea un descriptor de un trap gate.

Definition at line 45 of file segm.c.

Referenced by inicializarInterrupciones().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6