Constant MAX_REGIONS

Source
pub const MAX_REGIONS: usize = 512;
Expand description

The maximum number of regions that can be handled.

The choice of 512 is probably fine since old Linux boot protocol only allows 128 regions.