mirror of
https://github.com/danderson/netboot.git
synced 2025-12-15 22:42:03 +01:00
Added DHCP Architecture Type 9
By supporting Type 9 ( „EFI x86-64“ ), pixiecore can boot VMware (Fusion) EFI-Type Machines. The const for FirmwareEFI64 has been renamed to FirmwareEFIBC ( see RFC-4578, Section 2.1 ) and FirmwareEFI64 is assign to type 9 and uses the same ipxe blob as FirmwareEFIBC. Signed-off-by: Mathias Kaufmann <me@stei.gr>
This commit is contained in:
parent
2ed87f6141
commit
bc95504ca6
@ -4,7 +4,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
@ -157,6 +157,7 @@ func serverFromFlags(cmd *cobra.Command) *pixiecore.Server {
|
||||
}
|
||||
if ipxeEFI64 != "" {
|
||||
ret.Ipxe[pixiecore.FirmwareEFI64] = mustFile(ipxeEFI64)
|
||||
ret.Ipxe[pixiecore.FirmwareEFIBC] = mustFile(ipxeEFI64)
|
||||
}
|
||||
|
||||
if timestamps {
|
||||
|
||||
@ -125,12 +125,14 @@ const (
|
||||
// Note the values match the values from RFC4578.
|
||||
FirmwareX86PC Firmware = 0 // "Classic" x86 BIOS with PXE/UNDI support.
|
||||
FirmwareEFI32 = 6 // 32-bit x86 processor running EFI
|
||||
FirmwareEFI64 = 7 // 64-bit x86 processor running EFI
|
||||
FirmwareEFIBC = 7 // 64-bit x86 processor running EFI
|
||||
FirmwareEFI64 = 9 // 64-bit x86 processor running EFI
|
||||
)
|
||||
|
||||
var fwToArch = map[Firmware]Architecture{
|
||||
FirmwareX86PC: ArchIA32,
|
||||
FirmwareEFI32: ArchIA32,
|
||||
FirmwareEFIBC: ArchX64,
|
||||
FirmwareEFI64: ArchX64,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user