Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork175
Add #[repr(C)] to AllocateType#1186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add #[repr(C)] to AllocateType#1186
Uh oh!
There was an error while loading.Please reload this page.
Conversation
EFI_ALLOCATE_TYPE is a C enum (https://uefi.org/specs/UEFI/2.10/07_Services_Boot_Services.html?highlight=efi_allocate_type#efi-boot-services-allocatepages),and it's used in protocols such as the PCI Root Bridge I/O protocol (https://uefi.org/specs/UEFI/2.10/14_Protocols_PCI_Bus_Support.html#efi-pci-root-bridge-io-protocol-allocatebuffer).
I don't think a uefi-rs/uefi/src/table/boot.rs Lines 157 to 161 in9cb1d38
|
You're right. Also, the |
EFI_ALLOCATE_TYPE is a C enum (https://uefi.org/specs/UEFI/2.10/07_Services_Boot_Services.html?highlight=efi_allocate_type#efi-boot-services-allocatepages), and it's used in protocols such as the PCI Root Bridge I/O protocol (https://uefi.org/specs/UEFI/2.10/14_Protocols_PCI_Bus_Support.html#efi-pci-root-bridge-io-protocol-allocatebuffer).
Would you like me to add this to the changelog?