/* Dispatch initialization request to sub status code devices based on customized feature flags.  */
VOID InitializationDispatcherWorker(VOID)
/* Dispatch initialization request to sub status code devices based on customized feature flags.  */
VOID InitializationDispatcherWorker(VOID)
{
  EFI_STATUS  Status;
  if (PcdGetBool (PcdStatusCodeUseSerial)) {
    Status = SerialPortInitialize ();
    ASSERT_EFI_ERROR (Status);
  }
  if (PcdGetBool (PcdStatusCodeUseMemory)) {
    Status = MemoryStatusCodeInitializeWorker ();
    ASSERT_EFI_ERROR (Status);
  }
}