summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-04-23 20:28:43 (GMT)
committerErwan Velu <erwan.velu@free.fr>2009-04-23 20:28:43 (GMT)
commitfdd21ff85b3fa41641f711311f7e62081442dbe2 (patch)
treee6c598e9594ae69eb8a15fb00dfd1b2469a90bc3
parentecc21733bb9be5b9b8185389ab7cffe9d6f2e1ff (diff)
downloadhdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.zip
hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.tar.gz
hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.tar.bz2
hdt-fdd21ff85b3fa41641f711311f7e62081442dbe2.tar.xz
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.c5
-rw-r--r--com32/hdt/hdt-cli.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index 46f3669..b0ee034 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 516d2fc..c51127e 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