Add an error print and exit if SEC core is not found.

signed-off-by: andrewfish



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12912 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish 2012-01-06 17:23:05 +00:00
parent 344b16e151
commit 9cf20bbf9a
1 changed files with 6 additions and 0 deletions

View File

@ -287,6 +287,12 @@ main (
printf ("\n");
}
if (SecFile == NULL) {
printf ("ERROR : SEC not found!\n");
exit (1);
}
//
// Calculate memory regions and store the information in the gSystemMemory
// global for later use. The autosizing code will use this data to