19 lines
346 B
C
19 lines
346 B
C
#ifndef __PROTOS__CHAINLOAD_H__
|
|
#define __PROTOS__CHAINLOAD_H__
|
|
|
|
#include <stdnoreturn.h>
|
|
|
|
noreturn void chainload(char *config);
|
|
|
|
#if uefi == 1
|
|
#include <fs/file.h>
|
|
noreturn void efi_chainload_file(char *config, struct file_handle *image);
|
|
#endif
|
|
|
|
#if bios == 1
|
|
#include <lib/part.h>
|
|
void bios_chainload_volume(struct volume *v);
|
|
#endif
|
|
|
|
#endif
|