mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-05-15 03:06:44 +00:00
Bare boot protocol is a protocol to be used when there are no protocols (such as multiboot1/2) are available: ACRN have no way to know where its modules are being loaded, how large they are, and what are their command line arguments. Bare boot protocol allows you to pre-configure (hard-code) modules' address and sizes. ACRN will find modules based on the pre-configured information without the need of a bootloader passing information to it. Tracked-On: #8838 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> Acked-by: Wang Yu1 <yu1.wang@intel.com>
19 lines
271 B
C
19 lines
271 B
C
/*
|
|
* Copyright (C) 2025 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef BARE_BOOT_H
|
|
#define BARE_BOOT_H
|
|
|
|
struct bare_boot_option {
|
|
uint64_t addr;
|
|
uint64_t size;
|
|
const char *tag;
|
|
};
|
|
|
|
int32_t init_bare_boot_info();
|
|
|
|
#endif /* BARE_BOOT_H */
|