Re: [9fans] Nix/regen: multiboot flags

2025-01-28 Thread tlaronde
On Tue, Jan 28, 2025 at 07:45:02AM -0800, Paul Lalonde wrote: > The multiboot specification says: If bit 16 in the ?flags? word is set, > then the fields at offsets 12-28 in the Multiboot header are valid, and the > boot loader should use them instead of the fields in the actual executable > header

Re: [9fans] Nix/regen: multiboot flags

2025-01-28 Thread Paul Lalonde
The multiboot specification says: If bit 16 in the ‘flags’ word is set, then the fields at offsets 12-28 in the Multiboot header are valid, and the boot loader should use them instead of the fields in the actual executable header to calculate where to load the OS image. I believe they are valid in

Re: [9fans] Nix/regen: multiboot flags

2025-01-28 Thread Ron Minnich
all that does is set the lowest two bytes, which is fine. On Tue, Jan 28, 2025 at 6:09 AM wrote: > > In l32p.s, the multiboot flags in the the mbi are set as > > $0x00010007 > > but I don't find flags definitions relative to the higher word, > neither in the multiboot v1 spec, nor in the enum