1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/arm/lpc
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
..
files.lpc
if_lpe.c Sweep up a bit of arm-land fallout after r257244; include necessary 2013-10-28 15:20:17 +00:00
if_lpereg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
lpc_dmac.c
lpc_fb.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
lpc_gpio.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
lpc_intc.c
lpc_machdep.c Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
lpc_mmc.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
lpc_ohci.c
lpc_pll.c
lpc_pwr.c
lpc_rtc.c
lpc_space.c
lpc_spi.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
lpc_timer.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
lpcreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
lpcvar.h
ssd1289.c
std.lpc Set machine correctly on ARM. This allows universe to use the correct world 2012-08-18 05:48:19 +00:00