freebsd-skq/sys/mips/malta
eadler 44c01df173 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.malta Add PCI bus space implementation that converts all 2 and 4 bytes 2013-08-30 20:28:35 +00:00
gt_pci_bus_space.c Add PCI bus space implementation that converts all 2 and 4 bytes 2013-08-30 20:28:35 +00:00
gt_pci_bus_space.h Add PCI bus space implementation that converts all 2 and 4 bytes 2013-08-30 20:28:35 +00:00
gt_pci.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
gt.c Devices that rely on hints or identify routines for discovery need to 2013-10-29 14:07:31 +00:00
gtreg.h
gtvar.h
malta_machdep.c YAMON is 32-bit application and uses 32-bit pointers to pass kernel 2013-08-31 01:24:05 +00:00
maltareg.h
obio.c
obiovar.h
std.malta Remove all legacy ATA code parts, not used since options ATA_CAM enabled in 2013-04-04 07:12:24 +00:00
uart_bus_maltausart.c
uart_cpu_maltausart.c
yamon.c - Initialize freq variable so we will not end up with random value 2013-08-27 01:08:55 +00:00
yamon.h