aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
Commit message (Collapse)AuthorAgeFilesLines
...
* | Mark unused function parameters as __unusedMatt Fleming2012-04-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | Move the __unused tag from com32/hdt/ to com32/include/klibc/ so that it can be used by the entire code base, and mark unused function parameters as __unused to stop the following kind of build warning, elflink/load_env32.c: In function ‘load_env32’: elflink/load_env32.c:107:30: warning: unused parameter ‘regs’ Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | hdt: libmenu.a no longer existsMatt Fleming2011-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | Don't link against libmenu.a, it no longer exists as it was removed in commit 74518b8b691c ("elflink: Make ELF the default object format"). This fixes the following build error, make[2]: *** No rule to make target `../cmenu/libmenu/libmenu.a', needed by `hdt.c32'. Stop. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | elflink: Make ELF the default object formatMatt Fleming2011-04-261-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | com32/elflink/modules was originally created to house ELF modules and keep them separate from the COM32 modules as the elflink branch was being developed. However, this has inadvertently created a maintenance nightmare because code was copied from elsewhere in the tree into com32/elflink/modules, resulting in duplication. Bug fixes have been going into the original code but have not been merged onto the elflink branch, leaving the duplicate code in com32/elflink/modules buggy. So let's delete this directory. There really is no reason to keep ELF and COM32 modules separate because there's no reason to need both COM32 and ELF modules to coexist. ELF is a far superior object file format and all modules are not emitted as ELF objects. Now that we're outputting ELF modules we can use dynamic memory instead of the cs_bounce bounce buffer. This commit requires a certain amount of shuffling for some files. quicksort.c isn't a module and belongs as part of the util library. cli.h belongs in com32/include so that other modules can make use of the cli code in ldlinux.c32. All libraries are now ELF shared libraries which are only loaded to fixup unresolved symbols for executable modules and renamed from *.a to *.c32. This reduces the runtime memory footprint because libraries are only loaded when needed and because every executable no longer gets its own copy of code/data (as it would if linking with a static library). Also, remove MINLIBOBJS from libcom32.c32 because it is already part of libcom32min.a and we don't want to have any duplicate symbols between the core (which links with libcom32min.a) and libcom32.c32. Welcome to the New World Order of ELF modules! Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* 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>
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-261-4/+4
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.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>
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | com32: inet_ntoa() takes struct in_addrH. Peter Anvin2011-04-251-10/+9
| | | | | | | | | | | | | | 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>
* | 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
| |
* | 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)
* | hdt: New release Beta4hdt/0.5.0-beta4Erwan Velu2011-04-191-1/+1
| |
* | hdt: Adding dump mode on pre-built imagesErwan Velu2011-04-191-0/+9
| | | | | | | | As we now have a dump mode, let's add an entry in our menu for that.
* | hdt: Preventing dump mode if no PXE configErwan Velu2011-04-191-0/+5
| | | | | | | | Dump mode can only work if PXE is present.
* | hdt: Reporting TFTP errors in dump modeErwan Velu2011-04-181-1/+22
| | | | | | | | | | | | If we get some errors from the tftp, let's report it to the user. This will make user's life easier to understand why the dumping mode isn't working.
* | hdt: Fixing automatic mode parsingErwan Velu2011-04-182-15/+9
| | | | | | | | | | | | | | | | | | Parsing of the auto='' mode was weak an non functionnal in many configuration like auto='dump' This is now fixed.
* | hdt: New release 0.5.0-beta3hdt/0.5.0-beta3Erwan Velu2011-04-171-1/+1
| |
* | hdt: Fixing buffer corruption in PXE menuErwan Velu2011-04-151-3/+3
| | | | | | | | | | | | | | | | Jim Cromie reported that PXE menu behave like : gPXE Detected: ]No This commit avoid this buffer corruption.
* | hdt: Changing boot flag semantic in menu modeErwan Velu2011-04-131-2/+2
| | | | | | | | | | | | What we report is the presence of the boot flag and not the ability of a partition to be bootable. A partition can have a valid bootloader with a boot flag not set. So the 'Bootable' semantic was wrong.
* | hdt: fix precedence problem in double-space checkJim Cromie2011-04-131-1/+1
| |
* | hdt: Display non-sequentials disks configurationsErwan Velu2011-04-131-3/+3
| | | | | | | | | | | | | | | | | | If the location of the disks wasn't sequential on the system, the menu mode was missing some. This commit fix ticket #46. Thanks gerth for reporting.
* | hdt: Adding chain.c32 to pre-built imagesErwan Velu2011-04-131-1/+4
| | | | | | | | This got a requirement from some users.
* | hdt: Fixing checksums deletionErwan Velu2011-04-121-1/+1
| | | | | | | | | | We have to delete all the checksums files while cleaning. Older release might exists.
* | hdt: New release 0.5.0-beta2hdt/0.5.0-beta2Erwan Velu2011-04-121-1/+1
| |
* | hdt: Adding dump entry in the menuErwan Velu2011-04-113-0/+14
| | | | | | | | If the PXE is enabled, let's show a dump menu at the main menu.
* | hdt: Adding checksums fileErwan Velu2011-04-111-0/+6
| | | | | | | | When generating a release, let's create a list of the checksums
* | hdt: Adding dump_mode & tftp_ip boot optionErwan Velu2011-04-113-3/+19
| | | | | | | | | | | | | | | | | | dump_mode=<dir> give the user a chance to select a directory on the tftp server. tftp_ip=<w.x.y.z> give the user a chance to select another tftp server for dumping data. By default, we use the tftp that serves the pxe booting.
* | hdt: new beta 0.5.0-beta1hdt/0.5.0-beta1Erwan Velu2011-04-111-2/+2
| | | | | | | | This first beta is featuring the dumping code.
* | hdt: Dumping HDTErwan Velu2011-04-113-0/+52
| | | | | | | | HDT information is now dumped in the 'hdt' file
* | hdt: Adding Kernel dumpingErwan Velu2011-04-113-0/+71
| | | | | | | | Kernel is now dumped into th 'kernel' file
* | hdt: Dumping ACPI structuresErwan Velu2011-04-043-0/+602
| | | | | | | | This commit add the ACPI into the dumped structures.
* | hdt: Fixing typoErwan Velu2011-04-041-1/+1
| |
* | hdt: flags_to_string is now part of the acpi codeErwan Velu2011-04-041-19/+0
| | | | | | | | This code is now generic, let's remove it from hdt.
* | hdt: Removing debugging messageErwan Velu2011-04-031-1/+0
| |
* | hdt: Cleaning macrosErwan Velu2011-04-031-11/+4
| | | | | | | | They have to be simplier.
* | hdt: Making dumping code easier to useErwan Velu2011-04-039-66/+71
| | | | | | | | A set of CREATE_NEW_OBJECT / FLUSH is enough for a simple dump.
* | hdt: Removing corruption on printfErwan Velu2011-04-031-4/+11
| | | | | | | | | | Prior to this commit some garbage occured. The printing buffer wasn't correctly cleaned after usage.
* | hdt: Moving define for more coherencyErwan Velu2011-03-311-2/+2
| |
* | hdt: Adding PCI dumpingErwan Velu2011-03-313-0/+138
| |
* | hdt: Using Macro to create objectsErwan Velu2011-03-311-4/+3
| | | | | | | | It makes the code easier to read
* | hdt: Avoid memory corruptionErwan Velu2011-03-312-234/+228
| |
* | hdt: Dumping memory configurationErwan Velu2011-03-293-0/+138
| | | | | | | | This patch dumps the 88, e801 & e820 memory mapping.
* | hdt: Displaying item name for missing dmi itemsErwan Velu2011-03-291-1/+4
| |
* | hdt: Dumping oem & security itemsErwan Velu2011-03-291-0/+30
| |
* | hdt: Dumping more memory configurationErwan Velu2011-03-291-1/+43
| |
* | hdt: Dumping cache informationErwan Velu2011-03-291-0/+28
| |