mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Kernel/riscv64: Add register state related headers
This commit is contained in:
parent
978cc1c197
commit
24e64cac7e
10 changed files with 260 additions and 0 deletions
21
Kernel/Arch/riscv64/FPUState.h
Normal file
21
Kernel/Arch/riscv64/FPUState.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Sönke Holz <sholz8530@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_RISCV64()
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
struct FPUState {
|
||||
u64 f[32];
|
||||
u64 fcsr;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue