diff options
| author | Alex Chiang <achiang@sw04.internal.sifive.com> | 2023-04-27 01:40:15 -0700 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2023-05-12 16:57:32 +0200 |
| commit | c3cdf434f32e3f158b8caedd45113384bf4aed14 (patch) | |
| tree | 151fb90d14cfa780ade10c36563085c89f4ea5ed /cpu_features.h | |
| parent | 9087c75f8d9a35c7d7801440c23deb555e77714e (diff) | |
| download | Project-Tick-c3cdf434f32e3f158b8caedd45113384bf4aed14.tar.gz Project-Tick-c3cdf434f32e3f158b8caedd45113384bf4aed14.zip | |
Add supporting RISC-V cross compilation workflows
Add RISC-V cross-compilation test
Enable RVV support at compile time
Diffstat (limited to 'cpu_features.h')
| -rw-r--r-- | cpu_features.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu_features.h b/cpu_features.h index 2e1a888e38..647d027f6e 100644 --- a/cpu_features.h +++ b/cpu_features.h @@ -18,6 +18,8 @@ # include "arch/power/power_features.h" #elif defined(S390_FEATURES) # include "arch/s390/s390_features.h" +#elif defined(RISCV_FEATURES) +# include "arch/riscv/riscv_features.h" #endif struct cpu_features { @@ -29,6 +31,8 @@ struct cpu_features { struct power_cpu_features power; #elif defined(S390_FEATURES) struct s390_cpu_features s390; +#elif defined(RISCV_FEATURES) + struct riscv_cpu_features riscv; #else char empty; #endif |
