From 83c8acce068d34cef2602092c82a9461b3897a22 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 17 Oct 2022 04:09:54 +0300 Subject: [PATCH] Fixed compiling for x32 & arm64 --- {Core => Architecture/i686}/Interrupts/8259PIC.cpp | 0 {Core => Architecture/i686}/Interrupts/pic.hpp | 0 Core/Interrupts/IntManager.cpp | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename {Core => Architecture/i686}/Interrupts/8259PIC.cpp (100%) rename {Core => Architecture/i686}/Interrupts/pic.hpp (100%) diff --git a/Core/Interrupts/8259PIC.cpp b/Architecture/i686/Interrupts/8259PIC.cpp similarity index 100% rename from Core/Interrupts/8259PIC.cpp rename to Architecture/i686/Interrupts/8259PIC.cpp diff --git a/Core/Interrupts/pic.hpp b/Architecture/i686/Interrupts/pic.hpp similarity index 100% rename from Core/Interrupts/pic.hpp rename to Architecture/i686/Interrupts/pic.hpp diff --git a/Core/Interrupts/IntManager.cpp b/Core/Interrupts/IntManager.cpp index 174036f..054e753 100644 --- a/Core/Interrupts/IntManager.cpp +++ b/Core/Interrupts/IntManager.cpp @@ -138,11 +138,11 @@ namespace Interrupts { trace("Unhandled interrupt IRQ%d", Frame->InterruptNumber - 32); #elif defined(__i386__) - void Handler::OnInterruptReceived(void *Frame); + void Handler::OnInterruptReceived(void *Frame) { trace("Unhandled interrupt received"); #elif defined(__aarch64__) - void Handler::OnInterruptReceived(void *Frame); + void Handler::OnInterruptReceived(void *Frame) { trace("Unhandled interrupt received"); #endif