freebsd-dev/sys/boot/arm
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
..
at91 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
ixp425 Fix ixp425 boot2 with ARM EABI: 2013-09-29 15:19:34 +00:00
uboot Recent versions of U-Boot require us to also backup and restore r9 for API 2013-11-24 20:33:38 +00:00
Makefile Initial support of loader(8) for ARM machines running U-Boot. 2008-10-14 10:11:14 +00:00
Makefile.inc