mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
We cannot use BaseMemoryLibOptDxe since it uses SSE instructions, and some firmwares fail to properly maintain MMX register contexts across the timers. This results in exceptions when trying to execute primitives like CopyMem in timers (e.g. AIKDataWriteEntry). Reproduced on ASUS M5A97 with AMD FX8320 CPU. closes acidanthera/bugtracker#754
49 lines
1.3 KiB
INI
49 lines
1.3 KiB
INI
## @file
|
|
# Check memory routine compatibility.
|
|
#
|
|
# Copyright (c) 2018, vit9696. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = VerifyMemOpt
|
|
FILE_GUID = 00697824-B09E-43D6-8A2A-1CD9E5C7BFBC
|
|
MODULE_TYPE = UEFI_APPLICATION
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = UefiMain
|
|
|
|
#
|
|
# This flag specifies whether HII resource section is generated into PE image.
|
|
#
|
|
UEFI_HII_RESOURCE_SECTION = TRUE
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
#
|
|
|
|
[Sources]
|
|
VerifyMemOpt.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
OpenCorePkg/OpenCorePkg.dec
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
[LibraryClasses]
|
|
OcConsoleControlEntryModeGenericLib
|
|
UefiApplicationEntryPoint
|
|
UefiLib
|
|
PcdLib
|
|
IoLib
|