diff options
Diffstat (limited to 'Platform')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c | 5 | ||||
-rw-r--r-- | Platform/BroxtonPlatformPkg/PlatformDsc/BuildOptions.EDKII.Gcc.dsc | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c index d7ef4970b8..fe454bf89f 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c @@ -217,6 +217,10 @@ CopyMemSse4 ( IN UINTN SizeInBytes
)
{
+
+ #ifdef __GNUC__
+ CopyMem (Dst, Src, SizeInBytes);
+ #else
_asm {
//
// Initialize pointers to start of the USWC memory
@@ -281,6 +285,7 @@ CopyMemSse4 ( movdqu xmm3, [esp + 48]
add esp, 040h // stack cleanup
}
+ #endif
// End of Bulk Load loop
}
diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/BuildOptions.EDKII.Gcc.dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/BuildOptions.EDKII.Gcc.dsc index 7c7f9c2b17..1d5786d596 100644 --- a/Platform/BroxtonPlatformPkg/PlatformDsc/BuildOptions.EDKII.Gcc.dsc +++ b/Platform/BroxtonPlatformPkg/PlatformDsc/BuildOptions.EDKII.Gcc.dsc @@ -104,5 +104,4 @@ DEFINE EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIO *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) *_*_*_ASL_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) -we - RELEASE_*_*_CC_FLAGS = /Zi |