m1n1/src/chainload.h
Hector Martin e386e17550 chainload: Add new m1n1-side chainloader (raw images only)
This basically duplicates the chainload.py logic, minus the mach-o
handling.

Signed-off-by: Hector Martin <marcan@marcan.st>
2022-03-09 20:55:34 +09:00

11 lines
255 B
C

/* SPDX-License-Identifier: MIT */
#ifndef __CHAINLOAD_H__
#define __CHAINLOAD_H__
#include "types.h"
int chainload_image(void *base, size_t size, char **vars, size_t var_cnt);
int chainload_load(const char *spec, char **vars, size_t var_cnt);
#endif