Modify the COmmonDefinition .java to keep the order of EntryPoint function in autogen.c same with the <ModuleEntryPoint> in MSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1047
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
Count = 0;\r
if (exitBootList != null) {\r
- if (setVirtualList != null) {\r
- for (i = 0; i < exitBootList.length; i++) {\r
- if (exitBootList[i].equalsIgnoreCase("")) {\r
- break;\r
- }\r
+ for (i = 0; i < exitBootList.length; i++) {\r
+ if (exitBootList[i].equalsIgnoreCase("")) {\r
+ break;\r
}\r
- Count = i;\r
}\r
+ Count = i;\r
}\r
fileBuffer.append(Integer.toString(Count));\r
fileBuffer.append(";\r\n\r\n");\r
\r
import java.util.HashSet;\r
import java.util.Iterator;\r
+import java.util.LinkedHashSet;\r
import java.util.Set;\r
\r
/**\r
* @return String[] String list which remove the duplicate string.\r
*/\r
public static String[] remDupString (String[] orgList){\r
- Set<String> strList = new HashSet<String>();\r
+ Set<String> strList = new LinkedHashSet<String>();\r
String[] desList ;\r
if (orgList == null){\r
return new String[0];\r