opnsense-src/sys/powerpc
Pedro F. Giffuni 6d5bc1bcab powerpc: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:10:40 +00:00
..
aim Install the SLB miss trap-handling code in the SLB-based MMU driver set up, 2018-01-15 16:08:34 +00:00
booke Move the pmap-specific code in copyinout.c that gets pointers to userland 2018-01-15 06:46:33 +00:00
conf PowerNV: initial support for OPAL 2018-01-11 07:40:06 +00:00
cpufreq sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
fpu sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
include Move the pmap-specific code in copyinout.c that gets pointers to userland 2018-01-15 06:46:33 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx Include only the headers needed 2018-01-13 21:10:42 +00:00
ofw Chase removal of FDT fixup code on PowerPC in r327907. 2018-01-13 03:09:05 +00:00
powermac Fix minor locking issues in the Power Mac Uninorth PCI bridge driver. 2018-01-10 22:19:11 +00:00
powernv PowerNV: update OPAL driver 2018-01-12 12:14:52 +00:00
powerpc Move the pmap-specific code in copyinout.c that gets pointers to userland 2018-01-15 06:46:33 +00:00
ps3 Document places we assume that physical memory is direct-mapped at zero by 2018-01-13 23:14:53 +00:00
pseries powerpc: make some use of mallocarray(9). 2018-01-15 21:10:40 +00:00
psim sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00