diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-02-20 17:27:37 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-25 20:58:42 -0800 |
commit | a5958132faee353e188bc88d6760c41416644ef3 (patch) | |
tree | 4a21d3d9acf1189c89e4e8bdedc52168b737c8cf /com32/hdt/hdt-menu.h | |
parent | d9ae1ce5eeef69549f044e38c3bc39623ea871bc (diff) | |
download | syslinux-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.h | 6 |
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); |