git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9790
6f19259b-4bc3-4df7-8a09-
765794883524
volatile ARM_FIRST_LEVEL_DESCRIPTOR *FirstLevelTable;\r
volatile ARM_PAGE_TABLE_ENTRY *PageTable;\r
\r
volatile ARM_FIRST_LEVEL_DESCRIPTOR *FirstLevelTable;\r
volatile ARM_PAGE_TABLE_ENTRY *PageTable;\r
\r
+ Status = EFI_SUCCESS;\r
+\r
// EntryMask: bitmask of values to change (1 = change this value, 0 = leave alone)\r
// EntryValue: values at bit positions specified by EntryMask\r
EntryMask = ARM_PAGE_DESC_TYPE_MASK;\r
// EntryMask: bitmask of values to change (1 = change this value, 0 = leave alone)\r
// EntryValue: values at bit positions specified by EntryMask\r
EntryMask = ARM_PAGE_DESC_TYPE_MASK;\r
case EfiPciIoAttributeOperationDisable:
// Since we are not a real PCI device no enable/set or disable operations exist.
return EFI_SUCCESS;
case EfiPciIoAttributeOperationDisable:
// Since we are not a real PCI device no enable/set or disable operations exist.
return EFI_SUCCESS;
IN UINT32 MemoryLength\r
)\r
{\r
IN UINT32 MemoryLength\r
)\r
{\r
- UINTN UncachedMemoryMask;\r
UINT32 CacheAttributes;\r
ARM_MEMORY_REGION_DESCRIPTOR MemoryTable[5];\r
VOID *TranslationTableBase;\r
UINTN TranslationTableSize;\r
\r
UINT32 CacheAttributes;\r
ARM_MEMORY_REGION_DESCRIPTOR MemoryTable[5];\r
VOID *TranslationTableBase;\r
UINTN TranslationTableSize;\r
\r
- UncachedMemoryMask = PcdGet64(PcdArmUncachedMemoryMask);\r
-\r
if (FeaturePcdGet(PcdCacheEnable) == TRUE) {\r
CacheAttributes = DDR_ATTRIBUTES_CACHED;\r
} else {\r
if (FeaturePcdGet(PcdCacheEnable) == TRUE) {\r
CacheAttributes = DDR_ATTRIBUTES_CACHED;\r
} else {\r
//
#ifdef __CC_ARM
// Print out the command for the RVD debugger to load symbols for this image
//
#ifdef __CC_ARM
// Print out the command for the RVD debugger to load symbols for this image
- DEBUG ((EFI_D_ERROR, "load /a /ni /np %a &0x%08x\n", SecDeCygwinPathIfNeeded (FilePath), PeCoffImage + Offset));
+ DEBUG ((EFI_D_ERROR, "load /a /ni /np %a &0x%08x\n", SecDeCygwinPathIfNeeded (FilePath), (CHAR8 *)PeCoffImage + Offset));
#elif __GNUC__\r
// This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required
DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", FilePath, PeCoffImage + Offset));
#elif __GNUC__\r
// This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required
DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", FilePath, PeCoffImage + Offset));
gEmbeddedTokenSpaceGuid.PcdCacheEnable
[FixedPcd]
gEmbeddedTokenSpaceGuid.PcdCacheEnable
[FixedPcd]
- gArmTokenSpaceGuid.PcdArmUncachedMemoryMask
-
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
case CODEVIEW_SIGNATURE_RSDS:
return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY));
case CODEVIEW_SIGNATURE_MTOC:
case CODEVIEW_SIGNATURE_RSDS:
return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY));
case CODEVIEW_SIGNATURE_MTOC:
- *DebugBase = (VOID *)(UINTN)((UINTN)DebugBase + SizeOfHeaders);
+ *DebugBase = (VOID *)(UINTN)((UINTN)DebugBase - SizeOfHeaders);
return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_MTOC_ENTRY));
default:
break;
return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_MTOC_ENTRY));
default:
break;