diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-04-23 22:28:43 +0200 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-04-23 22:28:43 +0200 |
commit | fdd21ff85b3fa41641f711311f7e62081442dbe2 (patch) | |
tree | e6c598e9594ae69eb8a15fb00dfd1b2469a90bc3 | |
parent | ecc21733bb9be5b9b8185389ab7cffe9d6f2e1ff (diff) | |
download | hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.tar.gz hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.tar.xz hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.zip |
hdt: Adding hdt> show vpd
Impact: Adding a missing CLI command
Prior to that commit, "hdt> show vpd" didn't worked.
-rw-r--r-- | com32/hdt/hdt-cli-hdt.c | 5 | ||||
-rw-r--r-- | com32/hdt/hdt-cli.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c index 46f3669a..b0ee0342 100644 --- a/com32/hdt/hdt-cli-hdt.c +++ b/com32/hdt/hdt-cli-hdt.c @@ -305,6 +305,11 @@ struct cli_callback_descr list_hdt_show_modules[] = { .exec = main_show_hdt, }, { + .name = CLI_VPD, + .exec = main_show_vpd, + }, + + { .name = "modes", .exec = main_show_modes, }, diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h index 516d2fc8..c51127ef 100644 --- a/com32/hdt/hdt-cli.h +++ b/com32/hdt/hdt-cli.h @@ -184,4 +184,7 @@ void main_show_syslinux(int argc, char **argv, struct s_hardware *hardware); // VESA STUFF void main_show_vesa(int argc, char **argv, struct s_hardware *hardware); + +// VPD STUFF +void main_show_vpd(int argc __unused, char **argv __unused, struct s_hardware *hardware); #endif |