aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-common.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-24 22:47:10 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:45 -0800
commit502f3945957eda4f312704fa70a0e2fc53bbd6af (patch)
treed7a30bc476d4889dbf039944e52cbca0f053e93f /com32/hdt/hdt-common.h
parentdddc947144848663029d46efaa81d8235c948f3f (diff)
downloadsyslinux-elf-502f3945957eda4f312704fa70a0e2fc53bbd6af.tar.gz
syslinux-elf-502f3945957eda4f312704fa70a0e2fc53bbd6af.tar.xz
syslinux-elf-502f3945957eda4f312704fa70a0e2fc53bbd6af.zip
hdt: Basic pxe implementation
Diffstat (limited to 'com32/hdt/hdt-common.h')
-rw-r--r--com32/hdt/hdt-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/hdt/hdt-common.h b/com32/hdt/hdt-common.h
index 51a2b353..5c3282c6 100644
--- a/com32/hdt/hdt-common.h
+++ b/com32/hdt/hdt-common.h
@@ -32,6 +32,7 @@
#include "sys/pci.h"
#include "cpuid.h"
#include "dmi/dmi.h"
+#include <syslinux/pxe.h>
#include "hdt-ata.h"
/* This two values are used for switching for the menu to the CLI mode*/
@@ -57,14 +58,19 @@ struct s_hardware {
s_cpu cpu; /* CPU information */
struct pci_domain *pci_domain; /* PCI Devices */
struct diskinfo disk_info[256]; /* Disk Information*/
+ t_PXENV_UNDI_GET_NIC_TYPE gnt;
+
int pci_ids_return_code;
int modules_pcimap_return_code;
int nb_pci_devices;
bool is_dmi_valid;
+ bool is_pxe_valid;
+
bool dmi_detection; /* Does the dmi stuff have been already detected */
bool pci_detection; /* Does the pci stuff have been already detected */
bool cpu_detection; /* Does the cpu stuff have been already detected */
bool disk_detection; /* Does the disk stuff have been already detected */
+ bool pxe_detection; /* Does the pxe stuff have been already detected*/
};
char *find_argument(const char **argv, const char *argument);
@@ -72,6 +78,7 @@ int detect_dmi(struct s_hardware *hardware);
void detect_disks(struct s_hardware *hardware);
void detect_pci(struct s_hardware *hardware);
void cpu_detect(struct s_hardware *hardware);
+int detect_pxe(struct s_hardware *hardware);
void init_hardware(struct s_hardware *hardware);
void clear_screen(void);
#endif