| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hey guys,
I noticed the appended ipappend options end up in the beginning of the
cmdline argv[] when mboot is entered. mboot then tries to parse the first
argument as the name of the kernel module and promptly fails cuz it can't
find "ip=.." or "bootif=...".
I'm attaching a patch which basically looks for any arguments in the argv[]
array and appends them to the kernel cmdline. The arguments have to be
back-to-back to be considered "appened options", so this should be safe
enough to not take out-of-place arguments and tack onto the kernel cmdline.
Last time i sent in some of the elf section loader patches, i think Peter
had trouble importing time. Hopefully it works now.
thanks,
Ram Yalamanchili
|
| |
|
|
|
|
| |
Handle console setup/cleanup explicitly, instead of relying on a
destructor. The destructor doesn't get called on outbound API calls
that don't return.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| | |
Conflicts:
com32/modules/Makefile
|
| | |
| |
| |
| |
| |
| | |
The pcitest module implements an example of use the pci module
If you like to use the string name just put a pci.ids file in the root directory
(cherry picked from 85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
com32/modules/Makefile
com32/modules/menu.c
com32/modules/menu.h
com32/modules/readconfig.c
version
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From : Erwan Velu <erwan.velu@free.fr>
This patch a new com32 module to handle cpu information.
A new "cpu" structure can be filled by calling "detect_cpu(&cpu)".
It provides :
- Vendor name as string
- Model as string
- Vendor as integer
- Model as integer
- Family as integer
- Stepping as Integer
- Flags as boolean
- SMP as boolean
Note that SMP is just a manner to know if the bios annonce an MPTABLE.
This code can't detect each processor.
I've been adding a demo program called cpuidtest to show how it works.
if (cpu.flags.lm == true) printf("This system is x86_64 compatible\n");
This example shows how to test if a system is X86_64 compatible.
I hope it's simple enough ;)
This code is mainly taken from the Linux Kernel.
Greetings for all the guys who wrote it.
Testing and feedback are welcome.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hi,
I'm attaching a patch to Syslinux dealing with a handful of issues that
were preventing me from using the simple menu interface. Issues covered:
* Enable "MENU ONERROR" as a keyword on par with "ONERROR".
* Enable hidden menu entries to be used as ontimeout and onerror entries
(probably the least estheticalla pleasing part, sorry about that.)
* Make global "IPAPPEND" directives apply also when using menu.c32.
* Memory allocation fix for the ontimeout-variable (unlabel does free()).
* Make menu.c32 add ipappend options at end of kernel commend line, as
pxelinux generally does.
I see 3.30-pre1 is out now, I haven't had time to check applicability of
these patches towards this. Hope they can still be of use.
--
Arne.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | | |
|
| | | |
|
| |/
|
|
| |
quite right, however.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From : Erwan Velu <erwan.velu@free.fr>
This patch add a new com32 module named dmi.
It can parse DMI Hanldes number 0,1,2,3,4.
Using a very simple API, you can read the values of the following "Handles"
- BIOS
- CHASSIS
- SYSTEM
- BASE_BOARD
- PROCESSOR
It's possible and easy to extend to many other Handles.
A sample code program called dmitest shows how you can use and display
this structures.
The codes is mainly taken from the Linux Kernel and the smartmontool
projects.
Both are GPL, my code too.
Testing and feedback are welcomed.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
|
| |
|
|
|
|
|
| |
To be absolutely correct, we're supposed to use %* before an indirect
branch target, not just *.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
jmp in x86 can take a memory argument, and since gcc knows everything
that happens all the way up to the jump, allowing it there is safe.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Fix register constraints of final jump to kernel entry.
When compiled with some GCC versions, mboot.c32 would clobber the kernel
load address and try to jump to 0x2badb002.
Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Load sections from the ELF section headers as well as the program headers,
for kernels which need symbol and debug info but don't ask for them in
the program headers.
Bump the version number to reflect this change.
Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
|
| |
|
|
|
|
| |
Zero the inputs to BIOS calls, to fix two bugs in mboot.c32's E820 mmap code.
Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|