You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
- Add (partial) multiboot-2 support as specified in https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html - header file imported (and adjusted to SBL OsLoader) from https://github.com/NetBSD/src/blob/trunk/sys/arch/i386/include/multiboot2.h Also bump APL PAYLOAD_SIZE, ADL OS_LOADER_FD_SIZE to account for increased payload size Signed-off-by: Bruno Achauer <bruno.achauer@intel.com>
28 lines
601 B
C
28 lines
601 B
C
/** @file
|
|
|
|
Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef _MULTIBOOT_LIB_INTERNAL_H_
|
|
#define _MULTIBOOT_LIB_INTERNAL_H_
|
|
|
|
extern UINT8 mLoaderName[];
|
|
|
|
/**
|
|
Align multiboot modules if required by spec.
|
|
|
|
@param[in,out] MultiBoot Point to loaded Multiboot image structure
|
|
|
|
@retval RETURN_SUCCESS Align modules successfully
|
|
@retval Others There is error when align image
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
AlignMultibootModules (
|
|
IN OUT MULTIBOOT_IMAGE *MultiBoot
|
|
);
|
|
|
|
#endif //_MULTIBOOT_LIB_INTERNAL_H
|