summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-menu.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-20 17:27:37 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:42 -0800
commita5958132faee353e188bc88d6760c41416644ef3 (patch)
tree4a21d3d9acf1189c89e4e8bdedc52168b737c8cf /com32/hdt/hdt-menu.h
parentd9ae1ce5eeef69549f044e38c3bc39623ea871bc (diff)
downloadsyslinux-a5958132faee353e188bc88d6760c41416644ef3.tar.gz
hdt: Using more struct s_hardware to remove static variables POC for the cli mode
Diffstat (limited to 'com32/hdt/hdt-menu.h')
-rw-r--r--com32/hdt/hdt-menu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/com32/hdt/hdt-menu.h b/com32/hdt/hdt-menu.h
index f965282b..bebdff58 100644
--- a/com32/hdt/hdt-menu.h
+++ b/com32/hdt/hdt-menu.h
@@ -77,13 +77,11 @@ TIMEOUTCODE ontimeout();
void keys_handler(t_menusystem *ms, t_menuitem *mi,unsigned int scancode);
// PCI Stuff
-static int pci_ids=0;
void compute_pci_device(struct s_my_menu *menu,struct pci_device *pci_device,int pci_bus, int pci_slot, int pci_func);
-int compute_PCI(struct s_hdt_menu *hdt_menu, struct pci_domain **pci_domain);
+int compute_PCI(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware);
// KERNEL Stuff
-static int modules_pcimap=0;
-void compute_kernel(struct s_my_menu *menu,struct pci_domain **pci_domain);
+void compute_kernel(struct s_my_menu *menu,struct s_hardware *hardware);
// Disk Stuff
int compute_disk_module(struct s_my_menu *menu, int nb_sub_disk_menu, struct diskinfo *d,int disk_number);