diff options
| author | Anup Patel <apatel@ventanamicro.com> | 2023-07-05 12:23:57 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2023-07-09 11:06:28 +0530 |
| commit | 72b9c8ff89a963bcec0a7f41fc679ee5246efd01 (patch) | |
| tree | f6237ab8a6f551d9fcffff5000e797a4a83b4f37 /include | |
| parent | 669089c5f291f5543db1c46e8d6b04ffe49e9576 (diff) | |
| download | opensbi-72b9c8ff89a963bcec0a7f41fc679ee5246efd01.zip opensbi-72b9c8ff89a963bcec0a7f41fc679ee5246efd01.tar.gz opensbi-72b9c8ff89a963bcec0a7f41fc679ee5246efd01.tar.bz2 | |
lib: sbi: Alphabetically sort HART ISA extensions
Let us follow alphabetical order for HART ISA extension so that
it is simpler to maintain.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_hart.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index 938248f..b97f78c 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -26,16 +26,16 @@ enum sbi_hart_priv_versions { /** Possible ISA extensions of a hart */ enum sbi_hart_extensions { - /** Hart has Sscofpmt extension */ - SBI_HART_EXT_SSCOFPMF = 0, - /** HART has Zicntr extension (i.e. HW cycle, time & instret CSRs) */ - SBI_HART_EXT_ZICNTR, /** HART has AIA M-mode CSRs */ - SBI_HART_EXT_SMAIA, + SBI_HART_EXT_SMAIA = 0, /** HART has Smstateen CSR **/ SBI_HART_EXT_SMSTATEEN, + /** Hart has Sscofpmt extension */ + SBI_HART_EXT_SSCOFPMF, /** HART has Sstc extension */ SBI_HART_EXT_SSTC, + /** HART has Zicntr extension (i.e. HW cycle, time & instret CSRs) */ + SBI_HART_EXT_ZICNTR, /** HART has Zihpm extension */ SBI_HART_EXT_ZIHPM, |
