|
iPXE
|
System Deployment Image (SDI) More...
#include <stdint.h>#include <string.h>#include <errno.h>#include <realmode.h>#include <sdi.h>#include <ipxe/image.h>#include <ipxe/features.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FEATURE (FEATURE_IMAGE, "SDI", DHCP_EB_FEATURE_SDI, 1) | |
| static int | sdi_exec (struct image *image) |
| Execute SDI image. More... | |
| static int | sdi_probe (struct image *image) |
| Probe SDI image. More... | |
| struct image_type sdi_image_type | __image_type (PROBE_NORMAL) |
| SDI image type. More... | |
System Deployment Image (SDI)
Based on the MSDN article "RAM boot using SDI in Windows XP Embedded with Service Pack 1", available at the time of writing from:
http://msdn.microsoft.com/en-us/library/ms838543.aspx
Definition in file sdi.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FEATURE | ( | FEATURE_IMAGE | , |
| "SDI" | , | ||
| DHCP_EB_FEATURE_SDI | , | ||
| 1 | |||
| ) |
|
static |
Execute SDI image.
| image | SDI file |
| rc | Return status code |
Definition at line 53 of file sdi.c.
References __asm__(), __volatile__(), assert(), sdi_header::boot_offset, sdi_header::boot_size, image::data, DBGC, ECANCELED, ENOTTY, image::len, memcpy(), image::name, REAL_CODE, real_to_virt(), SDI_BOOT_OFF, SDI_BOOT_SEG, and SDI_WTF.
|
static |
Probe SDI image.
| image | SDI file |
| rc | Return status code |
Definition at line 97 of file sdi.c.
References image::data, DBGC, ENOEXEC, image::len, sdi_header::magic, image::name, and SDI_MAGIC.
| struct image_type sdi_image_type __image_type | ( | PROBE_NORMAL | ) |
SDI image type.
1.8.15