aboutsummaryrefslogtreecommitdiff
path: root/kernel/boot
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/boot')
-rw-r--r--kernel/boot/interrupts/exceptions.cc (renamed from kernel/boot/idt/exceptions.cc)4
-rw-r--r--kernel/boot/interrupts/idt.cc (renamed from kernel/boot/idt/idt.cc)6
-rw-r--r--kernel/boot/interrupts/isr.s (renamed from kernel/boot/idt/isr.s)0
3 files changed, 5 insertions, 5 deletions
diff --git a/kernel/boot/idt/exceptions.cc b/kernel/boot/interrupts/exceptions.cc
index 79ffd68..d05bd77 100644
--- a/kernel/boot/idt/exceptions.cc
+++ b/kernel/boot/interrupts/exceptions.cc
@@ -16,13 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <boot/idt.h>
+#include <boot/interrupts.h>
#include <common.h>
#include <kernel/halt.h>
#include <libk/stdio.h>
#include <stdbool.h>
-namespace IDT
+namespace Interrupts
{
void
diff --git a/kernel/boot/idt/idt.cc b/kernel/boot/interrupts/idt.cc
index abce0d8..b6a6e07 100644
--- a/kernel/boot/idt/idt.cc
+++ b/kernel/boot/interrupts/idt.cc
@@ -16,11 +16,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <boot/idt.h>
+#include <boot/interrupts.h>
#include <kernel/io.h>
#include <libk/stdio.h>
-namespace IDT
+namespace Interrupts
{
extern "C" void *isr_stub_table[];
@@ -29,7 +29,7 @@ entry_t l_entries[256];
descriptor_t descriptor = { sizeof(l_entries) - 1, l_entries };
void
-load(void)
+load_idt(void)
{
for (uint16_t i = 0; i < 256; i++)
l_entries[i] = (entry_t) { 0 };
diff --git a/kernel/boot/idt/isr.s b/kernel/boot/interrupts/isr.s
index 925bb27..925bb27 100644
--- a/kernel/boot/idt/isr.s
+++ b/kernel/boot/interrupts/isr.s