Browse Source

[dhcp] Use i386-pcbios DHCP options on linux

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Piotr Jaroszyński 14 years ago
parent
commit
55187e8c4e
1 changed files with 36 additions and 0 deletions
  1. 36
    0
      src/arch/x86/include/linux/ipxe/dhcp_arch.h

+ 36
- 0
src/arch/x86/include/linux/ipxe/dhcp_arch.h View File

@@ -0,0 +1,36 @@
1
+/*
2
+ * Copyright (C) 2010 Piotr Jaroszyński <p.jaroszynski@gmail.com>
3
+ *
4
+ * This program is free software; you can redistribute it and/or
5
+ * modify it under the terms of the GNU General Public License as
6
+ * published by the Free Software Foundation; either version 2 of the
7
+ * License, or any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful, but
10
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
+ * General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
+ */
18
+
19
+#ifndef _LINUX_DHCP_ARCH_H
20
+#define _LINUX_DHCP_ARCH_H
21
+
22
+/** @file
23
+ *
24
+ * Architecture-specific DHCP options
25
+ */
26
+
27
+FILE_LICENCE(GPL2_OR_LATER);
28
+
29
+#include <ipxe/dhcp.h>
30
+
31
+// Emulate one of the supported arch-platforms
32
+#include <arch/i386/include/pcbios/ipxe/dhcp_arch.h>
33
+//#include <arch/i386/include/efi/ipxe/dhcp_arch.h>
34
+//#include <arch/x86_64/include/efi/ipxe/dhcp_arch.h>
35
+
36
+#endif

Loading…
Cancel
Save