NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xen boot strangeness (Was: Re: [SOLVED] Re: Xen 4.18.5_20250521nb0 not ELF binary (Was: Re: EFI and Xen))



On Fri, May 30, 2025 at 10:53:52AM -0400, Chuck Zmudzinski wrote:


[...]
>  			if (booted_partition & 0xfffffff0)
>  				continue;
> 
> [...] Of course this also assumes "booted_partition" is
> declared as an uint32_t, or equivalent.

Maybe use
			if (booted_partition & (~ 0xf))
				continue;

instead?

	-is


Home | Main Index | Thread Index | Old Index