}\r
return false;\r
}\r
+\r
+ static public boolean isPeiPhaseComponent (int componentType) {\r
+ if (ComponentTypePe32Peim == componentType\r
+ || ComponentTypePicPeim == componentType\r
+ || ComponentTypeCombinedPeimDriver == componentType\r
+ || ComponentTypePeiCore == componentType) {\r
+ return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ static public boolean isPe32PeimComponent (int componentType) {\r
+ if (ComponentTypePe32Peim == componentType) {\r
+ return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ static public boolean isBsDriverComponent (int componentType) {\r
+ if (ComponentTypeBsDriver == componentType) {\r
+ return true;\r
+ }\r
+ return false;\r
+ }\r
+ \r
}
\ No newline at end of file