freebsd-nq/sys/arm/broadcom/bcm2835
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
..
bcm2835_bsc.c As all the IIC controllers on system uses the same 'iichb' prefix we cannot 2013-11-12 13:34:07 +00:00
bcm2835_bscreg.h Add the Raspberry Pi BSC (I2C compliant) controller driver. 2013-10-23 12:29:39 +00:00
bcm2835_bscvar.h As all the IIC controllers on system uses the same 'iichb' prefix we cannot 2013-11-12 13:34:07 +00:00
bcm2835_dma.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
bcm2835_dma.h Add driver for BCM2835's DMA engine 2013-02-28 19:48:19 +00:00
bcm2835_fb.c Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring 2013-11-05 13:48:34 +00:00
bcm2835_gpio.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
bcm2835_gpio.h Export a function to allow BCM2835's peripheral devices to enable their 2013-09-07 18:48:15 +00:00
bcm2835_intr.c
bcm2835_machdep.c Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
bcm2835_mbox.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
bcm2835_mbox.h Convert bcm2835_mbox to the new mbox interface. 2013-07-07 21:23:58 +00:00
bcm2835_sdhci.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
bcm2835_spi.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
bcm2835_spireg.h Add the Raspberry Pi SPI controller driver. 2013-10-24 16:27:33 +00:00
bcm2835_spivar.h Add the Raspberry Pi SPI controller driver. 2013-10-24 16:27:33 +00:00
bcm2835_systimer.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
bcm2835_vcbus.h Add macroses to properly map IO peripherals memory window from 2013-02-23 22:46:26 +00:00
bcm2835_wdog.c - Implement watchdog function and register it with watchdog list 2013-10-22 05:19:42 +00:00
bcm2835_wdog.h
common.c
files.bcm2835 Switch to the new common bus_space-v6.c, remove the local one. 2013-11-07 04:02:08 +00:00
std.bcm2835 Move the Raspberry Pi low level options out of the kernel config and into 2013-07-15 07:01:30 +00:00
std.rpi Move the Raspberry Pi low level options out of the kernel config and into 2013-07-15 07:01:30 +00:00