Commit Graph

9195 Commits

Author SHA1 Message Date
christos
e7ae23fd9e include "ioconf.h" to get the 'void <driver>attach(int count);' prototype. 2015-08-20 14:40:16 +00:00
uebayasi
6e07de399e Do AT () relocation once. 2015-08-20 11:42:56 +00:00
uebayasi
0b2ec30cdb ${PROG} depends on ${LDSCRIPT}. 2015-08-20 11:38:27 +00:00
uebayasi
c0a580b524 Simplify these by doing AT () relocation once. 2015-08-20 09:34:54 +00:00
uebayasi
185745d477 Indent with 2 spaces. 2015-08-20 07:00:48 +00:00
uebayasi
774506b607 ${KERN_LDSCRIPT} -> ${KERNLDSCRIPT} 2015-08-18 10:18:20 +00:00
maxv
e99716e305 Remove KMEMSTATS. 2015-08-12 07:53:56 +00:00
maxv
02aebf5ed4 Remove KMEMSTATS. 2015-08-07 13:53:28 +00:00
mrg
e2348ed97e allow MPVERBOSE to be set to a value that sets the "mp_verbose" variable. 2015-08-05 07:01:10 +00:00
bouyer
a73da94644 Uncoment options IPSEC, as requested by Gary Duzan in PR port-amd64/50052 2015-07-16 15:43:10 +00:00
martin
e7a3928268 Make clock_t unsigned int everywhere.
Ok: matt@, mrg@
2015-06-17 14:32:31 +00:00
khorben
64a1eb60ad Also document the "splash" command in boot(8) 2015-06-11 15:56:53 +00:00
maxv
4bdaaf7678 Disable COMPAT_FREEBSD. The implementation is poor, not well tested and
almost irrelevant. People who need it (for tw_cli for example) can still
recompile their kernels with this option.

Discussed on tech-kern@
2015-05-23 18:13:31 +00:00
msaitoh
d86a405727 s/TRUE/true/ and s/FALSE/false/ to make crash(8) compilable. 2015-05-13 02:37:41 +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
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
mrg
4499df58a1 bump CHILD_MAX and OPEN_MAX defaults on several platforms, both to 1024. 2015-05-07 19:14:55 +00:00
pgoyette
653f735c22 For non-modular XEN3_DOMU kernels, include sysmon and all of its
subcomponents.  While the wdog and envsys subcomponents aren't
terribly useful in DOMU environment, this restores functionality
to previous (pre-modularized sysmon) state.
2015-05-05 22:14:24 +00:00
pgoyette
67915f131f One more typo.
Message to self: when making multi-architecture changes, build on more
than one arch.
2015-05-04 07:08:10 +00:00
pgoyette
5b9fcd9abb Update to include the tco driver (it was previously included as part of
ichlpcib).
2015-05-03 02:52:50 +00:00
riastradh
4106d73f52 Add commented viadrmums to i386/GENERIC. 2015-04-29 17:43:06 +00:00
riastradh
e988ad91e3 Hook up viadrmums and include it it i386/ALL. 2015-04-29 11:37:31 +00:00
rjs
e955d68624 Add DCCP. 2015-04-28 13:52:49 +00:00
knakahara
519d8d98a1 fix i386 build for MSI/MSI-X support code. 2015-04-27 08:30:10 +00:00
knakahara
8ec1d9400a add x86 MD MSI/MSI-X support code. 2015-04-27 07:03:57 +00:00
khorben
5bf384f347 Also use ACPI shutdown on Xen DOM0
No objection on port-xen@
ok gdt@
2015-04-24 00:04:04 +00:00
pgoyette
37202cb966 Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components. 2015-04-23 23:22:51 +00:00
pooka
865eb803ee Revise rhetoric for why __HAVE_ATOMIC64_OPS is defined with _KERNEL even
though we don't know for sure that the target i386 CPU will support them.
2015-04-22 19:48:01 +00:00
mrg
f0a309f213 remove HAVE_GCC=45 fragment. 2015-04-16 08:38:36 +00:00
riastradh
361a56e33b Omit needless <sys/rnd.h>. 2015-04-13 16:51:40 +00:00
riastradh
d7efbbaf54 Need <sys/rndsource.h>, not <sys/cprng.h>, for rnd source stuff. 2015-04-13 16:21:54 +00:00
snj
786a747d1e fix commented out nouveaufb 2015-03-18 02:05:05 +00:00
martin
3f4cb665b2 Compile the bootblocks for i386 CPUs, even when the main target architecture
is amd64.
Fixes PR port-i386/49725.
2015-03-08 19:47:17 +00:00
christos
cb193dfbea adjust to new trace_{enter,exit} and dtrace 2015-03-07 18:50:01 +00:00
mrg
820bac9951 remove vga@isa and pcdisplay@isa from i386 GENERIC, and create a new
LEGACY kernel that includes them instead.  now radeon@pci is able to
properly claim wsdisplay0 on i386 systems, and radeondrmkms has a good
chance of working.

this "fixes" PR#49290.
2015-03-07 07:28:37 +00:00
christos
e0fc308a0a fix TRAP_SIGDEBUG compilation 2015-02-27 17:45:52 +00:00
christos
9886a4adb8 sync with amd64: SIGBUS for mmap out of range. 2015-02-27 16:41:12 +00:00
nonaka
e6864eda07 Add iwm(4). 2015-02-17 09:21:57 +00:00
nonaka
f8baa4e97e iwm(4) works now, but 2.4GHz only.
> iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 3160 (rev. 0x83)
> iwm0: interrupting at ioapic0 pin 18
> iwm0: hw rev: 0x160, fw ver 25.228 (API ver 9), address XX:XX:XX:XX:XX:XX
> iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
2015-02-13 18:57:46 +00:00
christos
eea91eb5f2 whitespace 2015-01-23 02:52:14 +00:00
jakllsch
026c5d5a6d While the old gpt.S mbr code looks at both primary and alternate GPT
partition tables, mbrgpt.S and DKWEDGE_METHOD_GPT only look in the
primary.  Align the bootxx/boot2 biosdisk code with this so as to avoid
situations where the disk becomes unbootable when it has an undestroyed
secondary GPT.
2015-01-18 20:18:07 +00:00
christos
2975c78d57 Restore previous behavior: "boot -s" == "boot netbsd -s"
Instead of ignoring the flags and doing the default boot. Merge some
extraneous code.
XXX: Find the PR for this, close it and pullup to -7
2015-01-16 03:45:53 +00:00
ozaki-r
80021d6d00 Add SOFTINT_INTR to ALL 2014-12-19 07:04:52 +00:00
pooka
d219acbd33 On i386, prefer __WCHAR/WINT_TYPE__ where available instead of hardcoded
_BSD_WCHAR_T_ value.

This mimics some other ports, and more importantly fixes compilation with
i386 compilers which define __WCHAR_TYPE__ as "long int" instead of the
"int" we had in there.  That superficial mismatch resulted in errors
such as:

lib/libc/gen/vis.c:109:1: error: array of inappropriate type initialized from string constant
 static const wchar_t char_shell[] = L"'`\";&<>()|{}]\\$!^~";

No change to NetBSD (our gcc does define __WCHAR_TYPE__, but it is
"int" ...  as expected ... since the NetBSD build worked ;)
2014-12-09 14:39:49 +00:00
manu
239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
uebayasi
634cfde5a0 Use LINKSCRIPT. 2014-11-15 12:20:06 +00:00
manu
2cab231d44 Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
christos
b5c931e8d2 switch to DRMKMS drivers 2014-11-02 23:14:20 +00:00
uebayasi
739f155d2f Revert previous per joerg@'s request.
According to him, exposing .data.{read_mostly,cacheline_aligned} is
intentional so that people can easily see which variables are optimized.
2014-11-02 17:58:14 +00:00
uebayasi
11d4b6746a amd64, i386: Don't expose .data.{read_mostly,cacheline_aligned} sections 2014-11-01 11:58:55 +00:00