Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7457b94
Switch to r-efi 6.0
vineelko Apr 27, 2026
381ac28
R-EFI: Event, Timer, and Task Priority Services
vineelko Apr 27, 2026
72cbba0
R-EFI: Image Services: LoadImage
vineelko Apr 25, 2026
9603d2d
R-EFI: Image Services: StartImage
vineelko Apr 25, 2026
5f20b01
R-EFI: Image Services: Exit
vineelko Apr 25, 2026
9441bda
R-EFI: Image Services: ExitBootServices
vineelko Apr 17, 2026
3a8c43e
R-EFI: Image Services: UnloadImage
vineelko Apr 27, 2026
fbf90c7
R-EFI: Miscellaneous Boot Services: SetWatchdogTimer
vineelko Apr 17, 2026
b288ca1
R-EFI: Miscellaneous Boot Services: CopyMem/SetMem
vineelko Apr 27, 2026
6c48390
R-EFI: Miscellaneous Boot Services: GetNextMonotonicCount
vineelko Apr 17, 2026
6130708
R-EFI: Miscellaneous Boot Services: CalculateCrc32
vineelko Apr 30, 2026
66a67ea
R-EFI: Miscellaneous Boot Services: InstallConfigurationTable
vineelko Apr 27, 2026
c938a3c
R-EFI: Memory Allocation Services: AllocatePages
vineelko Apr 20, 2026
6fdc926
R-EFI: Memory Allocation Services: AllocatePool
vineelko Apr 20, 2026
c878919
R-EFI: Memory Allocation Services: FreePool
vineelko Apr 20, 2026
419d119
R-EFI: Memory Allocation Services: FreePages
vineelko Apr 20, 2026
c634eaf
R-EFI: Memory Allocation Services: GetMemoryMap
vineelko Apr 20, 2026
c145d29
R-EFI: Protocol Handler Services: InstallProtocolInterface
vineelko Apr 20, 2026
f7d1bfa
R-EFI: Protocol Handler Services: ReinstallProtocolInterface
vineelko Apr 20, 2026
c583561
R-EFI: Protocol Handler Services: UninstallProtocolInterface
vineelko Apr 27, 2026
60ba231
R-EFI: Protocol Handler Services: (Un)InstallMultipleProtocolInterfaces
vineelko Apr 20, 2026
f4af310
R-EFI: Protocol Handler Services: RegisterProtocolNotify
vineelko Apr 20, 2026
5cb6827
R-EFI: Protocol Handler Services: LocateHandle
vineelko Apr 21, 2026
b7e54e6
R-EFI: Protocol Handler Services: HandleProtocol
vineelko Apr 21, 2026
a091ce8
R-EFI: Protocol Handler Services: LocateDevicePath
vineelko Apr 21, 2026
49f3aa4
R-EFI: Protocol Handler Services: OpenProtocol
vineelko Apr 21, 2026
b511fc1
R-EFI: Protocol Handler Services: CloseProtocol
vineelko Apr 22, 2026
a763729
R-EFI: Protocol Handler Services: OpenProtocolInformation
vineelko Apr 22, 2026
645b71d
R-EFI: Protocol Handler Services: ConnectController
vineelko Apr 23, 2026
2170950
R-EFI: Protocol Handler Services: DisconnectController
vineelko Apr 27, 2026
07681e1
R-EFI: Protocol Handler Services: ProtocolsPerHandle
vineelko Apr 25, 2026
07c6c40
R-EFI: Protocol Handler Services: LocateHandleBuffer
vineelko Apr 23, 2026
1f9146b
R-EFI: Protocol Handler Services: LocateProtocol
vineelko Apr 23, 2026
e49f8e5
R-EFI: Variable Services: GetVariable
vineelko Apr 24, 2026
1edb92e
R-EFI: Variable Services: GetNextVariableName
vineelko Apr 24, 2026
b11ae32
R-EFI: Variable Services: SetVariable
vineelko Apr 24, 2026
bac523c
R-EFI: Variable Services: QueryVariableInfo
vineelko Apr 24, 2026
724c5c1
R-EFI: Mark EventNotify unsafe
vineelko Apr 25, 2026
371cd47
R-EFI: Driver Family Override Protocol: ProtocolGetVersion
vineelko Apr 24, 2026
22dc20c
R-EFI: Driver Binding Protocol: Supported/Start/Stop
vineelko Apr 24, 2026
ace0a49
R-EFI: Bus Specific Driver Override/Platform Driver Override: GetDriver
vineelko Apr 24, 2026
d55a94d
R-EFI: Load File Protocol: LoadFile
vineelko Apr 24, 2026
5393a62
R-EFI: File Protocol APIs
vineelko Apr 24, 2026
960776b
R-EFI: Simple File System Protocol: OpenVolume
vineelko Apr 24, 2026
2cf1aad
R-EFI: Boot Services: RaiseTpl/RestoreTpl
vineelko Apr 24, 2026
9c4a63a
R-EFI: Miscellaneous Boot Services: Stall
vineelko Apr 24, 2026
f5857cb
Review Feedback: Use NonNull<Protocol> for DevicePath Protocol
vineelko May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ linked_list_allocator = { version = "^0.10" }
linkme = { version = "^0.3.29" }
log = { version = "0.4", default-features = false }
memoffset = {version = "0.9.1" }
mu_rust_helpers = { version = "3.0.2" }
mu_rust_helpers = { version = "4.0.0" }
num-traits = { version = "0.2", default-features = false }
patina = { version = "21.1.0", path = "sdk/patina" }
patina_debugger = { version = "21.1.0", path = "core/patina_debugger" }
Expand All @@ -49,7 +49,7 @@ patina_stacktrace = { version = "21.1.0", path = "core/patina_stacktrace" }
patina_test = { version = "21.1.0", path = "components/patina_test" }
proc-macro2 = { version = "1" }
quote = { version = "1" }
r-efi = { version = "5.0.0", default-features = false }
r-efi = { version = "6.0.0", default-features = false }
scroll = { version = "0.13", default-features = false, features = ["derive"]}
spin = { version = "^0.9" }
syn = { version = "2" }
Expand Down
7 changes: 3 additions & 4 deletions components/patina_acpi/src/acpi_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,10 @@ impl AcpiTable {
};

// Allocate memory in appropriate ACPI region, up to page granularity.
let alloc_options =
AllocationOptions::new().with_memory_type(allocator_type).with_strategy(allocation_strategy);
let table_page_alloc = mm
.allocate_pages(
uefi_size_to_pages!(table_length),
AllocationOptions::new().with_memory_type(allocator_type).with_strategy(allocation_strategy),
)
.allocate_pages(uefi_size_to_pages!(table_length), alloc_options)
.map_err(|_e| AcpiError::AllocationFailed)?;

// Get the raw pointer to the allocated memory for copying.
Expand Down
8 changes: 4 additions & 4 deletions components/patina_test/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ pub(crate) mod tests {
extern "efiapi" fn noop_create_event(
_type: u32,
_tpl: r_efi::efi::Tpl,
_notify_function: Option<extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_function: Option<unsafe extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_context: *mut core::ffi::c_void,
_event: *mut r_efi::efi::Event,
) -> r_efi::efi::Status {
Expand All @@ -324,7 +324,7 @@ pub(crate) mod tests {
extern "efiapi" fn noop_create_event_ex(
_type: u32,
_tpl: r_efi::efi::Tpl,
_notify_function: Option<extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_function: Option<unsafe extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_context: *const core::ffi::c_void,
_guid: *const r_efi::efi::Guid,
_event: *mut r_efi::efi::Event,
Expand Down Expand Up @@ -355,7 +355,7 @@ pub(crate) mod tests {
extern "efiapi" fn noop_create_event(
_type: u32,
_tpl: r_efi::efi::Tpl,
_notify_function: Option<extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_function: Option<unsafe extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_context: *mut core::ffi::c_void,
_event: *mut r_efi::efi::Event,
) -> r_efi::efi::Status {
Expand All @@ -365,7 +365,7 @@ pub(crate) mod tests {
extern "efiapi" fn noop_create_event_ex(
_type: u32,
_tpl: r_efi::efi::Tpl,
_notify_function: Option<extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_function: Option<unsafe extern "efiapi" fn(r_efi::efi::Event, *mut core::ffi::c_void)>,
_notify_context: *const core::ffi::c_void,
_guid: *const r_efi::efi::Guid,
_event: *mut r_efi::efi::Event,
Expand Down
Loading
Loading