File tree Expand file tree Collapse file tree
uefi-test-runner/src/proto/console Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,8 +52,16 @@ pub unsafe fn test() {
5252 info ! ( "Running serial protocol test" ) ;
5353 let handle = boot:: get_handle_for_protocol :: < Serial > ( ) . expect ( "missing Serial protocol" ) ;
5454
55+ // Note: After this line, until we reconnected the console driver with the
56+ // serial device, we won't get logging output on the serial device.
57+ // Log messages are still printed to the debugcon device.
5558 let mut serial =
5659 boot:: open_protocol_exclusive :: < Serial > ( handle) . expect ( "failed to open serial protocol" ) ;
60+ debug ! ( "Serial protocol revision: {:?}" , serial. revision( ) ) ;
61+ debug ! (
62+ "Serial protocol device_type_guid: {:?}" ,
63+ serial. device_type_guid( )
64+ ) ;
5765
5866 // Send the request, but don't check the result yet so that first
5967 // we can reconnect the console output for the logger.
You can’t perform that action at this time.
0 commit comments