rulimine/common/protos/chainload.h

19 lines
356 B
C
Raw Normal View History

2020-05-06 18:00:41 +03:00
#ifndef __PROTOS__CHAINLOAD_H__
#define __PROTOS__CHAINLOAD_H__
#include <stdnoreturn.h>
noreturn void chainload(char *config);
2020-05-06 18:00:41 +03:00
#if defined (UEFI)
#include <fs/file.h>
noreturn void efi_chainload_file(char *config, struct file_handle *image);
#endif
#if defined (BIOS)
#include <lib/part.h>
void bios_chainload_volume(struct volume *v);
#endif
2020-05-06 18:00:41 +03:00
#endif