2020-05-06 18:00:41 +03:00
|
|
|
#ifndef __PROTOS__CHAINLOAD_H__
|
|
|
|
#define __PROTOS__CHAINLOAD_H__
|
|
|
|
|
2022-07-13 08:40:53 +03:00
|
|
|
#include <stdnoreturn.h>
|
|
|
|
|
|
|
|
noreturn void chainload(char *config);
|
2020-05-06 18:00:41 +03:00
|
|
|
|
2022-07-11 01:15:56 +03:00
|
|
|
#if uefi == 1
|
|
|
|
#include <fs/file.h>
|
2022-07-13 08:40:53 +03:00
|
|
|
noreturn void efi_chainload_file(char *config, struct file_handle *image);
|
2022-07-11 01:15:56 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if bios == 1
|
|
|
|
#include <lib/part.h>
|
|
|
|
void bios_chainload_volume(struct volume *v);
|
|
|
|
#endif
|
|
|
|
|
2020-05-06 18:00:41 +03:00
|
|
|
#endif
|