freebsd-dev/sys/boot/arm/at91/libat91
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
..
arm_init.S
at91rm9200_lowlevel.c Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
at91rm9200_lowlevel.h
at91rm9200.h Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
delay.c
eeprom.c Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
emac_init.c Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
emac.c
emac.h
getc.c
lib_AT91RM9200.h Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
lib.h
Makefile Allow other SOCs to be compiled in, first step. 2012-07-07 04:51:59 +00:00
mci_device.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
memcmp.c
memcpy.c
memset.c
p_string.c
printf.c
putchar.c
reset.c
sd-card.c
sd-card.h
spi_flash.c Use the pin number rather than the hybrid pin number + name. 2012-07-15 05:35:14 +00:00
spi_flash.h
strcmp.c
strcpy.c
strcvt.c
strlen.c
tag_list.c
tag_list.h
xmodem.c