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

Kernel/riscv64: Add RISC-V Processor class

This commit is contained in:
Sönke Holz 2023-10-21 16:23:58 +02:00 committed by Andrew Kaster
parent 24e64cac7e
commit 194bf5a677
7 changed files with 406 additions and 0 deletions

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2023, Sönke Holz <sholz8530@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/ArbitrarySizedEnum.h>
#include <AK/Types.h>
#include <AK/UFixedBigInt.h>
#include <AK/Platform.h>
VALIDATE_IS_RISCV64()
AK_MAKE_ARBITRARY_SIZED_ENUM(CPUFeature, u256,
__End = CPUFeature(1u) << 255u) // SENTINEL VALUE