os/kernel/cpu/i386/gdt.h

27 lines
244 B
C
Raw Normal View History

2020-07-25 16:54:37 -05:00
/**
* \file
*/
2019-02-09 13:54:40 -06:00
#ifndef GDT_H
#define GDT_H
2020-07-25 16:54:37 -05:00
/**
* Initializes the GDT & TSS.
*/
2019-02-09 13:54:40 -06:00
void gdt_init();
2020-07-25 16:54:37 -05:00
/**
* Allows all ports in the IOPB.
*/
2019-03-12 17:26:19 -05:00
void allow_all_ports();
2020-07-25 16:54:37 -05:00
/**
* Blocks all ports in the IOPB.
*/
2019-03-12 17:26:19 -05:00
void block_all_ports();
2019-02-09 13:54:40 -06:00
#endif