diff --git a/uefi/src/table/boot.rs b/uefi/src/table/boot.rs index 1a5e44876..cf42145eb 100644 --- a/uefi/src/table/boot.rs +++ b/uefi/src/table/boot.rs @@ -1585,6 +1585,7 @@ impl<'a, P: Protocol + ?Sized> ScopedProtocol<'a, P> { } /// Type of allocation to perform. +#[repr(C)] #[derive(Debug, Copy, Clone)] pub enum AllocateType { /// Allocate any possible pages.