/** Initialize the commands in this in this file **/ VOID EblInitializeVariableCmds ( VOID ) { EblAddCommands (mCmdVariableTemplate, sizeof (mCmdVariableTemplate)/sizeof (EBL_COMMAND_TABLE)); }
VOID EblInitializeExternalCmd ( VOID ) { EblAddCommands (mLibCmdTemplate, sizeof (mLibCmdTemplate)/sizeof (EBL_COMMAND_TABLE)); return; }
VOID EblInitializeDeviceCmd ( VOID ) { EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS); EblAddCommands (mCmdDeviceTemplate, sizeof (mCmdDeviceTemplate)/sizeof (EBL_COMMAND_TABLE)); }
VOID EblInitializeScriptCmd ( VOID ) { if (FeaturePcdGet (PcdEmbeddedScriptCmd)) { EblAddCommands (mScriptTemplate, sizeof (mScriptTemplate)/sizeof (EBL_COMMAND_TABLE)); } }
/** Initialize the commands in this in this file **/ VOID EblInitializemdHwIoDebugCmds ( VOID ) { if (FeaturePcdGet (PcdEmbeddedIoEnable)) { EblAddCommands (mCmdHwIoDebugTemplate, sizeof (mCmdHwIoDebugTemplate)/sizeof (EBL_COMMAND_TABLE)); } }
/** Initialize the commands in this in this file **/ VOID EblInitializeCmdTable ( VOID ) { EblAddCommands (mCmdTemplate, sizeof (mCmdTemplate)/sizeof (EBL_COMMAND_TABLE)); gBS->InstallProtocolInterface ( &gExternalCmdHandle, &gEfiEblAddCommandProtocolGuid, EFI_NATIVE_INTERFACE, &gEblAddCommand ); }