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>
|
|
|
|
|
2023-01-14 14:49:22 +03:00
|
|
|
noreturn void chainload(char *config, char *cmdline);
|
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>
|
2023-01-14 14:49:22 +03:00
|
|
|
noreturn void efi_chainload_file(char *config, char *cmdline, 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
|