Files
slimbootloader/BootloaderCommonPkg/Library/LinuxLib/LinuxLib.inf
T
Aiden Park 9193a72864 Support booting to 64-bit kernel entry point (#550)
This will allow OsLoader payload to boot to 64-bit kernel entry point.
If CPU supports 64-bit mode and a kernel image has 64-bit entry point,
OsLoader will switch to 64-bit long mode and jump to the 64-bit entry
point. Otherwise, continue to boot to 32-bit entry point.
- Ported necessary code from EDK2 VitualMemory.c in MdeModulePkg
- Moved PagingLib from BootloaderCorePkg to BootloaderCommonPkg
- Removed unused FlushCacheLine
- TBD: 64-bit IDT

Next step is to support 64-bit Payload.
- 32-bit compatible mode
- 64-bit CryptoLib
- etc.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2020-02-04 10:44:45 -08:00

37 lines
749 B
INI

## @file
#
# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = LinuxLib
FILE_GUID = 3999B594-5FE9-476B-884E-9D302D6DFA0F
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = LinuxLib
[Sources]
LinuxLib.c
[Sources.IA32]
Ia32/JumpToKernel.nasm
[Packages]
MdePkg/MdePkg.dec
BootloaderCommonPkg/BootloaderCommonPkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
PagingLib
[Guids]
gEfiGraphicsInfoHobGuid
gLoaderMemoryMapInfoGuid
[Pcd]