Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143706969
D48885.id54425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
954 B
Referenced Files
None
Subscribers
None
D48885.id54425.diff
View Options
diff --git a/stand/efi/include/efiprot.h b/stand/efi/include/efiprot.h
--- a/stand/efi/include/efiprot.h
+++ b/stand/efi/include/efiprot.h
@@ -632,4 +632,31 @@
CHAR8 **SupportedLanguages;
} EFI_COMPONENT_NAME2;
+//
+// RISC-V EFI Boot Protocol
+//
+// https://github.com/riscv-non-isa/riscv-uefi
+//
+
+#define RISCV_EFI_BOOT_PROTOCOL_GUID \
+ { 0xccd15fec, 0x6f73, 0x4eec, {0x83, 0x95, 0x3e, 0x69, 0xe4, 0xb9, 0x40, 0xbf} }
+
+INTERFACE_DECL(_RISCV_EFI_BOOT_PROTOCOL);
+
+#define RISCV_EFI_BOOT_PROTOCOL_REVISION 0x00010000
+#define RISCV_EFI_BOOT_PROTOCOL_LATEST_VERSION \
+ RISCV_EFI_BOOT_PROTOCOL_REVISION
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_GET_BOOT_HARTID) (
+ IN struct _RISCV_EFI_BOOT_PROTOCOL *This,
+ OUT UINTN *BootHartId
+ );
+
+typedef struct _RISCV_EFI_BOOT_PROTOCOL {
+ UINT64 Revision;
+ EFI_GET_BOOT_HARTID GetBootHartId;
+} RISCV_EFI_BOOT_PROTOCOL;
+
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 8:05 AM (2 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28315159
Default Alt Text
D48885.id54425.diff (954 B)
Attached To
Mode
D48885: efiprot.h: add definitions for RISCV_EFI_BOOT_PROTOCOL
Attached
Detach File
Event Timeline
Log In to Comment