public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RFC: running out of x86 boot loader IDs
@ 2009-01-29 23:06 H. Peter Anvin
  2009-01-29 23:16 ` Ingo Molnar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: H. Peter Anvin @ 2009-01-29 23:06 UTC (permalink / raw)
  To: LKML; +Cc: x86

The 4-bit values used to hold x86 boot loader IDs are near exhaustion. 
As a result, I'm proposing an extension protocol and will implement it 
in time for the next merge window unless there are objections.

The proposal will be as follows:

- The boot loader IDs (type_of_loader >> 4) E and F will be reserved:

	E - extended IDs
	F - special uses

   F is consistent with the current use of FF for "unknown".

- If the boot loader ID is E, the current pad1 field at 0x226 is 
repurposed as an extended loader ID.  The reason to use the pad1 field 
is that it is present in all headers since version 2.02.  The boot 
loader ID will simply be: ((extended ID + 0x10) << 4) + (version), where 
(version) as before is (type_of_loader & 15).  This is the value which 
will be reported in /proc/sys/kernel/bootloader_type.

The biggest question is probably: is there a need/desire for an extended 
version field, or is four bits enough for existing bootloader needs?

	-hpa


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-08  0:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 23:06 RFC: running out of x86 boot loader IDs H. Peter Anvin
2009-01-29 23:16 ` Ingo Molnar
2009-01-29 23:19   ` H. Peter Anvin
2009-01-30  0:33 ` Mikael Pettersson
2009-01-30  0:38   ` H. Peter Anvin
2009-05-08  0:18 ` [tip:x86/kbuild-phys] x86: add extension fields for bootloader type and version tip-bot for H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox