summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-menu.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-20 16:09:30 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:42 -0800
commitd9ae1ce5eeef69549f044e38c3bc39623ea871bc (patch)
tree6de436923857c9d215f5f1cf7790a57c790b5faf /com32/hdt/hdt-menu.h
parent37ed4a8d16d66bfa8f8c06227acb030e0cf1c829 (diff)
downloadsyslinux-d9ae1ce5eeef69549f044e38c3bc39623ea871bc.tar.gz
hdt: Changing structure to allow a cli mode
Diffstat (limited to 'com32/hdt/hdt-menu.h')
-rw-r--r--com32/hdt/hdt-menu.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/com32/hdt/hdt-menu.h b/com32/hdt/hdt-menu.h
index 7a38ae8e..f965282b 100644
--- a/com32/hdt/hdt-menu.h
+++ b/com32/hdt/hdt-menu.h
@@ -30,8 +30,10 @@
#define DEFINE_HDT_MENU_H
#include <stdio.h>
#include "menu.h"
-#include "cpuid.h"
+#include "help.h"
+//#include "cpuid.h"
#include "sys/pci.h"
+#include "hdt-common.h"
#include "dmi/dmi.h"
#include "hdt-ata.h"
@@ -97,12 +99,17 @@ void compute_memory(struct s_hdt_menu *menu, s_dmi *dmi);
void compute_memory_module(struct s_my_menu *menu, s_dmi *dmi, int slot_number);
// Processor Stuff
-static bool is_dmi_valid=false;
-void compute_processor(struct s_my_menu *menu,s_cpu *cpu, s_dmi *dmi);
+void compute_processor(struct s_my_menu *menu,struct s_hardware *hardware);
// Syslinux stuff
void compute_syslinuxmenu(struct s_my_menu *menu);
// About menu
void compute_aboutmenu(struct s_my_menu *menu);
+
+int start_menu_mode(char *version_string);
+void setup_menu(char *version);
+void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware);
+void compute_submenus(struct s_hdt_menu *hdt_menu,struct s_hardware *hardware);
+void detect_hardware(struct s_hardware *hardware);
#endif