/** @file\r
*\r
-* Copyright (c) 2011, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
* \r
* This program and the accompanying materials \r
* are licensed and made available under the terms and conditions of the BSD License \r
#include <Library/MemoryAllocationLib.h>\r
#include <ArmPlatform.h>\r
\r
-// Number of Virtual Memory Map Descriptors without a Logic Tile\r
+// Number of Virtual Memory Map Descriptors\r
#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 5\r
\r
// DDR attributes\r
VirtualMemoryTable[Index].Length = 2 * ARM_VE_SMB_PERIPH_SZ;\r
VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE;\r
\r
-//TODO:This should be enabled for final release. Right now, ARM VE RTSM crashes.\r
-// // If a Logic Tile is connected to The ARM Versatile Express Motherboard\r
-// if (MmioRead32(ARM_VE_SYS_PROCID1_REG) != 0) {\r
-// VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_EXT_AXI_BASE;\r
-// VirtualMemoryTable[Index].VirtualBase = ARM_VE_EXT_AXI_BASE;\r
-// VirtualMemoryTable[Index].Length = ARM_VE_EXT_AXI_SZ;\r
-// VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE;\r
-//\r
-// ASSERT((Index + 1) == (MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS + 1));\r
-// } else {\r
-// ASSERT((Index + 1) == MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS);\r
-// }\r
-\r
// End of Table\r
VirtualMemoryTable[++Index].PhysicalBase = 0;\r
VirtualMemoryTable[Index].VirtualBase = 0;\r