Page MenuHomeFreeBSD

D46277.diff
No OneTemporary

D46277.diff

diff --git a/sys/riscv/include/elf.h b/sys/riscv/include/elf.h
--- a/sys/riscv/include/elf.h
+++ b/sys/riscv/include/elf.h
@@ -82,5 +82,6 @@
#define HWCAP_ISA_C HWCAP_ISA_BIT('c')
#define HWCAP_ISA_G \
(HWCAP_ISA_I | HWCAP_ISA_M | HWCAP_ISA_A | HWCAP_ISA_F | HWCAP_ISA_D)
+#define HWCAP_ISA_B HWCAP_ISA_BIT('b')
#endif /* !_MACHINE_ELF_H_ */
diff --git a/sys/riscv/riscv/identcpu.c b/sys/riscv/riscv/identcpu.c
--- a/sys/riscv/riscv/identcpu.c
+++ b/sys/riscv/riscv/identcpu.c
@@ -245,6 +245,7 @@
while (i < len) {
switch(isa[i]) {
case 'a':
+ case 'b':
case 'c':
case 'd':
case 'f':

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 6:32 PM (19 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14719091
Default Alt Text
D46277.diff (616 B)

Event Timeline