1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00
freebsd/sys/boot/i386
Eitan Adler 7a22215c53 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.

Discussed with:	-arch, rdivacky
Reviewed by:	cperciva
2013-11-30 22:17:27 +00:00
..
boot0
boot0ext
boot0sio
boot2
btx Sanitize the %eflags returned by BIOS routines. Some BIOS routines enter 2013-10-10 19:51:38 +00:00
cdboot
common
efi Purely cosmetic change: order DT_REL* and DT_RELA* consistently. 2013-11-28 19:41:03 +00:00
gptboot Add descriptions to the FILES list, fix some mdoc complaints, move the 2013-07-03 18:53:36 +00:00
gptzfsboot
kgzldr
libfirewire Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
libi386 Allow users to set UUID in network byte order regardless of SMBIOS version. 2013-10-22 21:32:28 +00:00
loader Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
mbr
pmbr
pxeldr
zfsboot
zfsloader
Makefile
Makefile.inc