Skip to content

Commit 1642135

Browse files
jongwuretrage
authored andcommitted
efi/alloc: Bump maximum number of memory allocations
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 <jianyong.wu@arm.com>
1 parent 599138c commit 1642135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/efi/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct Allocation {
2323
descriptor: MemoryDescriptor,
2424
}
2525

26-
const MAX_ALLOCATIONS: usize = 256;
26+
const MAX_ALLOCATIONS: usize = 512;
2727

2828
#[derive(Copy, Clone)]
2929
pub struct Allocator {

0 commit comments

Comments
 (0)