aboutsummaryrefslogtreecommitdiffstats
path: root/com32
Commit message (Collapse)AuthorAgeFilesLines
...
* | hdt: Remove unused parameter in handle_vesa_commandsPierre-Alexandre Meyer2009-03-142-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. Note: The file hdt-cli-vesa is missing for the tree. This change will need to be propagated once the file is integrated. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: find_argument should return a const char*Pierre-Alexandre Meyer2009-03-142-3/+3
| | | | | | | | | | | | | | | | | | Impact: Fix compilation warning, signature change. Handle command line arguments as const. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Honor syslinux_version const qualifierPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | | | Impact: Fix compilation warning syslinux_version returns a const pointer to a syslinux_version struct. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Fix duplicate struct entryPierre-Alexandre Meyer2009-03-141-1/+0
| | | | | | | | | | | | | | | | | | Impact: fix compilation error An entry was accidentally added twice in s_pxe causing the build to fail. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make compute_memory_module staticPierre-Alexandre Meyer2009-03-142-3/+2
| | | | | | | | | | | | | | | | | | Impact: None. compute_memory_module is only used in hdt-menu-dmi.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make compute_pci_device staticPierre-Alexandre Meyer2009-03-142-4/+3
| | | | | | | | | | | | | | | | Impact: None. compute_pci_device is only used in hdt-menu-pci.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused cli_mode parameterPierre-Alexandre Meyer2009-03-143-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: Signatures changes. Uniform the main_show_* signatures by removing the parameter cli_mode from main_show_dmi. The call to do_exit has been removed (it was useless anyway). This allowed us to remove the cli_mode parameter from handle_hdt_commands as well. This change fixes all compilation warnings related to the cli. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make main_show_summary staticPierre-Alexandre Meyer2009-03-141-2/+2
| | | | | | | | | | | | | | | | Impact: None. main_show_summary is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameters in start_cli_modePierre-Alexandre Meyer2009-03-143-4/+4
| | | | | | | | | | | | | | | | | | Impact: Signature change. argc and argv aren't used in start_cli_mode. This fixes 2 compilation warnings. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_cli_help staticPierre-Alexandre Meyer2009-03-142-24/+23
| | | | | | | | | | | | | | | | Impact: None. show_cli_help is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make handle_hdt_commands staticPierre-Alexandre Meyer2009-03-141-2/+2
| | | | | | | | | | | | | | | | Impact: None. handle_hdt_commands is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make set_mode staticPierre-Alexandre Meyer2009-03-141-2/+2
| | | | | | | | | | | | | | | | Impact: None. set_mode is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make pci_show staticPierre-Alexandre Meyer2009-03-142-2/+1
| | | | | | | | | | | | | | | | Impact: None. pci_show is only used in hdt-cli-pci.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_pci_commandsPierre-Alexandre Meyer2009-03-143-5/+3
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_pci_devices staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_pci_devices is only used in hdt-cli-pci.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_pci_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_pci_help is only used in hdt-cli-pci.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused variables in main_show_pciPierre-Alexandre Meyer2009-03-141-9/+0
| | | | | | | | | | | | | | | | Impact: Cleanups. This fixes 8 compilation warnings. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make most dmi helpers staticPierre-Alexandre Meyer2009-03-142-135/+125
| | | | | | | | | | | | | | | | | | Impact: None. Most of the dmi helpers are only used in hdt-cli-dmi.c. Let's make them static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_dmi_commandsPierre-Alexandre Meyer2009-03-142-3/+2
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_dmi_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_dmi_help is only used in hdt-cli-dmi.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in main_show_cpuPierre-Alexandre Meyer2009-03-143-4/+4
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_cpu_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_cpu_help is only used in hdt-cli-cpu.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_cpu_commandsPierre-Alexandre Meyer2009-03-143-5/+3
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make cpu_show staticPierre-Alexandre Meyer2009-03-142-2/+1
| | | | | | | | | | | | | | | | Impact: None. cpu_show is only used in hdt-cli-cpu.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make pxe_show staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. pxe_show is only used in hdt-cli-pxe.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in main_show_pxePierre-Alexandre Meyer2009-03-143-5/+5
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_pxe_commandsPierre-Alexandre Meyer2009-03-143-5/+3
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_pxe_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_pxe_help is only used in hdt-cli-pxe.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused variablesPierre-Alexandre Meyer2009-03-141-2/+0
| | | | | | | | | | | | | | | | | | Impact: Cleanups. first_line and second_line are not used. This fixes compilation warnings. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused variablePierre-Alexandre Meyer2009-03-141-1/+0
| | | | | | | | | | | | | | | | Impact: Cleanups. i is not used. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_kernel_commandsPierre-Alexandre Meyer2009-03-143-5/+3
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in main_show_kernelPierre-Alexandre Meyer2009-03-143-4/+4
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_kernel_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: None. show_kernel_help is only used in hdt-cli-kernel.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_kernel_modules staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | | | Impact: None. show_kernel_modules is only used in hdt-cli-kernel.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Small indentation fix in hdt-cli-syslinux.cPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | Impact: Cleanups. Align argument with the previous one. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make show_syslinux_help staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | | | Impact: None. show_syslinux_help is only used in hdt-cli-syslinux.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter in handle_syslinux_commandsPierre-Alexandre Meyer2009-03-143-8/+8
| | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Make syslinux_show staticPierre-Alexandre Meyer2009-03-141-1/+1
| | | | | | | | | | | | | | | | | | Impact: None. syslinux_show is only used in hdt-cli-syslinux.c. Let's make it static then. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Remove unused parameter main_show_syslinuxPierre-Alexandre Meyer2009-03-143-6/+4
| | | | | | | | | | | | | | | | | | | | Impact: Signature change. The cli mode information is already in the function name 'main_show_syslinux'. No need to pass it as a parameter. This fixes a compilation warning. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Fix indentation in header filesPierre-Alexandre Meyer2009-03-145-133/+148
| | | | | | | | | | | | | | | | | | | | | | Impact: Cleanups. Fix indentation in all *.h files by sticking to the Linux style (indent -linux), using 2 spaces for indentation. Misc.: Corrected typos in comments, wrapped to 80 characters Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Fix indentation in source filesPierre-Alexandre Meyer2009-03-1420-2104/+2804
| | | | | | | | | | | | | | | | | | | | | | Impact: Cleanups. Fix indentation in all *.c files by sticking to the Linux style (indent -linux), using 2 spaces for indentation. Misc.: Corrected typos in comments, wrapped to 80 characters. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | hdt: Fixing syslinux entryErwan Velu2009-03-141-1/+1
| | | | | | | | We have to select the syslinux menu via "y"
* | hdt: Adding vesa detectionErwan Velu2009-03-148-9/+137
| | | | | | | | | | | | | | | | | | Bump to version 0.2.4 VESA BIOS is now detected. vendor/product/revision & available modes are displayed cli now have a "vesa>" context with provides both "list" & "modes" command. The menu mode features a new VESA entry and display the same info.
* | vesa: fixing wrong total_memory sizeErwan Velu2009-03-141-1/+1
| | | | | | | | | | | | Regarding the vesa spec, total_memory is reported to be 16bits That 32bits field had shifted the whole structure and prevented reading other fields properly.
* | hdt: Adding PCI latencyErwan Velu2009-03-144-2/+10
| | | | | | | | Adding the pci latency information
* | hdt: irq have to be in dev_infoErwan Velu2009-03-144-10/+16
| | | | | | | | Moving irq stuff to the dev_info structure to keep coherent
* | hdt: Adding legacy IRQ stuffErwan Velu2009-03-136-11/+81
|/ | | | | | | | In the cli mode, the pci context feature the following : pci> show irq Under cli, "pci> show device <x>" display the IRQ when device features one. The menu mode behave the same way.
* Merge branch 'hdt'H. Peter Anvin2009-03-1292-873/+12371
|\
| * cmd.c32: use strpcpy() instead of sprintf()syslinux-3.74-pre4H. Peter Anvin2009-03-121-5/+6
| | | | | | | | | | Make the cmd.c32 module a lot smaller (and avoid a warning) by using strpcpy() instead of sprintf().
| * libcom32: add strpcpy()H. Peter Anvin2009-03-123-2/+23
| | | | | | | | | | Add strpcpy() -- by analogy with mempcpy(), a strcpy() which returns a pointer to the end of the string (specifically, to the final null.)