Generic 32-bit Linux loader (for coreboot)
PATCH 1/1 Generic 32-bit Linux loader (for coreboot)
This patch implements a generic 32-bit Linux loader, that can be used in coreboot (and maybe other ports in the future).
It's heavily based on the EFI Linux loader, but my patch adds it as a separate file because the changes on memory management were too big and significant to harmonize them. It may be possible that this new loader can be used on EFI someday, though (but that'd require major readjustments to the EFI port).
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
2008-08-18 Robert Millan <[email protected]>
* loader/i386/linux.c: New file. Implements generic 32-bit Linux loader.
* conf/i386-coreboot.rmk (_linux_mod_SOURCES): Replace loader/i386/pc/linux.c' with loader/i386/linux.c'.
i386-coreboot.rmk +1 -1
@@ -98,7 +98,7 @@ halt.mod datetime.mod date.mod datehook.mod # For _linux.mod. -_linux_mod_SOURCES = loader/i386/pc/linux.c +_linux_mod_SOURCES = loader/i386/linux.c _linux_mod_CFLAGS = $(COMMON_CFLAGS) _linux_mod_LDFLAGS = $(COMMON_LDFLAGS)
i386/linux.c +570 -0
570 lines not on this page · raw message
If there are no objections, I'll commit this tomorrow.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
Committed.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."