Home
last modified time | relevance | path

Searched refs:NewTerminalContext (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DConsoleOption.c110 BM_TERMINAL_CONTEXT *NewTerminalContext; in ChangeTerminalDevicePath() local
125 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in ChangeTerminalDevicePath()
130 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
136 &NewTerminalContext->DataBits, in ChangeTerminalDevicePath()
142 &NewTerminalContext->Parity, in ChangeTerminalDevicePath()
148 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
154 FlowControlNode->FlowControlMap = NewTerminalContext->FlowControl; in ChangeTerminalDevicePath()
159 if (NewTerminalContext->FlowControl != 0) { in ChangeTerminalDevicePath()
160 mFlowControlDevicePath.FlowControlMap = NewTerminalContext->FlowControl; in ChangeTerminalDevicePath()
172 Node1 = NewTerminalContext->DevicePath; in ChangeTerminalDevicePath()
[all …]
DBootMaint.c352 BM_TERMINAL_CONTEXT *NewTerminalContext; in BootMaintRouteConfig() local
521 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in BootMaintRouteConfig()
522 NewTerminalContext->BaudRateIndex = NewBmmData->COMBaudRate[Index]; in BootMaintRouteConfig()
524 NewTerminalContext->BaudRate = BaudRateList[NewBmmData->COMBaudRate[Index]].Value; in BootMaintRouteConfig()
525 NewTerminalContext->DataBitsIndex = NewBmmData->COMDataRate[Index]; in BootMaintRouteConfig()
527 NewTerminalContext->DataBits = (UINT8) DataBitsList[NewBmmData->COMDataRate[Index]].Value; in BootMaintRouteConfig()
528 NewTerminalContext->StopBitsIndex = NewBmmData->COMStopBits[Index]; in BootMaintRouteConfig()
530 NewTerminalContext->StopBits = (UINT8) StopBitsList[NewBmmData->COMStopBits[Index]].Value; in BootMaintRouteConfig()
531 NewTerminalContext->ParityIndex = NewBmmData->COMParity[Index]; in BootMaintRouteConfig()
533 NewTerminalContext->Parity = (UINT8) ParityList[NewBmmData->COMParity[Index]].Value; in BootMaintRouteConfig()
[all …]
DVariable.c412 BM_TERMINAL_CONTEXT *NewTerminalContext; in Var_UpdateConsoleOption() local
443 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in Var_UpdateConsoleOption()
444 if (((NewTerminalContext->IsConIn != 0) && (UpdatePageId == FORM_CON_IN_ID)) || in Var_UpdateConsoleOption()
445 ((NewTerminalContext->IsConOut != 0) && (UpdatePageId == FORM_CON_OUT_ID)) || in Var_UpdateConsoleOption()
446 ((NewTerminalContext->IsStdErr != 0) && (UpdatePageId == FORM_CON_ERR_ID)) in Var_UpdateConsoleOption()
451 ASSERT (NewTerminalContext->TerminalType < (ARRAY_SIZE (TerminalTypeGuid))); in Var_UpdateConsoleOption()
454 &TerminalTypeGuid[NewTerminalContext->TerminalType], in Var_UpdateConsoleOption()
459 NewTerminalContext->DevicePath, in Var_UpdateConsoleOption()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/
DConsoleOption.c125 BM_TERMINAL_CONTEXT *NewTerminalContext; in ChangeTerminalDevicePath() local
139 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in ChangeTerminalDevicePath()
144 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
150 &NewTerminalContext->DataBits, in ChangeTerminalDevicePath()
156 &NewTerminalContext->Parity, in ChangeTerminalDevicePath()
162 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
169 Node1 = NewTerminalContext->DevicePath; in ChangeTerminalDevicePath()
176 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
182 &NewTerminalContext->DataBits, in ChangeTerminalDevicePath()
188 &NewTerminalContext->Parity, in ChangeTerminalDevicePath()
[all …]
DBootMaintenance.c543 BM_TERMINAL_CONTEXT *NewTerminalContext; in UpdateTerminalContent() local
549 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in UpdateTerminalContent()
550 NewTerminalContext->BaudRateIndex = BmmData->COMBaudRate[Index]; in UpdateTerminalContent()
552 NewTerminalContext->BaudRate = BaudRateList[BmmData->COMBaudRate[Index]].Value; in UpdateTerminalContent()
553 NewTerminalContext->DataBitsIndex = BmmData->COMDataRate[Index]; in UpdateTerminalContent()
555 NewTerminalContext->DataBits = (UINT8) DataBitsList[BmmData->COMDataRate[Index]].Value; in UpdateTerminalContent()
556 NewTerminalContext->StopBitsIndex = BmmData->COMStopBits[Index]; in UpdateTerminalContent()
558 NewTerminalContext->StopBits = (UINT8) StopBitsList[BmmData->COMStopBits[Index]].Value; in UpdateTerminalContent()
559 NewTerminalContext->ParityIndex = BmmData->COMParity[Index]; in UpdateTerminalContent()
561 NewTerminalContext->Parity = (UINT8) ParityList[BmmData->COMParity[Index]].Value; in UpdateTerminalContent()
[all …]
DVariable.c335 BM_TERMINAL_CONTEXT *NewTerminalContext; in Var_UpdateConsoleOption() local
366 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in Var_UpdateConsoleOption()
367 if (((NewTerminalContext->IsConIn != 0) && (UpdatePageId == FORM_CON_IN_ID)) || in Var_UpdateConsoleOption()
368 ((NewTerminalContext->IsConOut != 0) && (UpdatePageId == FORM_CON_OUT_ID)) || in Var_UpdateConsoleOption()
369 ((NewTerminalContext->IsStdErr != 0) && (UpdatePageId == FORM_CON_ERR_ID)) in Var_UpdateConsoleOption()
374 ASSERT (NewTerminalContext->TerminalType < (ARRAY_SIZE (TerminalTypeGuid))); in Var_UpdateConsoleOption()
377 &TerminalTypeGuid[NewTerminalContext->TerminalType], in Var_UpdateConsoleOption()
382 NewTerminalContext->DevicePath, in Var_UpdateConsoleOption()
DUpdatePage.c459 BM_TERMINAL_CONTEXT *NewTerminalContext; in UpdateConsolePage() local
524 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in UpdateConsolePage()
527 if (((NewTerminalContext->IsConIn != 0) && (UpdatePageId == FORM_CON_IN_ID)) || in UpdateConsolePage()
528 ((NewTerminalContext->IsConOut != 0) && (UpdatePageId == FORM_CON_OUT_ID)) || in UpdateConsolePage()
529 ((NewTerminalContext->IsStdErr != 0) && (UpdatePageId == FORM_CON_ERR_ID)) in UpdateConsolePage()