diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2007-04-26 15:25:40 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2007-04-26 15:25:40 -0700 |
| commit | 56ba61e0f3a7e37f350ec37eb66adb55c8d585ad (patch) | |
| tree | 6f8c558beea571d98b358da8cb972e401359733c /com32/include | |
| parent | 7a0f2a3409580030f60f0bf2b351dd701f868b5a (diff) | |
| download | syslinux-56ba61e0f3a7e37f350ec37eb66adb55c8d585ad.tar.gz | |
Add wrapper function syslinux_run_kernel_image()syslinux-3.50-pre6
Add syslinux_run_kernel_image() wrapper function for API function 0016h.
Diffstat (limited to 'com32/include')
| -rw-r--r-- | com32/include/syslinux/boot.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/com32/include/syslinux/boot.h b/com32/include/syslinux/boot.h index 9b1709f6..80ba74d4 100644 --- a/com32/include/syslinux/boot.h +++ b/com32/include/syslinux/boot.h @@ -48,6 +48,15 @@ void syslinux_chain_bootstrap(uint16_t flags, const void *bootstrap, uint32_t bootstrap_len, uint32_t edx, uint32_t esi, uint16_t ds); +#define IMAGE_TYPE_KERNEL 0 +#define IMAGE_TYPE_LINUX 1 +#define IMAGE_TYPE_BOOT 2 +#define IMAGE_TYPE_BSS 3 +#define IMAGE_TYPE_PXE 4 +#define IMAGE_TYPE_FDIMAGE 5 +#define IMAGE_TYPE_COMBOOT 6 +#define IMAGE_TYPE_COM32 7 +#define IMAGE_TYPE_CONFIG 8 void syslinux_run_kernel_image(const char *filename, const char *cmdline, uint32_t ipappend_flags, uint32_t type); |
