ladybird/Kernel/Arch/CPUID.h
2023-10-28 10:36:06 -06:00

20 lines
400 B
C

/*
* Copyright (c) 2023, kleines Filmröllchen <filmroellchen@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
#if ARCH(X86_64)
# include <Kernel/Arch/x86_64/CPUID.h>
#elif ARCH(AARCH64)
# include <Kernel/Arch/aarch64/CPUID.h>
#elif ARCH(RISCV64)
# include <Kernel/Arch/riscv64/CPUID.h>
#else
# error "Unknown architecture"
#endif