diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-10-25 11:58:54 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-11-07 14:45:47 -0600 |
commit | ce93254424f7f7213d650ec65ae89328e938b6bc (patch) | |
tree | 4e6f26824bda5fb5cacaf77e1625c34dcfa4879a /src/build | |
parent | 788db3640a526c04243ce0e1c6c5ff27c8493ac5 (diff) | |
download | talos-hostboot-ce93254424f7f7213d650ec65ae89328e938b6bc.tar.gz talos-hostboot-ce93254424f7f7213d650ec65ae89328e938b6bc.zip |
Prevent _DebugFrameworkVMM.pm from issuing 'die'.
Change-Id: If8ece49e5ff0710276628ae1f23c02918506c03c
RTC: 63901
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6878
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-x | src/build/debug/Hostboot/_DebugFrameworkVMM.pm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/build/debug/Hostboot/_DebugFrameworkVMM.pm b/src/build/debug/Hostboot/_DebugFrameworkVMM.pm index 6286db864..cafc8c3a5 100755 --- a/src/build/debug/Hostboot/_DebugFrameworkVMM.pm +++ b/src/build/debug/Hostboot/_DebugFrameworkVMM.pm @@ -393,8 +393,8 @@ sub getPhysicalAddr if (not defined @segment_manager_addr) { - ::userDisplay " VirtualToPhy: Cannot find Device Segment symbol.\n"; - die; + ::userDisplay " VirtualToPhy: Cannot find SegmentManager symbol.\n"; + return NotFound; } @@ -439,11 +439,7 @@ sub getPhysicalAddr { ::userDisplay (sprintf " VirtualToPhy: Did not find a block for v addr: %X\n" , $vaddr); - - ## Don't die here, return NotPresent. - ## @TODO Issue RTC 63901 will review this and provide a - ## a permanent fix. - return NotPresent; + return NotFound; } @@ -460,7 +456,7 @@ sub getPhysicalAddr { ::userDisplay " VirtualToPhy: BaseSegment - no valid pointer... Have you run yet?\n\n"; - die; + return NotFound; } } elsif ($segmentIndex == 1) @@ -483,7 +479,8 @@ sub getPhysicalAddr if ($firststackptr == 0) { ::userDisplay - " VirtualToPhy: No Stack Pointer. Have you run yet?\n"; die; + " VirtualToPhy: No Stack Pointer. Have you run yet?\n"; + return NotFound; } @@ -507,14 +504,15 @@ sub getPhysicalAddr ::userDisplay (sprintf " VirtualToPhy:Did not find a stack for v addr: %X\n" , $vaddr); - die; + return NotFound; } my $firstblockptr = ::read64 ($stackptr + STACK_BLOCKPTR_OFFSET, 8); if ($firstblockptr == 0) { - ::userDisplay " No BlockPtr found.\n"; die; + ::userDisplay " No BlockPtr found.\n"; + return NotFound; } #Call function to get the correct block for the VA @@ -532,7 +530,7 @@ sub getPhysicalAddr ::userDisplay (sprintf " VirtualToPhy: Did not find a block for v addr: %X\n" , $vaddr); - die; + return NotFound; } # get the physical address from SPTE entry in this block @@ -614,7 +612,8 @@ sub getPhysicalAddr } else { - ::userDisplay " Bad index.. address is not right.\n"; die; + ::userDisplay " Bad index.. address is not right.\n"; + return NotFound; } } else |