1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00
serenity/Userland/Libraries/LibC/sys/arch/regs.h
2023-11-10 10:30:08 -07:00

19 lines
344 B
C

/*
* Copyright (c) 2021, Leon Albrecht <leon2002.la@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
#if ARCH(X86_64)
# include "x86_64/regs.h"
#elif ARCH(AARCH64)
# include "aarch64/regs.h"
#elif ARCH(RISCV64)
# include "riscv64/regs.h"
#else
# error Unknown architecture
#endif