1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

Kernel: Make the kernel compile & link for x86_64

It's now possible to build the whole kernel with an x86_64 toolchain.
There's no bootstrap code so it doesn't work yet (obviously.)
This commit is contained in:
Andreas Kling 2021-03-04 17:50:05 +01:00
parent aae91dda66
commit adb2e6be5f
15 changed files with 316 additions and 48 deletions

View file

@ -27,13 +27,18 @@
#pragma once
#include <AK/NonnullOwnPtr.h>
#include <Kernel/Devices/USB/UHCIDescriptorTypes.h>
#include <Kernel/IO.h>
#include <Kernel/PCI/Device.h>
#include <Kernel/Process.h>
#include <Kernel/Time/TimeManagement.h>
#include <Kernel/VM/ContiguousVMObject.h>
#include <AK/Platform.h>
// FIXME: This should not be i386-specific.
#if ARCH(I386)
# include <AK/NonnullOwnPtr.h>
# include <Kernel/Devices/USB/UHCIDescriptorTypes.h>
# include <Kernel/IO.h>
# include <Kernel/PCI/Device.h>
# include <Kernel/Process.h>
# include <Kernel/Time/TimeManagement.h>
# include <Kernel/VM/ContiguousVMObject.h>
namespace Kernel::USB {
@ -100,3 +105,4 @@ private:
};
}
#endif