Skip to content

Commit 2356270

Browse files
Merge pull request #1161 from andre-braga/capsule
Match MaximumCapsuleSize to UEFI spec
2 parents fdbc42a + 4710689 commit 2356270

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

uefi-raw/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# uefi-raw - [Unreleased]
22

3+
## Changed
4+
- `maximum_capsule_size` of `query_capsule_capabilities` now takes a *mut u64 instead of a *mut usize.
35

46
# uefi-raw - 0.5.2 (2024-04-19)
57

uefi-raw/src/table/runtime.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub struct RuntimeServices {
6666
pub query_capsule_capabilities: unsafe extern "efiapi" fn(
6767
capsule_header_array: *const *const CapsuleHeader,
6868
capsule_count: usize,
69-
maximum_capsule_size: *mut usize,
69+
maximum_capsule_size: *mut u64,
7070
reset_type: *mut ResetType,
7171
) -> Status,
7272

0 commit comments

Comments
 (0)