Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | idt_int_trap_entry_s |
struct | idt_task_entry_s |
Interrupt Descriptor Table Task entry struct. More... | |
union | idt_entry_u |
Interrupt Descriptor Table entry. More... | |
struct | idt_ptr_s |
Macros | |
#define | TASK_GATE_TYPE 0b00101 |
#define | INTERRUPT_GATE_TYPE 0b01110 |
#define | TRAP_GATE_TYPE 0b01111 |
Typedefs | |
typedef struct idt_int_trap_entry_s | idt_trap_entry_t |
typedef struct idt_int_trap_entry_s | idt_int_entry_t |
typedef struct idt_task_entry_s | idt_task_entry_t |
typedef union idt_entry_u | idt_entry_t |
typedef struct idt_ptr_s | idt_ptr_t |
Functions | |
struct idt_ptr_s | __attribute__ ((packed)) |
void | idt_init (void) |
Variables | |
uint16_t | limit |
Address limit. More... | |
idt_entry_t * | base |
IDT pointer base. More... | |
#define INTERRUPT_GATE_TYPE 0b01110 |
#define TASK_GATE_TYPE 0b00101 |
#define TRAP_GATE_TYPE 0b01111 |
typedef union idt_entry_u idt_entry_t |
typedef struct idt_int_trap_entry_s idt_int_entry_t |
typedef struct idt_task_entry_s idt_task_entry_t |
typedef struct idt_int_trap_entry_s idt_trap_entry_t |
struct idt_ptr_s __attribute__ | ( | (packed) | ) |
void idt_init | ( | void | ) |
idt_entry_t* base |
IDT pointer base.
uint16_t limit |
Address limit.