Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109588999
D27660.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27660.diff
View Options
Index: head/sys/riscv/include/sbi.h
===================================================================
--- head/sys/riscv/include/sbi.h
+++ head/sys/riscv/include/sbi.h
@@ -47,6 +47,10 @@
/* SBI Implementation IDs */
#define SBI_IMPL_ID_BBL 0
#define SBI_IMPL_ID_OPENSBI 1
+#define SBI_IMPL_ID_XVISOR 2
+#define SBI_IMPL_ID_KVM 3
+#define SBI_IMPL_ID_RUSTSBI 4
+#define SBI_IMPL_ID_DIOSIX 5
/* SBI Error Codes */
#define SBI_SUCCESS 0
Index: head/sys/riscv/riscv/sbi.c
===================================================================
--- head/sys/riscv/riscv/sbi.c
+++ head/sys/riscv/riscv/sbi.c
@@ -110,6 +110,18 @@
case (SBI_IMPL_ID_BBL):
printf("SBI: Berkely Boot Loader %lu\n", sbi_impl_version);
break;
+ case (SBI_IMPL_ID_XVISOR):
+ printf("SBI: eXtensible Versatile hypervISOR %lu\n", sbi_impl_version);
+ break;
+ case (SBI_IMPL_ID_KVM):
+ printf("SBI: Kernel-based Virtual Machine %lu\n", sbi_impl_version);
+ break;
+ case (SBI_IMPL_ID_RUSTSBI):
+ printf("SBI: RustSBI %lu\n", sbi_impl_version);
+ break;
+ case (SBI_IMPL_ID_DIOSIX):
+ printf("SBI: Diosix %lu\n", sbi_impl_version);
+ break;
case (SBI_IMPL_ID_OPENSBI):
major = sbi_impl_version >> OPENSBI_VERSION_MAJOR_OFFSET;
minor = sbi_impl_version & OPENSBI_VERSION_MINOR_MASK;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 3:09 AM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16520691
Default Alt Text
D27660.diff (1 KB)
Attached To
Mode
D27660: riscv: report additional known SBI implementations
Attached
Detach File
Event Timeline
Log In to Comment