Skip to content

Commit

Permalink
efi/alloc: Bump maximum number of memory allocations
Browse files Browse the repository at this point in the history
Increasing the maximum number of memory allocations is required to
support booting the version of GRUB used in Ubuntu 20.04 for AArch64.

Fixes: #261

Signed-off-by: Jianyong Wu <[email protected]>
  • Loading branch information
jongwu authored and retrage committed Jul 21, 2023
1 parent 599138c commit 1642135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/efi/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct Allocation {
descriptor: MemoryDescriptor,
}

const MAX_ALLOCATIONS: usize = 256;
const MAX_ALLOCATIONS: usize = 512;

#[derive(Copy, Clone)]
pub struct Allocator {
Expand Down

0 comments on commit 1642135

Please sign in to comment.