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-09-02 03:29:12 +03:00
|
|
|
#if defined (UEFI)
|
2022-07-11 01:15:56 +03:00
|
|
|
#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
|
|
|
|
|
2022-09-02 03:29:12 +03:00
|
|
|
#if defined (BIOS)
|
2022-07-11 01:15:56 +03:00
|
|
|
#include <lib/part.h>
|
|
|
|
void bios_chainload_volume(struct volume *v);
|
|
|
|
#endif
|
|
|
|
|
2020-05-06 18:00:41 +03:00
|
|
|
#endif
|