Hello Edk2 team, We are trying to change the UART Baud rate dynamically from UEFI shell using "sermode" command in our ARM64 based platform. I see the code flow of sermode call as below :
ShellCommandRunSerMode() -> SerialSetAttributes() -> SerialPortSetAttributes() SerialSetAttributes() <- TerminalDriverBindingStart() -> SerialSetAttributes() -> SerialPortSetAttributes() TerminalDriverBindingStart() <- SerialSetAttributes() <- TerminalConInReset() -> SerialReset () -> SerialPortInitialize() TerminalConInReset() <- SerialReset() <- TerminalConInTimerHandler() -> SerialSetAttributes() -> SerialPortSetAttributes() TerminalConInTimerHandler() <- SerialSetAttributes() ShellCommandRunSerMode() <- I am not able to understand why SerialSetAttributes and SerialReset are being called, while the first call to SerialSetAttributes has not yet completed. Is this code flow right ? am I missing something ? Thanks & Regards, Pankaj Bansal _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel