Skip to content
Commit c83858a4 authored by Nadav Amit's avatar Nadav Amit Committed by Paolo Bonzini
Browse files

x86: realmode: fix serial_init()



In some setups serial output from the real-mode tests is corrupted.

I do not know the serial port initialization code well, but the
protected mode initialization code is different than the real-mode code.
Using the protected mode serial port initialization fixes the problem.

Keeping the tradition of code duplication between real-mode and
protected mode, this patch copies the missing initialization into
real-mode serial port initialization.

Signed-off-by: default avatarNadav Amit <namit@vmware.com>
Message-Id: <20200701193045.31247-1-namit@vmware.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent eae10e8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment