Erwan Velu [Mon, 23 Mar 2009 09:05:58 +0000 (10:05 +0100)]
hdt: Check for pci_scan() == NULL.
Impact: we don't have to grab more details if pci_scan returns NULL
Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
Erwan Velu [Sun, 22 Mar 2009 08:24:23 +0000 (09:24 +0100)]
hdt: Adding IPMI detection
Impact: HDT can now reports if an IPMI base board exists
By using DMI, it's now possible to detect IPMI base boards
Bump to 0.2.6
Erwan Velu [Sun, 22 Mar 2009 08:23:15 +0000 (09:23 +0100)]
dmi: Adding IPMI detection
Impact: IPMI base board can now be detected
Detecting IPMI via DMI structures
H. Peter Anvin [Sun, 22 Mar 2009 05:29:09 +0000 (22:29 -0700)]
Add "and contributors" to the copyright banner
Clarify that there are nowadays more copyright holders than just
myself.
Shao Miller [Sun, 22 Mar 2009 04:27:56 +0000 (00:27 -0400)]
memdisk: additional comments in memdisk.inc and postprocess.pl
Just a sprinkling of comments adding further description to the code.
H. Peter Anvin [Fri, 20 Mar 2009 23:34:19 +0000 (16:34 -0700)]
vesacon: remove unused com32sys_t variables
No more direct __intcall()'s in this code, so remove unused register
set variables.
H. Peter Anvin [Fri, 20 Mar 2009 23:31:11 +0000 (16:31 -0700)]
Merge branch 'memdisk-cd'
H. Peter Anvin [Fri, 20 Mar 2009 22:45:55 +0000 (15:45 -0700)]
Merge commit 'hdt/master'
Erwan Velu [Fri, 20 Mar 2009 22:37:05 +0000 (23:37 +0100)]
hdt: Adding contributors
Impact: A new cli command : hdt> show hdt
Bump to 0.2.5
Adding contributor's list
Erwan Velu [Fri, 20 Mar 2009 22:03:28 +0000 (23:03 +0100)]
hdt: commenting some devel messages
Impact: remove useless error messages
Some error messages were displayed even if commands were valid
Erwan Velu [Fri, 20 Mar 2009 22:02:05 +0000 (23:02 +0100)]
hdt: Fixing more_printf to display a proper \n
Impact: Improve the visibility of the message
more_printf could have printed that message without any \n
Erwan Velu [Fri, 20 Mar 2009 21:50:55 +0000 (22:50 +0100)]
hdt: Adding an history
Impact: UP & Down keys can be used to reach the command history
UP & Down keys can be used to parse the history
H. Peter Anvin [Fri, 20 Mar 2009 20:54:54 +0000 (13:54 -0700)]
vesacon: migrate disable fixes from ansicon
Copy the disabled fixes already done in ansicon from checkin
22cd4e378e3aafd402f43030941d6f6b300d0cea.
H. Peter Anvin [Fri, 20 Mar 2009 20:44:39 +0000 (13:44 -0700)]
Document menu.c32 + console 0 fix.
H. Peter Anvin [Fri, 20 Mar 2009 20:43:11 +0000 (13:43 -0700)]
ansicon: handle the disabled case properly
Even when disabled, we need to set the screen size, because the
downstream code depends on it. Set it to 25x80 (maybe we should
swtich this is 24x80) in this case.
Furthermore, when disabled, we should return success == bytes
"written", not zero.
H. Peter Anvin [Fri, 20 Mar 2009 20:41:58 +0000 (13:41 -0700)]
getc: move parseint_esdi out of the getint control flow
parseint_esdi was located in the middle of the getint -> parseint fall
through, with expectedly disastrous results.
Erwan Velu [Thu, 19 Mar 2009 22:17:09 +0000 (23:17 +0100)]
hdt: Fixing backspace
Impact: Backspace now have the proper behaviour
Since we can move in the string, backspace have to behave differently.
Fixing style.
Erwan Velu [Thu, 19 Mar 2009 20:40:43 +0000 (21:40 +0100)]
hdt: Adding append mode to cli
Impact: Users can now edit a line
Append mode is now the default mode
This features moving using LEFT,RIGHT,HOME & END keys.
Erwan Velu [Thu, 19 Mar 2009 18:01:43 +0000 (19:01 +0100)]
hdt: ctrl+a or HOME key return to the beginning of line
Impact: Users can now uses ctrl+a or HOME to return at the beginning of
a line
Ctrl+a or home key is now implemented
Erwan Velu [Thu, 19 Mar 2009 17:27:11 +0000 (18:27 +0100)]
hdt: Skip heading spaces
Impact: Allow user to put some space char before the real command
Before that patch, it was required not having any space before the
command. That's not so user friendly ;o)
Erwan Velu [Thu, 19 Mar 2009 17:21:55 +0000 (18:21 +0100)]
hdt: Using a single cli structure to manage the input line
Impact: Makes the code easier to write
Using a single s_cli structure for managing the input line, the cursor
position and the prompt
Erwan Velu [Thu, 19 Mar 2009 16:32:00 +0000 (17:32 +0100)]
hdt: Missing include for getkey
Impact: remove a warning
more_printf now uses the proper includes
Erwan Velu [Thu, 19 Mar 2009 11:08:34 +0000 (12:08 +0100)]
hdt: more_printf must use getkey
Impact: Users can now press a key to continue
Since we switch to an ansi raw console, the fgets() used
to catch the return when we display to much lines didn't worked.
We now use the getkey function to grab __any__ key, which is better
then.
Erwan Velu [Thu, 19 Mar 2009 10:34:49 +0000 (11:34 +0100)]
hdt: Rewrite DMI module using a new syntax for the CLI
Impact: Start refactoring the CLI.
In order to have an extensible CLI, the commands handling needs to be
refactored. This patch starts the migration by refactoring the DMI
module.
Note that the core of the new commands parser has been implemented.
Adapting other modules to use it simply requires to declare
new structures that maps the command string to the callback.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Erwan Velu [Thu, 19 Mar 2009 10:03:29 +0000 (11:03 +0100)]
hdt: fixing one remaining display_prompt
Impact: make is now successfull ;o)
A display_prompt didn't get updated
Erwan Velu [Thu, 19 Mar 2009 09:57:46 +0000 (10:57 +0100)]
hdt: Renaming display_prompt to reset_prompt
Impact: Fix buffer corruption in cli.
The rename occurs to match the reality.
We actually do more than displaying the prompt as we reset some vars.
One of this parameters where wrong too and could occurs corruption.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Erwan Velu [Thu, 19 Mar 2009 09:56:43 +0000 (10:56 +0100)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
H. Peter Anvin [Thu, 19 Mar 2009 04:06:30 +0000 (21:06 -0700)]
runkernel: further simplify the command-line parser
Further simplifications to the command-line parser, both from a code
size and a usability perspective.
H. Peter Anvin [Thu, 19 Mar 2009 03:40:26 +0000 (20:40 -0700)]
Refactor command line parsing; support "quiet" option
Refactor the command line parser to be more of a general parser
instead of treating each option as an ad hoc feature.
Suppress the Loading... prompt if "quiet" is specified on the command
line. Some messed-up people want it this way.
Erwan Velu [Wed, 18 Mar 2009 19:01:39 +0000 (20:01 +0100)]
hdt: Handling CTRL+C
Impact: User can use the CTRL+C
Basic Ctrl+C implementation
Erwan Velu [Tue, 17 Mar 2009 21:56:53 +0000 (22:56 +0100)]
hdt: cli now uses the ansi raw interface
Impact: cli is now managed char by char instead of line by line
This patch is a first step toward a new version of the cli.
Current code isn't scalable to manage a complex cli code.
First step is to manage input char by char.
It will now possible to implement :
- completion using tab,
- using special keys (F1-F12)
This patch implements F1 as "show help"
Erwan Velu [Tue, 17 Mar 2009 19:10:48 +0000 (20:10 +0100)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
Erwan Velu [Tue, 17 Mar 2009 11:39:20 +0000 (12:39 +0100)]
hdt: Adding vesa in available modes & help message
Impact: Fixes CLI behavior. show vesa is a valid command
"help" command didn't reported vesa as possible mode
"show vesa" command was also missing even if already implemented
Erwan Velu [Tue, 17 Mar 2009 09:31:00 +0000 (10:31 +0100)]
hdt: putting some vesa function static
Impact: none
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Erwan Velu [Tue, 17 Mar 2009 09:29:44 +0000 (10:29 +0100)]
hdt: Making the build silent
Impact: Silence the build.
It is easier to detect warnings and errors if make doesn't print out the
commands before executing them.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
H. Peter Anvin [Tue, 17 Mar 2009 04:42:01 +0000 (21:42 -0700)]
Merge branch 'master' into memdisk-cd
H. Peter Anvin [Tue, 17 Mar 2009 04:32:32 +0000 (21:32 -0700)]
*/Makefile: fixes for older versions of NASM
Deal with issues that made older versions of nasm:
a) prevent "make spotless" from running
b) generate bad dependencies (no final newline)
H. Peter Anvin [Tue, 17 Mar 2009 04:19:37 +0000 (21:19 -0700)]
*/Makefile: use -include when including dependencies
This seems to have better behavior for "make spotless".
H. Peter Anvin [Tue, 17 Mar 2009 04:18:42 +0000 (21:18 -0700)]
Revert "memdisk: memdisk16.asm needs %ifndef DEPEND around %include"
This reverts commit
8f3919c8f5dd37ccd3b7565d32ef1dac8b2522d5.
Wrong fix.
H. Peter Anvin [Tue, 17 Mar 2009 04:11:52 +0000 (21:11 -0700)]
memdisk: memdisk16.asm needs %ifndef DEPEND around %include
Older versions of NASM puke if there is an %include of a non-existent
file during dependency generation. Make it more forgiving.
H. Peter Anvin [Tue, 17 Mar 2009 02:20:02 +0000 (19:20 -0700)]
memdisk: align .bss to a 16-byte boundary for better zeroing perf
Some CPUs really want a reasonable alignment for a rep;stosl, so give
it to them...
H. Peter Anvin [Tue, 17 Mar 2009 02:17:57 +0000 (19:17 -0700)]
memdisk: zero the .bss section
It is just too confusing to have a .bss section that isn't zeroed, to
explicitly zero it.
H. Peter Anvin [Tue, 17 Mar 2009 02:05:03 +0000 (19:05 -0700)]
memdisk: move the floppy disk geometry code in parallel with the MBR code
Move the floppy disk geometry generation code into parallel with the
MBR code, which pretty much mimics the previous behavior.
H. Peter Anvin [Tue, 17 Mar 2009 01:50:36 +0000 (18:50 -0700)]
memdisk: don't key FAT vs MBR on the type of disk
We can't rely on the disk type to say if this is FAT vs MBR, since we
haven't determined that yet. Thus, move the FAT test up before the
MBR test; both are heuristic, but the FAT test has much less
probability of false positives, and can be further tightened if
needed.
H. Peter Anvin [Mon, 16 Mar 2009 23:16:39 +0000 (16:16 -0700)]
SYSLINUX: fix handling of .bss files for FAT12/FAT16
The size of the superblock is different for FAT12/FAT16 and FAT32. We
should only copy the relevant portions of the superblock over.
Technically speaking, it is possible for FAT12/FAT16 to have an older,
smaller superblock as well (without the 0x29 boot signature); we don't
handle that at the moment.
H. Peter Anvin [Mon, 16 Mar 2009 20:21:04 +0000 (13:21 -0700)]
Merge commit 'hdt/master'
H. Peter Anvin [Mon, 16 Mar 2009 20:18:49 +0000 (13:18 -0700)]
memdisk: auto-detect large floppy geometry if it is FAT
If a "large floppy" image is formatted with a FAT filesystem, we can
use the headers in the FAT image to derive the geometry. This is nice
and user-friendly, so do it that way.
H. Peter Anvin [Mon, 16 Mar 2009 16:24:02 +0000 (09:24 -0700)]
isolinux: split MaxTransfer for HD and CD modes
The MaxTransfer for CD modes has to be smaller than for HD modes to
avoid 64K overrun (even though in theory it's permitted, we don't
trust it.) Thus have separate variables for HD and CD modes.
Erwan Velu [Mon, 16 Mar 2009 15:23:47 +0000 (16:23 +0100)]
hdt: Improving vesa output
Impact: Use proper words to be better understood by users
Cosmetic fix.
Erwan Velu [Mon, 16 Mar 2009 15:20:28 +0000 (16:20 +0100)]
hdt: Adding missing install target
Impact: Allow the build process to complete properly
The install: target was missing and prevented the global make install to
end properly
Erwan Velu [Sun, 15 Mar 2009 19:34:48 +0000 (20:34 +0100)]
hdt: Uploading missing vesa files
The vesa files were missing
Erwan Velu [Sun, 15 Mar 2009 19:28:23 +0000 (20:28 +0100)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 23:51:56 +0000 (16:51 -0700)]
hdt: Command-line arguments should be const
Impact: Fix compilation warnings, signatures changes.
argc and argv should be const.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 23:36:09 +0000 (16:36 -0700)]
hdt: Force cast when dereferencing menu->disk_sub_menu
Impact: Fix compilation warning.
A cast is necessary in compute_disks.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 23:24:37 +0000 (16:24 -0700)]
hdt: Fix irq references
Impact: Fix build compilation
d213082d76a24d3ba2e033416891a170b39c1ded moved irq to dev_info struct.
Make the changes accordingly.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
H. Peter Anvin [Sat, 14 Mar 2009 23:18:44 +0000 (16:18 -0700)]
cmd.c32: simplify by passing the unparsed command line
Instead of parsing and unparsing the command line, just pass the raw
command line the way we already have it.
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 23:04:43 +0000 (16:04 -0700)]
hdt: Remove unused parameter in handle_vesa_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 22:58:36 +0000 (15:58 -0700)]
hdt: find_argument should return a const char*
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 22:52:09 +0000 (15:52 -0700)]
hdt: Honor syslinux_version const qualifier
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 22:32:46 +0000 (15:32 -0700)]
hdt: Fix duplicate struct entry
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 20:47:17 +0000 (13:47 -0700)]
hdt: Make compute_memory_module static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 20:44:27 +0000 (13:44 -0700)]
hdt: Make compute_pci_device static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:59:11 +0000 (12:59 -0700)]
hdt: Remove unused cli_mode parameter
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:49:08 +0000 (12:49 -0700)]
hdt: Make main_show_summary static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:46:29 +0000 (12:46 -0700)]
hdt: Remove unused parameters in start_cli_mode
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:43:44 +0000 (12:43 -0700)]
hdt: Make show_cli_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:39:43 +0000 (12:39 -0700)]
hdt: Make handle_hdt_commands static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 19:38:42 +0000 (12:38 -0700)]
hdt: Make set_mode static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:58:31 +0000 (11:58 -0700)]
hdt: Make pci_show static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:57:16 +0000 (11:57 -0700)]
hdt: Remove unused parameter in handle_pci_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:54:34 +0000 (11:54 -0700)]
hdt: Make show_pci_devices static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:53:01 +0000 (11:53 -0700)]
hdt: Make show_pci_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:51:33 +0000 (11:51 -0700)]
hdt: Remove unused variables in main_show_pci
Impact: Cleanups.
This fixes 8 compilation warnings.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:47:03 +0000 (11:47 -0700)]
hdt: Make most dmi helpers static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:38:10 +0000 (11:38 -0700)]
hdt: Remove unused parameter in handle_dmi_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:34:37 +0000 (11:34 -0700)]
hdt: Make show_dmi_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:31:29 +0000 (11:31 -0700)]
hdt: Remove unused parameter in main_show_cpu
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:28:57 +0000 (11:28 -0700)]
hdt: Make show_cpu_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:27:15 +0000 (11:27 -0700)]
hdt: Remove unused parameter in handle_cpu_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:25:10 +0000 (11:25 -0700)]
hdt: Make cpu_show static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:18:09 +0000 (11:18 -0700)]
hdt: Make pxe_show static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:16:46 +0000 (11:16 -0700)]
hdt: Remove unused parameter in main_show_pxe
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:13:47 +0000 (11:13 -0700)]
hdt: Remove unused parameter in handle_pxe_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:10:51 +0000 (11:10 -0700)]
hdt: Make show_pxe_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:08:07 +0000 (11:08 -0700)]
hdt: Remove unused variables
Impact: Cleanups.
first_line and second_line are not used. This fixes compilation
warnings.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:02:49 +0000 (11:02 -0700)]
hdt: Remove unused variable
Impact: Cleanups.
i is not used.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 18:01:31 +0000 (11:01 -0700)]
hdt: Remove unused parameter in handle_kernel_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:57:49 +0000 (10:57 -0700)]
hdt: Remove unused parameter in main_show_kernel
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:55:55 +0000 (10:55 -0700)]
hdt: Make show_kernel_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:54:41 +0000 (10:54 -0700)]
hdt: Make show_kernel_modules static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:52:05 +0000 (10:52 -0700)]
hdt: Small indentation fix in hdt-cli-syslinux.c
Impact: Cleanups.
Align argument with the previous one.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:50:28 +0000 (10:50 -0700)]
hdt: Make show_syslinux_help static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:48:53 +0000 (10:48 -0700)]
hdt: Remove unused parameter in handle_syslinux_commands
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:42:05 +0000 (10:42 -0700)]
hdt: Make syslinux_show static
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:39:36 +0000 (10:39 -0700)]
hdt: Remove unused parameter main_show_syslinux
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:31:46 +0000 (10:31 -0700)]
hdt: Fix indentation in header files
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>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:13:59 +0000 (10:13 -0700)]
hdt: Fix indentation in source files
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>
Erwan Velu [Sat, 14 Mar 2009 15:37:15 +0000 (16:37 +0100)]
hdt: Fixing syslinux entry
We have to select the syslinux menu via "y"
Erwan Velu [Sat, 14 Mar 2009 15:34:01 +0000 (16:34 +0100)]
hdt: Adding vesa detection
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.
Erwan Velu [Sat, 14 Mar 2009 15:30:00 +0000 (16:30 +0100)]
vesa: fixing wrong total_memory size
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.