blob: 14597ced8ed5abe1591b1ac95d2ce796eee298f1 [file] [log] [blame]
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#pragma once
#include <stdint.h>
#include "vmm/vmm.h"
void vmm_plat_guest_elf_relocate(vmm_t *vmm, const char *relocs_filename);
int vmm_guest_load_boot_module(vmm_t *vmm, const char *name);
void vmm_plat_init_guest_boot_structure(vmm_t *vmm, const char *cmdline);
void vmm_init_guest_thread_state(vmm_vcpu_t *vcpu);
int vmm_load_guest_elf(vmm_t *vmm, const char *elfname, size_t alignment);