IDT structure.
More...
#include <arch/x86_64/idt.hpp>
|
|
| idt (const idt &other)=delete |
| | Copy c-tor.
|
|
auto | operator= (const idt &other) -> idt &=delete |
| | Copy assignment.
|
|
| idt (idt &&other)=delete |
| | Move c-tor.
|
|
auto | operator= (idt &&other) -> idt &=delete |
| | Move assignment.
|
|
| idt () noexcept=default |
| | Default c-tor.
|
|
| ~idt () noexcept=default |
| | D-tor.
|
|
| static constexpr auto | IDT_SIZE {256_usize} |
| | Number of IDT entries.
|
IDT structure.
Definition at line 33 of file idt.hpp.
◆ offset_t
IDT offset type.
Definition at line 78 of file idt.hpp.
◆ table_t
IDT table type.
Definition at line 75 of file idt.hpp.
◆ calcSize()
|
|
staticnodiscardconstexprnoexcept |
Calc IDT size.
Calculate IDT size.
- Parameters
-
- Returns
- IDT size in bytes - 1 (IDT pointer limit)
Definition at line 125 of file idt.hpp.
◆ init()
| void igros::x86_64::idt::init |
( |
| ) |
|
|
staticnoexcept |
Init IDT table.
Definition at line 71 of file idt.cpp.
◆ setEntry()
|
|
inlinestaticnodiscardnoexcept |
Make IDT entry.
- Parameters
-
| handle | Handler address |
| selector | Code segment selector |
| type | Gate type and attributes |
- Returns
- IDT entry
Definition at line 109 of file idt.hpp.
◆ setPointer()
| void igros::x86_64::idt::setPointer |
( |
const pointer_t & | pointer | ) |
|
|
staticnoexcept |
Set IDT pointer.
- Parameters
-
| pointer | IDT pointer to load |
Definition at line 64 of file idt.cpp.
◆ IDT_SIZE
| auto igros::x86_64::idt::IDT_SIZE {256_usize} |
|
staticconstexprprivate |
Number of IDT entries.
Definition at line 36 of file idt.hpp.
The documentation for this class was generated from the following files: