Files
slimbootloader/BootloaderCommonPkg/Library/MultibootLib/MultibootLibInternal.h
Bruno Achauer bf8b2b3618 OsLoader: Add Multiboot-2 support
- 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>
2022-11-29 14:51:45 -07:00

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