1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/arm/econa
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
..
cfi_bus_econa.c
econa_machdep.c Call cpu_setup() from the initarm() routine on platforms that don't use 2013-11-21 01:08:10 +00:00
econa_reg.h
econa_var.h
econa.c A few last BUS_PROBE_NOWILDCARDs are in order. 2013-10-29 14:32:33 +00:00
ehci_ebus.c
files.econa
if_ece.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
if_ecereg.h
if_ecevar.h
ohci_ec.c
std.econa Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00
timer.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
uart_bus_ec.c Remove an incorrectly copied and pasted clause from these license 2013-11-15 16:16:55 +00:00
uart_cpu_ec.c Remove an incorrectly copied and pasted clause from these license 2013-11-15 16:16:55 +00:00