x86/boot: fold branches in video handling code
authorJan Beulich <jbeulich@suse.com>
Thu, 7 Apr 2022 06:34:58 +0000 (08:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Apr 2022 06:34:58 +0000 (08:34 +0200)
commit2f576a65a09d98e63e548143825d7a33fa5cff1b
tree986c90f983a911845ce95680da33ee7a410cf08f
parent3b91082bb8486001dfca9952123aa643ca7c5a5e
x86/boot: fold branches in video handling code

Using Jcc to branch around a JMP is necessary only in pre-386 code,
where Jcc is limited to disp8. Use the opposite Jcc directly in two
places. Since it's adjacent, also convert an ORB to TESTB.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/boot/video.S