diff options
Diffstat (limited to 'ArmPkg/Library/BdsLib/BdsHelper.c')
-rw-r--r-- | ArmPkg/Library/BdsLib/BdsHelper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsHelper.c b/ArmPkg/Library/BdsLib/BdsHelper.c index bd1fa005e8..29cc12bd33 100644 --- a/ArmPkg/Library/BdsLib/BdsHelper.c +++ b/ArmPkg/Library/BdsLib/BdsHelper.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011, ARM Limited. All rights reserved. +* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -44,6 +44,7 @@ ShutdownUefiBootServices ( MemoryMap = NULL; MemoryMapSize = 0; Pages = 0; + do { Status = gBS->GetMemoryMap ( &MemoryMapSize, |