Commit Graph

235412 Commits

Author SHA1 Message Date
joerg c3d5222ef6 Fix RCS ID. 2015-05-13 12:13:38 +00:00
martin 07b432ed22 Before pinging, wait for addresses to come out of tentative state 2015-05-13 12:01:24 +00:00
shm 0bda128cdf 0 mappings are currently disabled on all architectures. 2015-05-13 11:36:12 +00:00
skrll 119978f543 Whitespace 2015-05-13 11:21:38 +00:00
skrll 37fba0f3a7 One comment is enough for anybody 2015-05-13 11:21:04 +00:00
jmcneill 9d47d126db select max cpu frequency (~2.3GHz) at boot 2015-05-13 11:07:28 +00:00
jmcneill 685c034321 initialize cpufreq subsystem 2015-05-13 11:07:02 +00:00
jmcneill a4e0321360 Tegra K1 CPU frequency scaling support.
jetsontk1# sysctl machdep.cpu
machdep.cpu.frequency.target = 2292
machdep.cpu.frequency.current = 2292
machdep.cpu.frequency.available = 2292 2100 1896 1692 1500 1296 1092 900 696
2015-05-13 11:06:13 +00:00
pgoyette 09458121ad Note to self: if you're going to revert, do it right.
This should restore the original SEE ALSO section.
2015-05-13 10:49:26 +00:00
pgoyette ec17d2b7e8 Revert revision 1.31 - the referenced page does not exist and I am not
qualified to write it!
2015-05-13 10:17:27 +00:00
ozaki-r a8d41e5542 Add basic tests for IP forwarding 2015-05-13 10:04:44 +00:00
wiz bfd8396881 Fix typos, sort SEE ALSO. 2015-05-13 09:15:21 +00:00
pgoyette ba5eaf4e0d Add an entry for lue(9lua) to the SEE ALSO list. 2015-05-13 09:04:38 +00:00
mlelstv 1490a7ba80 Add documentation for the drvctl driver and add reference.
Fixes PR 49895.
2015-05-13 07:28:49 +00:00
pgoyette 14e2571904 A set of more comprehensive example kernel modules to replace our
previous single example.

These examples were provided by Kamil Rytarowski.

XXX These modules are built as part of a system build, but they
XXX are NOT installed in $DESTDIR.
2015-05-13 07:07:36 +00:00
pgoyette b175b21535 Soon to be replaced with a more comprehensive set of examples. 2015-05-13 07:02:16 +00:00
skrll 65b0d3bfdb Make sure mips_elf_n32_is_local_label_name is used. 2015-05-13 06:24:18 +00:00
msaitoh d86a405727 s/TRUE/true/ and s/FALSE/false/ to make crash(8) compilable. 2015-05-13 02:37:41 +00:00
nonaka e3a0eb6464 regen 2015-05-13 02:27:25 +00:00
nonaka aeb1d39802 Added Qualcomm Atheros QCA986x/988x. 2015-05-13 02:23:10 +00:00
pgoyette 8657f61bb9 Update sets lists for new sysv_ipc module 2015-05-13 02:17:13 +00:00
pgoyette 2cba335640 Descend into subdir to actually build the new sysv_ipc module 2015-05-13 02:15:34 +00:00
pgoyette 50b0fae6fd Regenerate 2015-05-13 02:13:08 +00:00
pgoyette 855a17b428 Update syscalls to point to the new module. (Regen of dependant
files to follow.)
2015-05-13 02:10:46 +00:00
pgoyette 9681555f60 The compat_sysv module now depends on sysv_ipc module. 2015-05-13 02:08:20 +00:00
pgoyette 75eb6c4280 Create a new sysv_ipc module to contain the SYSVSHM, SYSVSEM, and
SYSVMSG options.  Move associated variables out of param.c and into
the module's source file.
2015-05-13 02:06:25 +00:00
pgoyette 40997f1238 Another xxxfini() routine. 2015-05-13 01:23:10 +00:00
pgoyette 446e5f46eb More prep: add a xxxfini() routine to each subcomponent so we can
clean up after ourselves.  Mostly, this checks to make sure that
there are no active itmes, and then deallocates wired kernel virtual
memory.  For SYSVSEM, we also disestablish the exithook() so we
won't try to call it after destroying its memory pool!
2015-05-13 01:16:15 +00:00
pgoyette 748778c4ee More preparation for modularizing the SYSVxxx options. Here we
change the kern.ipc.sysvxxx sysctls into dynamic values, so each
sub-component of SYSVxxx can declare its own availability.
2015-05-13 01:00:16 +00:00
christos 0c472000e5 When in Rome... use true or false, instead of TRUE and FALSE. 2015-05-12 23:16:47 +00:00
jmcneill 0ea784f51b add titemp 2015-05-12 20:54:30 +00:00
jmcneill 4408c5e08a Add driver for Texas Instruments TMP451 Temperature Sensor 2015-05-12 20:54:08 +00:00
christos 6ebc227033 rump is compiled with COMPAT_OSOCK not COMPAT_OIFREQ and the code in if.c
is not handling this case properly. Make this work by checking again if
we need to convert struct ifreq here, and if we do, we do it ourselves.
2015-05-12 20:42:46 +00:00
christos 440c00cdaa libasan depends on libstdc++ so move it under the wait barrier. 2015-05-12 19:43:50 +00:00
msaitoh 8fccbbaabd Catch up FreeBSD and OpenBSD's changes. Not completed but it's better than
before:
- Add support rdrand, rdseed, fxrstor, ldmxcsr, stmxcsr, xsare, xrstor,
  xsaveopt, cflush and some others.
- Check REX bit correctly.
- Print correct register.
- Fix a lot of bugs.
- KNF.
2015-05-12 19:24:57 +00:00
christos 72b528eece Now that _PROP_ISSPACE does not include the EOF check, put the check for
EOF inside the loop. Also fix another unbounded loop that did not check for
EOF. From Mateusz Kocielski
XXX: pullup-7
2015-05-12 14:59:35 +00:00
roy e0cc834e99 ioctl -> prog_ioctl as pointed out by pooka@ 2015-05-12 14:05:29 +00:00
jmcneill 069a031648 copy bootargs from uboot before we turn on the MMU, for the benefit of kernels without __HAVE_MM_MD_DIRECT_MAPPED_PHYS 2015-05-12 10:37:20 +00:00
pgoyette a7268a9779 Finish work started in previous commit. Ensure that initialization
code is only called once for built-in variants of the module.
2015-05-12 10:20:14 +00:00
martin a7b45466db No kernel modules for acorn26 2015-05-12 08:25:28 +00:00
skrll 7f61cd4134 Add some KASSERTs to catch similar bugs to the cnptes/nptes one 2015-05-12 07:07:16 +00:00
pgoyette ae8c40588e In preparation for modularization of the SYSV* options, restore the
use of opt_sysv.h to get the -DSYSVxxx definitions.
2015-05-12 05:19:20 +00:00
msaitoh b5eb0b6b3e Add missing check for db_Grp9. This change fixes a bug that cmpxchg8b can't
be disassembled.
2015-05-12 05:18:50 +00:00
pgoyette 88e94fddb7 Don't manipulate the autoconfig databases for built-in module.
Thanks, christos!
2015-05-12 02:38:00 +00:00
christos 5c5210c091 Like the non-host mkdep don't print ./foo.h as a dependency, but simplify
it to foo.h. This was causing problems with:

.y.h: ${.TARGET:.h=.c}

where .h was ./cgram.h and the source became ./cgram.c confusing for example
/usr/src/tools/lint1 because make had both cgram.c and ./cgram.c in the list
of sources, trying to build both of them in parallel thinking that they were
different files. Since the regular mkdep does not produce such dependencies,
the regular build does not suffer from this issue.
2015-05-12 00:04:34 +00:00
msaitoh 24497ad5c7 Use roundup2() and uintptr_t. Adviced by riastradh@. 2015-05-12 00:00:35 +00:00
matt 5a05d0f792 Make sure nptes is a multiple of PAGE_SIZE / L2_S_SIZE. 2015-05-11 22:28:22 +00:00
jmcneill 8300b51deb add ath@pci (mini-PCIe expansion slot) 2015-05-11 21:46:50 +00:00
martin b0b97e486a acorn26 probably was not meant to use the arm32 genassym 2015-05-11 21:26:41 +00:00
martin 840d8b9a07 Missed a few more "yesno" in previous 2015-05-11 21:07:56 +00:00