aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/arch.c
Commit message (Collapse)AuthorAge
* idt: add interruption handlingRobin Krahl2017-03-06
| | | | | | | | The Interruption Descriptor Table (IDT) is implemented in idt.{c,h} as part of the core, but the setup and activation of the IDT and the registration of specific interruption request handlers is part of arch.{c,h}. The request handlers are implemented in idt.s and delegate to kernel_handle_interrupt.
* gdt: move assembler code to archRobin Krahl2017-03-06
| | | | | The assembler code to set the global descriptor table is architecture-specific and therefore moved to arch.{c,h}.
* arch: add port set, port get and additional register set functionsRobin Krahl2017-03-05
| | | | | Add regset16 and regset32 to the existing regset8 in arch.h, and prtset{8,16,32} and prtget{8,16,32} to access ports.
* initial commitRobin Krahl2017-03-05