mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
build(kernel): fix compiling issues on arm
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
9e746c52bc
commit
0bfb45020f
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
#include <pci.hpp>
|
#include <pci.hpp>
|
||||||
@ -818,3 +820,5 @@ namespace Driver::AC97
|
|||||||
Panic,
|
Panic,
|
||||||
Probe);
|
Probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
#include <pci.hpp>
|
#include <pci.hpp>
|
||||||
@ -68,3 +70,5 @@ namespace Driver::AdvancedIntegratedPeripheral
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include "aip.hpp"
|
#include "aip.hpp"
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
@ -222,3 +224,5 @@ namespace Driver::AdvancedIntegratedPeripheral
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <interface/aip.h>
|
#include <interface/aip.h>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
@ -258,3 +260,5 @@ namespace Driver::AdvancedIntegratedPeripheral
|
|||||||
Panic,
|
Panic,
|
||||||
Probe);
|
Probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include "aip.hpp"
|
#include "aip.hpp"
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
@ -261,3 +263,5 @@ namespace Driver::AdvancedIntegratedPeripheral
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Drivers. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
|
||||||
@ -645,3 +647,5 @@ namespace Driver::AdvancedIntegratedPeripheral
|
|||||||
// ExPrint(keyBuf);
|
// ExPrint(keyBuf);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
#include <pci.hpp>
|
#include <pci.hpp>
|
||||||
@ -918,3 +920,5 @@ namespace Driver::VMwareToolBox
|
|||||||
Panic,
|
Panic,
|
||||||
Probe);
|
Probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
#include <pci.hpp>
|
#include <pci.hpp>
|
||||||
@ -483,3 +485,5 @@ namespace Driver::E1000
|
|||||||
Panic,
|
Panic,
|
||||||
Probe);
|
Probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__amd64__) || defined(__i386__)
|
||||||
|
|
||||||
#include <driver.hpp>
|
#include <driver.hpp>
|
||||||
#include <cpu.hpp>
|
#include <cpu.hpp>
|
||||||
#include <pci.hpp>
|
#include <pci.hpp>
|
||||||
@ -292,3 +294,5 @@ namespace Driver::RTL8139
|
|||||||
Panic,
|
Panic,
|
||||||
Probe);
|
Probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user