mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
20 lines
400 B
C
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
|