macallan
2a71c3f186
set USE_PCIVGAIO=0 on non-x86
2016-07-01 23:29:17 +00:00
christos
a8673dd4cc
Improve wording.
2016-07-01 22:56:06 +00:00
christos
ff64554576
cgdconfig is no crypto.
2016-07-01 22:52:06 +00:00
christos
3a39bad1de
cgdconfig does not need crypto.
2016-07-01 22:50:50 +00:00
christos
55b06df259
replace openssl HMAC(3) with our hmac(3).
2016-07-01 22:50:09 +00:00
christos
088e9570cb
Add hmac(3)
2016-07-01 22:46:20 +00:00
christos
d32f1d2f0f
add hmac(3)
2016-07-01 22:42:01 +00:00
christos
a1d87d3311
new hmac function.
2016-07-01 22:41:39 +00:00
martin
845cb86246
Switch ia64 and alpha to latest gcc/binutils(alpha was there already)/gdb.
2016-07-01 20:05:28 +00:00
christos
4fda2f64e1
define block length
2016-07-01 16:42:46 +00:00
mrg
2e7e02f388
avoid the default TARGET_INIT_LIBFUNCS (i think) and XFmode.
2016-07-01 14:48:51 +00:00
maxv
4ddce63777
Try to make this part more readable. No functional change.
2016-07-01 13:11:21 +00:00
maxv
5852a7fce9
Ensure the restartable atomic sequence is in userland, for real.
2016-07-01 12:49:22 +00:00
maxv
ce6ad8e69c
Don't confuse between VM_PROT and UVM_PROT. This should be VM_PROT.
2016-07-01 12:41:28 +00:00
maxv
e30dd8567b
There is no direct map on i386, and therefore we always need to use
...
temporary VAs and PTEs when mapping an area. These temporary VAs don't
need to be executable. Put the NOX bit on them.
2016-07-01 12:36:43 +00:00
maxv
6627575813
Surprisingly enough, the kernel expects the CPU to support large pages
...
when creating the direct map on amd64. Therefore, the amd64 CPUs that do
not support large pages basically don't work on NetBSD.
It looks like it has always been this way; add a KASSERT to panic
properly in case we come across one of these CPUs.
2016-07-01 12:18:34 +00:00
skrll
dbc60a3325
Convert umass(4) to usbhist.
2016-07-01 12:16:35 +00:00
maxv
846d7bdae6
KNF a little, remove some stupid comments, and add some when needed.
2016-07-01 12:12:06 +00:00
maxv
80a0bef2ed
We use only one L4 slot for the direct map, which means that we cannot
...
map more than 512GB. Panic properly if this limit is reached.
2016-07-01 11:57:10 +00:00
maxv
90af2c902f
Use pmap_bootstrap_valloc and pmap_bootstrap_palloc under XEN at least
...
once, for these not to appear as unused functions (not tested, but I
guess).
2016-07-01 11:44:05 +00:00
maxv
86dad8c6ab
Create the direct map in a separate function. While here, add some
...
comments to explain what we are doing. No functional change.
2016-07-01 11:39:45 +00:00
maxv
24c088c053
Introduce pmap_bootstrap_valloc and pmap_bootstrap_palloc, that are used
...
to allocate a virtual/physical address before the VM system has been set
up.
Start using it.
2016-07-01 11:28:18 +00:00
maxv
d56744c412
Put the code in charge of remapping the kernel segments with large pages
...
into another function. No functional change.
2016-07-01 11:20:01 +00:00
maxv
dea3b940ba
Define pmap_pg_nx globally. Will be used soon.
2016-07-01 11:10:48 +00:00
maxv
d526a91eb5
Remove this area (unused).
2016-07-01 10:20:10 +00:00
skrll
9859ce6e9c
Loop in the interrupt handler while there are interrupts to process.
...
umass(4) reads now work much better.
2016-07-01 09:03:28 +00:00
skrll
053906aac0
Fixup the error handling and specifically NAK hold off. If the device
...
NAKs then delay the transfer by at least a frame.
I can now write files to a umass attached to slhci(4).
2016-07-01 08:42:21 +00:00
skrll
14c63cd6b2
Debug tweak
2016-07-01 07:35:03 +00:00
skrll
65e405d81d
Format conditional
2016-07-01 07:33:33 +00:00
skrll
c7969a85a0
Format conditionals
2016-07-01 07:15:37 +00:00
skrll
0eb7369e5a
Reformat a conditional
2016-07-01 05:39:24 +00:00
ozaki-r
17b4eb5edd
Make sure to free all interface addresses in if_detach
...
Addresses of an interface (struct ifaddr) have a (reverse) pointer of an
interface object (ifa->ifa_ifp). If the addresses are surely freed when
their interface is destroyed, the pointer is always valid and we don't
need a tweak of replacing the pointer to if_index like mbuf.
In order to make sure the assumption, the following changes are required:
- Deactivate the interface at the firstish of if_detach. This prevents
in6_unlink_ifa from saving multicast addresses (wrongly)
- Invalidate rtcache(s) and clear a rtentry referencing an address on
RTM_DELETE. rtcache(s) may delay freeing an address
- Replace callout_stop with callout_halt of DAD timers to ensure stopping
such timers in if_detach
2016-07-01 05:22:33 +00:00
ozaki-r
b9853dec6e
Add debug helper function for interface addresses
...
It checks whether all addresses of an interface being destroyed
are freed (no reference remains) at the end of if_detach.
2016-07-01 05:15:40 +00:00
skrll
8a450e6ff6
Provide some defaults. From Felix Deichmann.
2016-06-30 20:39:54 +00:00
wiz
c763387bbc
Bump date for header file change.
2016-06-30 18:43:43 +00:00
christos
7786d9a248
remove XXX
2016-06-30 17:38:47 +00:00
abhinav
5fd6a784bb
Document WAIT_ANY and WAIT_MYPGRP constants
...
(text referenced from OpenBSD wait(2) man page)
While there, remove duplicated information and add more refernces in SEE ALSO
Also, the NOTES section refers to intro(2), while siginterrupt(3) is a better
suited reference, so fix that too.
Ok by wiz
2016-06-30 17:00:55 +00:00
skrll
2f476c84f7
Remove dead code
2016-06-30 16:34:56 +00:00
dholland
bb1c83042f
PR 51298 David Binderman: simplify redundant conditionals
2016-06-30 15:34:30 +00:00
dholland
ae3b3bcc2b
PR 51287 Ralf Nolden: posix_fallocate belongs in <fcntl.h>
2016-06-30 15:29:20 +00:00
mrg
9d18868a64
avoid an impossible case the compiler can't quite tell.
2016-06-30 13:17:48 +00:00
skrll
65c74fd14b
Fix MIPS3_NO_PV_UNCACHED alias handling by looping through the pv_list
...
looking for bad aliases and removing the bad entries. That is, revert
to the code before the matt-mips64 merge.
Additionally, fix the pmap_update call to not use the (recently
removed/freed) pv for the pmap_t.
Fixes the following two PRs
PR/49903: Panic during installation on WorkPad Z50 (hpcmips) whilst uncompressing base.tgz
PR/51226: Install bug for hpcmips NetBSD V7 using FTP Full installation
2016-06-30 12:57:35 +00:00
pgoyette
c87d5fde45
Omit cgd based ramdisks and miniroot modules if MKCRYPTO=no
...
Final part of PR kern/51282
2016-06-30 12:56:27 +00:00
ozaki-r
5abd4152b3
Get rid of duplicate prototype of ifafree
2016-06-30 09:44:58 +00:00
nonaka
eafa673da3
Fix false positives when comparing long file names that have the
...
same first 13 (or some multiple thereof) characters.
2016-06-30 09:34:01 +00:00
mrg
5f3362148f
various ia64 updates:
...
- add a compat vfork because of stupid
- add a weak sbrk
- add a shmat syscall
- add an empty kvm implementation that links
- add missing fp stuff
2016-06-30 09:14:30 +00:00
mrg
1e2fcaaf47
enable some soft-fp for ia64, needed for libgcc. re-mknative-gcc.
2016-06-30 09:06:35 +00:00
skrll
82748f7304
Fix the unused fix
2016-06-30 08:51:06 +00:00
ozaki-r
65634f4cd9
Tidy up goto lables
...
No functional change.
2016-06-30 06:56:27 +00:00
ozaki-r
3fe6488e55
Fix error paths
...
Some error paths did m_put_rcvif_psref twice.
2016-06-30 06:48:58 +00:00