Skip to content

Commit

Permalink
efi/alloc: bump allocations size to 512
Browse files Browse the repository at this point in the history
When boot ubuntu 22.04, grub may run out of efi allocations. Bump it to
512.

Fixes: #261
Signed-off-by: Jianyong Wu <[email protected]>
  • Loading branch information
jongwu committed Jul 6, 2023
1 parent 6735c61 commit 3e29535
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 3e29535

Please sign in to comment.