Turnstone Operating System
|
CPU descriptor implementations such as GDT, IDT. More...
#include <types.h>
#include <cpu.h>
#include <cpu/descriptor.h>
#include <cpu/task.h>
#include <memory.h>
#include <memory/frame.h>
#include <memory/paging.h>
#include <systeminfo.h>
#include <linker.h>
#include <logging.h>
Functions | |
MODULE ("turnstone.kernel.cpu.descriptor") | |
uint8_t | descriptor_build_gdt_register (void) |
builds a default gdt More... | |
uint8_t | descriptor_build_ap_descriptors_register (void) |
builds gdt and tss for application processor More... | |
uint8_t | descriptor_build_idt_register (void) |
builds a default idt More... | |
Variables | |
descriptor_register_t * | GDT_REGISTER = NULL |
static address of gdt for lgdtr/sgdtr | |
descriptor_register_t * | IDT_REGISTER = NULL |
static address of idt for lidtr/sidtr | |
CPU descriptor implementations such as GDT, IDT.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
uint8_t descriptor_build_ap_descriptors_register | ( | void | ) |
builds gdt and tss for application processor
uint8_t descriptor_build_gdt_register | ( | void | ) |
builds a default gdt
uint8_t descriptor_build_idt_register | ( | void | ) |
builds a default idt