Files
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

53 lines
1.0 KiB
INI

## @file
# Multiboot interface library.
# Multiboot Specification:
# https://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Boot-sources
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = MultibootLib
FILE_GUID = 661CB9B0-37AC-47D4-B767-46DCA3B4E734
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = MultibootLib
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources]
Multiboot.c
Multiboot2.c
[Sources.IA32]
Ia32/MultibootJump.nasm
[Sources.X64]
X64/BootJump.c
X64/MultibootJump.nasm
[Packages]
MdePkg/MdePkg.dec
BootloaderCommonPkg/BootloaderCommonPkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
MemoryAllocationLib
ElfLib
ThunkLib
[Guids]
[Pcd]