summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Create a sysappend string with some very minimal CPU informationsyslinux-4.10-pre11H. Peter Anvin2011-04-273-13/+87
| | | | | | | Doing a full system manifest is obviously not possible, but we can include some very very basic CPU information. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* dmi: Add a few more DMI stringssyslinux-4.10-pre10H. Peter Anvin2011-04-273-11/+66
| | | | | | Add the BIOSVENDOR, BIOSVERSION, and SYSFF strings. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* thread: make kill_thread() actually do its jobH. Peter Anvin2011-04-273-12/+12
| | | | | | | kill_thread() had been modifying errno(!) as if it had been the return value... in other words, it really did absolutely nothing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add documentation about the new featuressyslinux-4.10-pre9H. Peter Anvin2011-04-263-17/+72
|
* dmi: separate the SYS* and MB* defines as their own stringsH. Peter Anvin2011-04-262-18/+22
| | | | | | | | Collect both the SYS* and MB* strings; it is too common the SYS* ones contain bogus but non-empty information, and the total amount of data isn't all that huge. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* dmi: actually advance the end pointer properlysyslinux-4.10-pre8H. Peter Anvin2011-04-261-1/+1
| | | | | | ... so we don't just end up with a single character per string. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe: minor initialization cleanupsH. Peter Anvin2011-04-261-11/+1
| | | | | | | Remove duplicate or dead code, move http_bake_cookies() to a more logical place. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe: start the poll thread when we would have started the ISRH. Peter Anvin2011-04-263-8/+15
| | | | | | | | Start the poll thread when we would have started the ISR, i.e. when enabling the interface. Otherwise we might poll a stack that isn't yet initialized. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe, http: simplify cookie generation, fix boundary conditionsH. Peter Anvin2011-04-261-9/+16
| | | | | | | Simplify the code to create the cookie header, fix buffer size boundary conditions. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dmi: fix more pointer subtraction bugsH. Peter Anvin2011-04-261-2/+2
| | | | | | Two more places with bogus pointer subtraction... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dmi: fix incorrect pointer subtraction, add sanity checksH. Peter Anvin2011-04-261-10/+22
| | | | | | | | | | We're dealing with BIOS-provided data, so we better do sanity checks all over the place. More immediately, fix a pointer-subtraction bug which would hang the system. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dmi: add additional stringsH. Peter Anvin2011-04-262-14/+21
| | | | | | | | Add additional strings, and create fallbacks when the strings are empty. Unfortunately we can't easily fall back for crap like "Insert name of OEM here". Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* menu: need to advance the pointer, once again...H. Peter Anvin2011-04-261-1/+1
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe, http: Use Syslinux/<version> as the User-agent:H. Peter Anvin2011-04-261-1/+1
| | | | | | Use Syslinux as the User-agent name. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dmi: strip whitespace from DMI stringsH. Peter Anvin2011-04-261-3/+45
| | | | | | | | Some BIOS vendors seem to have large spaces in DMI strings, presumably for easy patching. Therefore, clean up the strings before we use them. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe, http: correct the header overflow testH. Peter Anvin2011-04-261-2/+3
| | | | | | sizeof header_buf isn't very useful when that's an actual pointer... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe, undiif: install the gateway properlyH. Peter Anvin2011-04-261-1/+1
| | | | | | Actually install the gateway, not a random pointer value... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* menu: mangle whitespace in ipappend/sysappend stringssyslinux-4.10-pre7H. Peter Anvin2011-04-262-4/+31
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Additional sysappend strings from DMI; pre-bake the http cookiesH. Peter Anvin2011-04-2613-128/+401
| | | | | | | | | - Add additional sysappend strings from DMI; we may want to add even more but let's think about it first. - Pre-generate http cookies. - Add a "sendcookies" command to mask out some of the information. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge remote-tracking branch 'origin/master' into lwipH. Peter Anvin2011-04-2640-53/+79
|\
| * hdt: add back -I$(com32)H. Peter Anvin2011-04-261-1/+1
| | | | | | | | | | | | | | hdt picks up include files from outside the include directory and so needs an explicit -I$(com32). This probably should be fixed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * sysdump: add $(LIBS) to the link ruleH. Peter Anvin2011-04-261-1/+1
| | | | | | | | | | | | $(C_LIBS) doesn't include $(LIBS) so we need to add it explicitly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-2640-55/+81
| |\ | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| | * lua: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | | | | | | | | com32.mk already includes the necessary library in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| | * sysdump: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| | * hdt: Delete superfluous $(LIBS) prerequisitesMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| | * menu.c32: Delete superfluous $(LIBS) prerequistiteMatt Fleming2011-04-161-3/+2
| | | | | | | | | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| | * mboot.c32: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-111-2/+1
| | | | | | | | | | | | | | | | | | | | | com32.mk already includes the necessary archive libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| | * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-0739-42/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | | pxe, http: send the sysappend/ipappend strings as cookiesH. Peter Anvin2011-04-251-2/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using http, send the sysappend/ipappend strings as cookies prefixed with _Syslinux_ ... the implementation of this may change. This is using the "old" cookie format for compactness (single header, for all cookies, and no $Version tag.) PHP at least seems perfectly happy to deal with it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | Generalize ipappend handling as "sysappend", and move to PM codeH. Peter Anvin2011-04-2526-232/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize the ipappend handling to cover all the derivatives, and rename it "sysappend" ("ipappend" is a valid alias for all derivatives.) Move all the string handling to protected mode. Currently only pxelinux exports strings, but the plan is to change that in the future. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | Merge remote-tracking branch 'origin/master' into lwipH. Peter Anvin2011-04-254-209/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | Resolved Conflicts: NEWS Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | isolinux: remove broken and obsolete open_file_tH. Peter Anvin2011-04-251-16/+0
| | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | isolinux: remove .img file supportH. Peter Anvin2011-04-254-193/+9
| | | | | | | | | | | | | | | | | | | | | | | | Remove disk image support from ISOLINUX. Very few BIOSes support this call correctly, and it is likely to have been broken for a very long time anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | pxe: remove non-lwIP definition of DNS_MAX_SERVERSH. Peter Anvin2011-04-253-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is only need for one definition of DNS_MAX_SERVERS, and it needs to be the one in lwIP, so use it everywhere. Furthermore, there is no longer any need for us to define DNS_MAX_PACKET. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | Merge remote-tracking branch 'origin/master' into lwipsyslinux-4.10-pre6H. Peter Anvin2011-04-2581-349/+4090
|\ \ \ | |/ / | | | | | | | | | | | | | | | Resolved Conflicts: com32/include/netinet/in.h Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | com32: inet_ntoa() takes struct in_addrH. Peter Anvin2011-04-253-17/+20
| | | | | | | | | | | | | | | | | | | | | The standard definition for inet_ntoa() is to take struct in_addr, and not doing that causes a conflict on the lwip branch. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | hdt: remove set-but-unused variableH. Peter Anvin2011-04-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove a set but unused variable in HDT, which prevents building with gcc 4.6. This is probably a bug; presumably the active flag should be presented to the user, too. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | Merge remote-tracking branch 'sherbszt/gfxboot32'H. Peter Anvin2011-04-251-1/+18
| |\ \
| | * | gfxboot: pass current working dir to gfxboot coreSteffen Winterfeldt2011-04-251-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass current working dir to (and back from) gfxboot core via gfx_config struct. This way I can implement a chdir() in the gfxboot core without the need for additional 16-bit comboot calls. gfxboot may change the directory, so you have to read and apply the current setting in boot() (to read kernel etc. from right location). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| | * | gfxboot: handle INITRD config lineSteffen Winterfeldt2011-04-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Handle case where there is no initrd= option but a separate initrd config line. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | Merge remote-tracking branch 'hdt/master'H. Peter Anvin2011-04-2577-316/+4027
| |\ \ \
| | * | | hdt: Final release 0.5.0hdt/0.5.0Erwan Velu2011-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | Thanks for all who participe in this release.
| | * | | hdt: Using dashed instead of . into label nameErwan Velu2011-04-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When generating floppy images some version of mtools (< 4.0.14) are buggy and generate incorrect labels. So using > 4.0.13 is recommended. Anyway, let's use _ into the volume name, that cleaner : We now have disk label="HDT_0_5_0_B" instead of disk label="HDT_0~5~0-B"
| | * | | hdt: Fixing ACPI displayErwan Velu2011-04-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Some screenshots shows that we have some troubles for aligning items. This is now fixed.
| | * | | hdt: New release beta5hdt/0.5.0-beta5Erwan Velu2011-04-201-1/+1
| | | | |
| | * | | libupload: Adding tftp.h missing fileErwan Velu2011-04-201-0/+22
| | | | | | | | | | | | | | | | | | | | Oups, this while wasn't commited :/
| | * | | hdt: Showing specific message for auto modeErwan Velu2011-04-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | That's a nice info to know that some output were generated by the automatic mode.
| | * | | hdt: Removing useless printf in dump modeErwan Velu2011-04-201-2/+0
| | | | | | | | | | | | | | | | | | | | This message was clearly boring to read ;o)
| | * | | libupload: Fixing tftp return valueErwan Velu2011-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The default return value for the tftp mode. This made the tftp to return error even if the upload was succesful.