build(kernel): fix compiling issues on arm

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-03-05 23:19:02 +00:00
parent 9e746c52bc
commit 0bfb45020f
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A
9 changed files with 36 additions and 0 deletions

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <cpu.hpp>
#include <pci.hpp>
@ -818,3 +820,5 @@ namespace Driver::AC97
Panic,
Probe);
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <cpu.hpp>
#include <pci.hpp>
@ -68,3 +70,5 @@ namespace Driver::AdvancedIntegratedPeripheral
return 0;
}
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include "aip.hpp"
#include <driver.hpp>
@ -222,3 +224,5 @@ namespace Driver::AdvancedIntegratedPeripheral
return 0;
}
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <interface/aip.h>
#include <cpu.hpp>
@ -258,3 +260,5 @@ namespace Driver::AdvancedIntegratedPeripheral
Panic,
Probe);
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include "aip.hpp"
#include <driver.hpp>
@ -261,3 +263,5 @@ namespace Driver::AdvancedIntegratedPeripheral
return 0;
}
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <io.h>
@ -645,3 +647,5 @@ namespace Driver::AdvancedIntegratedPeripheral
// ExPrint(keyBuf);
// }
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <cpu.hpp>
#include <pci.hpp>
@ -918,3 +920,5 @@ namespace Driver::VMwareToolBox
Panic,
Probe);
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <cpu.hpp>
#include <pci.hpp>
@ -483,3 +485,5 @@ namespace Driver::E1000
Panic,
Probe);
}
#endif

View File

@ -15,6 +15,8 @@
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(__amd64__) || defined(__i386__)
#include <driver.hpp>
#include <cpu.hpp>
#include <pci.hpp>
@ -292,3 +294,5 @@ namespace Driver::RTL8139
Panic,
Probe);
}
#endif