[gPXE-devel] [PATCH 03/33] [dhcp] Use i386-pcbios DHCP options on linux

Piotr Jaroszyński p.jaroszynski at gmail.com
Sun Aug 15 18:59:08 EDT 2010


Signed-off-by: Piotr Jaroszyński <p.jaroszynski at gmail.com>
---
 src/arch/x86/include/linux/gpxe/dhcp_arch.h |   36 +++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 src/arch/x86/include/linux/gpxe/dhcp_arch.h

diff --git a/src/arch/x86/include/linux/gpxe/dhcp_arch.h b/src/arch/x86/include/linux/gpxe/dhcp_arch.h
new file mode 100644
index 0000000..ed03874
--- /dev/null
+++ b/src/arch/x86/include/linux/gpxe/dhcp_arch.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2010 Piotr Jaroszyński <p.jaroszynski at gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _LINUX_DHCP_ARCH_H
+#define _LINUX_DHCP_ARCH_H
+
+/** @file
+ *
+ * Architecture-specific DHCP options
+ */
+
+FILE_LICENCE(GPL2_OR_LATER);
+
+#include <gpxe/dhcp.h>
+
+// Emulate one of the supported arch-platforms
+#include <arch/i386/include/pcbios/gpxe/dhcp_arch.h>
+//#include <arch/i386/include/efi/gpxe/dhcp_arch.h>
+//#include <arch/x86_64/include/efi/gpxe/dhcp_arch.h>
+
+#endif
-- 
1.7.1



More information about the gPXE-devel mailing list