PHAL: added createPEL wrapper function

Added wrapper function to create PEL based on event type.

Why: concurrent code update feature requires to create to
PEL,  based on event types in various use cases. This will
help to reduce duplicate code.

Tested: verified PEL log

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I21d46775994f5c2f86124e33bf98dd9044f3e5d8
diff --git a/extensions/phal/create_pel.hpp b/extensions/phal/create_pel.hpp
index 98d6ded..a582d0e 100644
--- a/extensions/phal/create_pel.hpp
+++ b/extensions/phal/create_pel.hpp
@@ -21,12 +21,11 @@
 void createBootErrorPEL(const FFDCData& ffdcData, const json& calloutData);
 
 /**
- * Create host running error PEL
+ * @brief Create a PEL for the specified event type
  *
- * The host should not be running so create an error to report this if it
- * is found the host is up.
+ *  @param  event - the event type
  */
-void createHostRunningPEL();
+void createPEL(const std::string& event);
 
 /**
  * @class FFDCFile