1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:27:44 +00:00

Kernel: Don't directly include <Kernel/Arch/x86/TrapFrame.h>

This adds a new arch-independent header which in turn includes the
correct header for the build architecture.
This commit is contained in:
Gunnar Beutner 2022-10-16 16:57:21 +02:00 committed by Linus Groh
parent 918fdf9e2c
commit 1e3edb3b76
9 changed files with 25 additions and 8 deletions

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Arch/TrapFrame.h>
#include <Kernel/Arch/x86/DescriptorTable.h>
#include <Kernel/Arch/x86/TrapFrame.h>
// clang-format off
asm(

View file

@ -6,7 +6,7 @@
#include <AK/StdLibExtras.h>
#include <Kernel/Arch/Processor.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Arch/TrapFrame.h>
#include <Kernel/Process.h>
#include <Kernel/Random.h>
#include <Kernel/Scheduler.h>