freebsd-dev/sys
John Baldwin 7939325215 Allow the EFI loader to work with large kernels and/or modules
(for example, a large mfsroot).  Note that for EFI the kernel and
modules (as well as other metadata files such as splash screens or
memory disk images) are loaded into a statically-sized staging area.
When the EFI loader exits it copies this staging area down to the
location the kernel expects to run at.
- Add bounds checking to the copy routines to fail attempts to access
  memory outside of the staging area.  Previously loading a combined
  kernel + modules larger than the staging size (32MB) would overflow
  the staging area trashing whatever memory was afterwards.  Under
  Intel's OVMF firmware for qemu this resulted in fatal faults in the
  firmware itself.  Now the attempt will fail with ENOMEM.
- Allow the staging area size to be configured at compile time via
  an EFI_STAGING_SIZE variable in src.conf or on the command line.
  It accepts the size of the staging area in MB.  The default size
  remains 32MB.

MFC after:	2 weeks
Sponsored by:	Cisco Systems, Inc.
2015-03-12 17:07:24 +00:00
..
amd64 Only schedule interrupts on a single hyperthread of a modern Intel CPU core 2015-03-06 20:34:28 +00:00
arm Remove MODULES_OVERRIDE="" for Marvel-based armv5 systems. 2015-03-10 14:36:51 +00:00
boot Allow the EFI loader to work with large kernels and/or modules 2015-03-12 17:07:24 +00:00
bsm
cam Add DA_Q_NO_RC16 quirk for USB mass storage device. 2015-03-07 17:18:06 +00:00
cddl Make DIOCGATTR in device mode handle "GEOM::candelete". 2015-03-12 16:19:18 +00:00
compat Run make sysent. 2015-01-23 21:08:24 +00:00
conf Categorize certain kernel builds as being broken in certain places. 2015-03-12 03:57:19 +00:00
contrib Merge ACPICA 20141107 and 20150204. 2015-02-18 20:33:00 +00:00
crypto
ddb
dev Using parent DMA tag in drm_pci_alloc(). This can allow drm2 devices to work with Intel DMAR enabled for the system, as long as DMAR is disabled for the drm2 device. 2015-03-12 14:18:36 +00:00
fs Fix white spaces. 2015-03-02 19:14:58 +00:00
gdb
geom Fix couple BIO_DELETE bugs in geom_mirror. 2015-03-12 10:20:53 +00:00
gnu File names with commas in them cause issues for freebsd-update. We 2015-03-12 06:43:58 +00:00
i386 Only schedule interrupts on a single hyperthread of a modern Intel CPU core 2015-03-06 20:34:28 +00:00
isa
kern Factor out mbuf hashing code from LAGG driver so that other network 2015-03-11 16:02:24 +00:00
kgssapi
libkern Implement asprintf in libkern 2015-03-01 00:22:16 +00:00
mips Now that if_arge.c handles actual 'locked' media settings, enable 2015-03-08 22:07:32 +00:00
modules Factor out mbuf hashing code from LAGG driver so that other network 2015-03-11 16:02:24 +00:00
net Add if_input_default() method, that will be used for if_input 2015-03-12 14:55:33 +00:00
net80211 Fix kern/196290 - don't announce 11n HTINFO rates if the channel is 2015-02-27 04:45:47 +00:00
netgraph Revise default limit for maximum of netgraph data items. 2015-02-12 22:20:34 +00:00
netinet Update a comment to get it aligned with the code change. 2015-03-11 15:40:29 +00:00
netinet6 tcp6_ctlinput() doesn't pass MTU value to in6_pcbnotify(). 2015-03-06 05:50:39 +00:00
netipsec Remove extra '&'. sin6 is already a pointer. 2015-03-07 18:44:52 +00:00
netnatm
netpfil Reset mbuf pointer to NULL in fastroute case to indicate that mbuf was 2015-03-12 08:57:24 +00:00
netsmb
nfs Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfsclient
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm
ofed Factor out mbuf hashing code from LAGG driver so that other network 2015-03-11 16:02:24 +00:00
opencrypto
pc98 Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
powerpc The H_VIO_SIGNAL hypercall only enables interrupts for future received 2015-03-12 17:01:30 +00:00
rpc rpc: Uninitialized pointer read 2015-02-02 16:07:07 +00:00
security
sparc64 Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal 2015-02-16 22:13:03 +00:00
sys Factor out mbuf hashing code from LAGG driver so that other network 2015-03-11 16:02:24 +00:00
teken
tools
ufs Partially revert r277922, avoid sleeping and do flush if we a awaken, 2015-02-05 13:00:27 +00:00
vm Fix function name in comment. 2015-03-10 13:06:54 +00:00
x86 Free up the IPI slot used by IPI_STOP_HARD. 2015-03-01 02:31:27 +00:00
xdr
xen Pacify clang 3.3 by ending the file with a newline. This is common 2015-01-06 21:26:35 +00:00
Makefile