Hi, I was reading through dbgser.c and noticed that the for loop always uses Handles[0] instead of walking through the array of handles returned by LocateHandleBuffer.
//
// Loop through all the handles until one is successfully configured.
//
for (HandleIndex = 0; HandleIndex < HandleCount; HandleIndex += 1) {
//
// Get the serial I/O protocol.
//
EfiStatus = BopEfiHandleProtocol(Handles[0], <---- Should be Handles[HandlesIndex]
&BoEfiSerialIoProtocolGuid,
Hi, I was reading through dbgser.c and noticed that the for loop always uses
Handles[0]
instead of walking through the array of handles returned by LocateHandleBuffer.