mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +00:00
Kernel: Use u64 instead of int for the bitfields of CPACR_EL1
This fixes the Clang build of the aarch64 port
This commit is contained in:
parent
d0403d24d4
commit
28acf25035
1 changed files with 10 additions and 10 deletions
|
@ -1346,16 +1346,16 @@ static_assert(sizeof(PMCCNTR_EL0) == 8);
|
||||||
|
|
||||||
// D17.2.30 CPACR_EL1, Architectural Feature Access Control Register
|
// D17.2.30 CPACR_EL1, Architectural Feature Access Control Register
|
||||||
struct alignas(u64) CPACR_EL1 {
|
struct alignas(u64) CPACR_EL1 {
|
||||||
int _reserved0 : 16 = 0;
|
u64 _reserved0 : 16 = 0;
|
||||||
int ZEN : 2;
|
u64 ZEN : 2;
|
||||||
int _reserved18 : 2 = 0;
|
u64 _reserved18 : 2 = 0;
|
||||||
int FPEN : 2;
|
u64 FPEN : 2;
|
||||||
int _reserved22 : 2 = 0;
|
u64 _reserved22 : 2 = 0;
|
||||||
int SMEN : 2;
|
u64 SMEN : 2;
|
||||||
int _reserved26 : 2 = 0;
|
u64 _reserved26 : 2 = 0;
|
||||||
int TTA : 1;
|
u64 TTA : 1;
|
||||||
int _reserved29 : 3 = 0;
|
u64 _reserved29 : 3 = 0;
|
||||||
int _reserved32 : 32 = 0;
|
u64 _reserved32 : 32 = 0;
|
||||||
|
|
||||||
static inline void write(CPACR_EL1 cpacr_el1)
|
static inline void write(CPACR_EL1 cpacr_el1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue