freebsd-dev/sys/mips/nlm
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
..
dev Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
hal Netlogic XLP network driver update 2013-09-07 18:26:16 +00:00
board_cpld.c Netlogic XLP network driver update 2013-09-07 18:26:16 +00:00
board_eeprom.c Support for EEPROM and CPLD on XLP EVP boards. 2012-03-27 12:25:47 +00:00
board.c Netlogic XLP network driver update 2013-09-07 18:26:16 +00:00
board.h Netlogic XLP network driver update 2013-09-07 18:26:16 +00:00
bus_space_rmi_pci.c MIPS XLP platform code update. 2011-09-05 10:45:29 +00:00
bus_space_rmi.c Add correct range parameter in XLP DTS 2012-08-21 09:37:23 +00:00
clock.h MIPS XLP platform code update. 2011-09-05 10:45:29 +00:00
cms.c Switch to interrupt based message handling for XLP 8xx B0. 2012-03-27 07:47:13 +00:00
files.xlp Supply endianness implied by the -m flag when compiling ucore code. 2012-03-29 02:03:06 +00:00
interrupt.h MIPS XLP platform code update. 2011-09-05 10:45:29 +00:00
intr_machdep.c Update memory and resource allocation code for SoC devices 2012-03-27 15:39:55 +00:00
mpreset.S Update the L1D cache flush sequence when enabling threads. 2012-03-27 07:51:42 +00:00
msgring.h xlpge : driver for XLP network accelerator 2012-03-27 14:05:12 +00:00
std.xlp Rearrange XLP configuration files. 2011-11-18 11:18:59 +00:00
tick.c Panics about how things can't be attached should probably happen in the 2013-10-29 20:38:58 +00:00
uart_cpu_xlp.c XLP UART code udpate. 2012-03-27 14:48:40 +00:00
usb_init.c Fix USB compilation, and add USB options to XLP conf 2011-11-19 14:33:14 +00:00
xlp_machdep.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
xlp_pci.c Devices that rely on hints or identify routines for discovery need to 2013-10-29 14:07:31 +00:00
xlp.h Identify Netlogic XLP 8xx B1 chip revisions 2012-07-09 10:24:45 +00:00