cdboot: add explict suffix to ambiguous or instruction
Clang disallows ambiguous instructions (GNU as has a default based on chosen .code setting). We only need 'orb' here because KARGS_FLAGS_PXE fits in a byte; this is the same as done in bxeboot. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8959
This commit is contained in:
parent
dfe2deb992
commit
6ecbf62ad2
@ -127,7 +127,7 @@ start: cld # string ops inc
|
|||||||
stosl # to zero
|
stosl # to zero
|
||||||
mov drive,%dl # Store BIOS boot device
|
mov drive,%dl # Store BIOS boot device
|
||||||
mov %dl,0x4(%bx) # in kargs->bootdev
|
mov %dl,0x4(%bx) # in kargs->bootdev
|
||||||
or $KARGS_FLAGS_CD,0x8(%bx) # kargs->bootflags |=
|
orb $KARGS_FLAGS_CD,0x8(%bx) # kargs->bootflags |=
|
||||||
# KARGS_FLAGS_CD
|
# KARGS_FLAGS_CD
|
||||||
#
|
#
|
||||||
# Load Volume Descriptor
|
# Load Volume Descriptor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user