From 3f5aa1932f6a453981d9cab353b0340268b97808 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Fri, 31 Aug 2012 16:24:01 +0000 Subject: ArmPkg: Changed Uncached System Memory from EFI_MEMORY_UC to EFI_MEMORY_WC EFI_MEMORY_UC is mapped to Strongly Ordered memory while EFI_MEMORY_WC is mapped to Uncached Normal/System memory. This change improve performance while accessing uncached regions in the System Memory. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eugene Cohen Reviewed-by: Olivier Martin SetMemorySpaceAttributes (Memory, EFI_PAGES_TO_SIZE (Pages), EFI_MEMORY_UC); + Status = gDS->SetMemorySpaceAttributes (Memory, EFI_PAGES_TO_SIZE (Pages), EFI_MEMORY_WC); ASSERT_EFI_ERROR (Status); return (VOID *)(UINTN)Memory; -- cgit v1.2.3