diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 04:44:33 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 04:44:33 +0000 |
commit | 920cb926428be7049526140d523df379f6fe3ad1 (patch) | |
tree | e6d568b98892e26029f4e438904c7c2a2555f6ce /BeagleBoardPkg/Sec/Cache.c | |
parent | d4f167a92a5455c2e90a0a69e281ecb5799678db (diff) | |
download | edk2-platforms-920cb926428be7049526140d523df379f6fe3ad1.tar.xz |
Fix RVCT compiler warnings, and a bug in the GdbStub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9790 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BeagleBoardPkg/Sec/Cache.c')
-rwxr-xr-x | BeagleBoardPkg/Sec/Cache.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/BeagleBoardPkg/Sec/Cache.c b/BeagleBoardPkg/Sec/Cache.c index d7c906244c..12b585e7cf 100755 --- a/BeagleBoardPkg/Sec/Cache.c +++ b/BeagleBoardPkg/Sec/Cache.c @@ -38,14 +38,11 @@ InitCache ( IN UINT32 MemoryLength
)
{
- UINTN UncachedMemoryMask;
UINT32 CacheAttributes;
ARM_MEMORY_REGION_DESCRIPTOR MemoryTable[5];
VOID *TranslationTableBase;
UINTN TranslationTableSize;
- UncachedMemoryMask = PcdGet64(PcdArmUncachedMemoryMask);
-
if (FeaturePcdGet(PcdCacheEnable) == TRUE) {
CacheAttributes = DDR_ATTRIBUTES_CACHED;
} else {
|