]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/ModuleReader.java
+ n/a
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / ModuleReader.java
index dc32fb9fc022520cabbd181d912976f8512e09cb..64958108ccaec27fc8af975075a0b63c50141312 100644 (file)
@@ -193,13 +193,11 @@ public final class ModuleReader implements Common.ForDoAll {
         ii = mi.preprocessedccodes.iterator();\r
         \r
         Pattern patefifuncc = Pattern.compile("g?(BS|RT)\\s*->\\s*([a-zA-Z_]\\w*)",Pattern.MULTILINE);\r
-        Pattern patentrypoint = Pattern.compile("EFI_([A-Z]*)_ENTRY_POINT\\s*\\(([^\\(\\)]*)\\)",Pattern.MULTILINE);\r
         Matcher matguid;\r
         Matcher matfuncc;\r
         Matcher matfuncd;\r
         Matcher matenclosereplace;\r
         Matcher matefifuncc;\r
-        Matcher matentrypoint;\r
         Matcher matmacro;\r
         \r
         while (ii.hasNext()) {\r
@@ -211,17 +209,6 @@ public final class ModuleReader implements Common.ForDoAll {
             }\r
             line = wholefile.toString();\r
             \r
-            // if this is a Pei phase module , add these library class to .msa\r
-            matentrypoint = patentrypoint.matcher(line);\r
-            if (matentrypoint.find()) {\r
-                mi.entrypoint = matentrypoint.group(2);\r
-                if (matentrypoint.group(1).matches("PEIM")) {\r
-                    mi.hashrequiredr9libs.add("PeimEntryPoint");\r
-                } else {\r
-                    mi.hashrequiredr9libs.add("UefiDriverEntryPoint");\r
-                }\r
-            }\r
-            \r
             // find guid\r
             matguid = Guid.ptnguid.matcher(line);                                        // several ways to implement this , which one is faster ? :\r
             while (matguid.find()) {                                                    // 1.currently , find once , then call to identify which is it\r