On Sun, Dec 04, 2022 at 08:25:09PM +0800, Jeremy Szu wrote:
> The current i386 initrd be limited under 1G memory and it works in most
> compressed initrd. (also initrd_addr_max case reported by kernel)
>
> addr = (addr_max - aligned_size) & ~0xFFF;
>
> Above line to calculate the reasonable address
The current i386 initrd be limited under 1G memory and it works in most
compressed initrd. (also initrd_addr_max case reported by kernel)
addr = (addr_max - aligned_size) & ~0xFFF;
Above line to calculate the reasonable address to store the initrd.
However, if initrd size is greater than 1G (or
The current i386 initrd be limited under 1G memory and it works in most
compressed initrd. (also initrd_addr_max case reported by kernel)
addr = (addr_max - aligned_size) & ~0xFFF;
Above line to calculate the reasonable address to store the initrd.
However, if initrd size is greater than 1G (or