Aleksandr Rybalko
4874c0802c
Install teken.h for userland.
...
Part of VT(9) project merge.
Reviewed by: nwhitehorn
MFC_to_10_after: re approval
Sponsored by: The FreeBSD Foundation
2013-12-05 22:56:37 +00:00
Jilles Tjoelker
c80ad859e1
test: Avoid looking up again the type of a known binary operator.
2013-12-05 22:53:32 +00:00
Aleksandr Rybalko
27cf7d04ef
Merge VT(9) project (a.k.a. newcons).
...
Reviewed by: nwhitehorn
MFC_to_10_after: re approval
Sponsored by: The FreeBSD Foundation
2013-12-05 22:38:53 +00:00
John Baldwin
5c79f1f9df
Fix a typo.
2013-12-05 21:58:02 +00:00
John Baldwin
44ddb776c6
There is no sysctl with the MIB { CTL_KERN, KERN_MAXID }.
...
MFC after: 2 weeks
2013-12-05 21:55:10 +00:00
John Baldwin
c71f0d951a
Fix the processor table entry structure to use a fixed-width type for
...
32-bit fields so it is the correct size on amd64. Remove a workaround
for the broken structure from bhyve(8).
MFC after: 1 week
2013-12-05 21:51:54 +00:00
John Baldwin
43fdca95b6
Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for
...
powerpc64. This fixes the LINT64 kernel config.
Approved by: nwhitehorn (the idea, not the actual patch)
2013-12-05 21:49:14 +00:00
Andreas Tobler
f5dfbe2f69
Do some cosmetic fixes.
2013-12-05 21:35:52 +00:00
Andreas Tobler
05e1c598cc
Increase PHYS_AVAIL_SZ because on pSeries machines we can have many logical
...
regions which represent the total amount of memory. The size of these regions
is not the physical size of the chip but it is a logical one and it is given
by the OpenFirmware, it is selectable at boot time and varies between 16MB and
256MB in my case. There is an 'automatic' option which would select the size as
64MB in case you have around 16GB of RAM.
To make sure we can allocate RAM with the automatic option bump this value
of PHYS_AVAIL_SZ to 256.
2013-12-05 21:34:33 +00:00
Andreas Tobler
6df3000ccd
In case we have many continous regions without gaps we have to make soure that
...
we collapse them into one region. The previous version missed to go back one
step and do it again.
2013-12-05 21:25:56 +00:00
Pedro F. Giffuni
1aa997ff6a
gcc: Add -flax-vector-conversions
...
Obtained from: gcc 4.3 (rev. 120572, 120688; GPLv2)
2013-12-05 21:22:51 +00:00
Robert Millan
7514065056
Initialize modesetting sysctls in radeonkms.
...
This is intended for MFC if re@ permits.
Reviewed by: kib, dumbbell
Tested by: Steven Chamberlain <steven@pyro.eu.org>
MFC after: 3 days
2013-12-05 20:23:32 +00:00
Hans Petter Selasky
bce421e9f7
Fix external compiler warning about write-only assigned variable.
2013-12-05 07:18:06 +00:00
Colin Percival
3b251028e2
Make panic_reboot_wait_time static.
...
Submitted by: jhb
2013-12-05 03:01:41 +00:00
Tom Rhodes
8d105abc4f
Add -F to flush output after each write. With this, I can
...
set up a pipe and allow a jr user to watch what I'm doing
by running 'script -F pipefile' on it.
While here, spell out the month in the .Dd tag like other
manual pages.
2013-12-05 01:44:24 +00:00
Xin LI
96632c1b9c
Enable Hyper-V support in i386 GENERIC.
...
MFC after: 2 weeks
2013-12-05 00:56:50 +00:00
Glen Barber
d8824524b7
Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluating
...
to true.
Submitted by: hrs
MFC after: 3 days
X-MFC-to-10: immediate
Sponsored by: The FreeBSD Foundation
2013-12-05 00:56:03 +00:00
Xin LI
0ad3455e41
Support Hyper-V on i386:
...
- Add 'hyperv' module into build;
- Allow building Hyper-V support as part of the kernel;
- Hook Hyper-V build into NOTES.
This is intended for MFC if re@ permits.
MFC after: 3 days
2013-12-05 00:54:38 +00:00
Pedro F. Giffuni
0a56d1d88d
gcc: On rs6000 update sp_offset depending only on size.
...
This fixes a nasty bug introduced in r258651.
Reported and tested by: Justin Hibbits
Obtained from: gcc pre-4.3 (rev. 125116; GPLv2)
MFC after: 2 weeks
2013-12-04 21:17:39 +00:00
Sergey Kandaurov
11f7d10cc7
Clean up paragraph remnants.
2013-12-04 20:46:25 +00:00
Xin LI
b41206d84a
Apply vendor improvements to oce(4) driver:
...
- Add support to 40Gbps devices;
- Add support to control adaptive interrupt coalescing (AIC)
via sysctl;
- Improve support of BE3 devices;
Many thanks to Emulex for their continued support of FreeBSD.
Submitted by: Venkata Duvvuru <VenkatKumar.Duvvuru Emulex Com>
MFC after: 3 days
2013-12-04 20:24:18 +00:00
Eitan Adler
a1e8527fd1
route(1): Pull static data to the top of the file.
...
This is a pre-requisisite to some upcoming changes.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Discussed on: -hackers
2013-12-04 20:15:53 +00:00
Eitan Adler
2cd2dfc435
route(1): Pull static buffer out of the function and into function scope.
...
This will make it easier to link as a library.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Discussed on: -hackers
2013-12-04 20:13:29 +00:00
Eitan Adler
9474873899
route(1): Pull static buffer out of the function and into function scope.
...
This will make it easier to link as a library.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> (older version)
Discussed on: -hackers
2013-12-04 20:08:57 +00:00
Eitan Adler
2fc0b58544
route(1): Pull static variable out of the function and into function scope.
...
This will make it easier to link as a library.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> (older version)
Discussed on: -hackers
2013-12-04 20:07:34 +00:00
Eitan Adler
b9f2ea4a57
route(1): Pull static buffer out of the function and into function scope.
...
This will make it easier to link as a library.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> (older version)
Discussed on: -hackers
2013-12-04 20:03:55 +00:00
David E. O'Brien
b63940c108
Add missing bits from the vendor's 2005-05-04 change to
...
contrib/byacc/makefile.in ("add YYPATCH here so it can be tested by
applications") so that applications have a hope of detecting newer
FreeBSD YACC output from an older one.
Submitted by: Juniper Networks
2013-12-04 19:15:56 +00:00
Jean-Sébastien Pédron
20fa47be09
drm: Read PCIER_LINK_CAP/PCIER_LINK_CAP2 from the PCI bridge
...
Before this fix, capabilities were read from vgapci and were incorrect.
2013-12-04 19:04:56 +00:00
Nathan Whitehorn
fec27435ab
Rename sysctl kern.supported_abis to kern.supported_archs, since it gives
...
the set of MACHINE_ARCH values that can be run.
2013-12-04 16:38:40 +00:00
Devin Teske
45df402e9a
Fix a regression introduced by SVN r257842 that prevents Encryption from
...
being enabled.
MFC after: 3 days
2013-12-04 16:06:23 +00:00
Bryan Drewery
ef8e297edb
Regenerate after r258838
2013-12-04 16:06:11 +00:00
Bryan Drewery
44893f0881
Regenerate after r258924
...
MFC after: 3 days
Approved by: bapt (implicit)
2013-12-04 16:03:32 +00:00
Bryan Drewery
a3e0e7dc68
Add missing period for WITHOUT_PKGBOOTSTRAP so that it matches all
...
other entries.
Approved by: bapt
MFC after: 3 days
2013-12-04 15:58:42 +00:00
Hans Petter Selasky
0aff597a1f
Fix what looks like a typo after r258732.
2013-12-04 12:30:51 +00:00
Hans Petter Selasky
8cfe54400e
Fix external compiler warning(s). Avoid pointer dereferencing.
2013-12-04 12:07:46 +00:00
Edward Tomasz Napierala
bc2308d49e
Change comment to match code.
...
Discussed with: thompsa
Sponsored by: The FreeBSD Foundation
2013-12-04 09:48:52 +00:00
Craig Rodrigues
a3478d8cfd
Update release notes.
...
Submitted by: skreuzer
2013-12-04 08:20:04 +00:00
Edward Tomasz Napierala
0efd9bfd47
Add "null" backend to mdconfig(8). This does exactly what the name
...
suggests, and is somewhat useful for benchmarking.
MFC after: 1 month
No objections from: kib
Sponsored by: The FreeBSD Foundation
2013-12-04 07:38:23 +00:00
Eitan Adler
eeca71dbbf
Avoid using a static buffer in atalk_ntoa. This will help allow users to call route(1) as a library.
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> (older version)
Discussed on: -hackers
Reviwed by: adri (different older version)
2013-12-04 05:06:56 +00:00
Eitan Adler
4cb3201829
Add const qualifier where appropriate
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2013-12-04 04:29:52 +00:00
Eitan Adler
df0888760a
Add const qualifier where appropriate
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2013-12-04 04:28:49 +00:00
Eitan Adler
9b80225631
Turn 'n' into a local variable. This is required for additional changes.
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2013-12-04 04:28:00 +00:00
Pedro F. Giffuni
244f00cc0d
ext2fs: add two new reserved inodes.
...
According to online documentation [1], Ext4 has two new "special"
inodes so add the new exclude and replica inodes.
Reference:
[1] https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout
Reported by: Mike Ma
MFC after: 3 weeks
2013-12-04 02:27:52 +00:00
Mark Johnston
bc968a581f
Enable some previously-disabled DTrace tests for umod, ufunc and usym. They
...
expect the installed ksh binary to be named "ksh", which is not the case
when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be
"ksh93" as well so that the tests can actually pass.
2013-12-04 01:40:39 +00:00
Mark Johnston
e9be89ce40
The uaddr, ufunc, umod and usym functions all seem to work as expected on
...
FreeBSD, so stop hiding them behind a "#if defined(sun)".
Reported by: Prashanth Kumar <pra_udupi@yahoo.co.in>
2013-12-04 01:35:04 +00:00
Sean Bruno
4a40e59f97
svn r251516 resized the buf argument a bit too much. Pass a hardcoded
...
size of 6 to humanize_number() to resolve this.
PR: 184405
Submitted by: jhb
MFC after: 2 weeks
2013-12-04 00:28:44 +00:00
Pawel Jakub Dawidek
53449c98b7
Break the loop once we know we have the SYF_CAPENABLED flag.
2013-12-04 00:10:37 +00:00
Pawel Jakub Dawidek
4a824cd865
Only the shared library is installed in /lib/. Static library and symlink
...
to shared library stays in /usr/lib/. Don't delete them.
Reported by: jkim
2013-12-03 23:16:08 +00:00
Ed Maste
a4849615b2
Update LLDB to upstream r196322 snapshot
...
Upstream revisions of note:
r196298 - Fix use of std::lower_bound
r196322 - Fix log message for new invalidation checks
Sponsored by: DARPA, AFRL
2013-12-03 22:26:38 +00:00
Ed Maste
de889deb2c
Import lldb as of SVN r196322 (git 49c127ae)
...
(A number of files not required for the FreeBSD build have been removed.)
Sponsored by: DARPA, AFRL
2013-12-03 22:13:33 +00:00