Commit Graph

1687 Commits

Author SHA1 Message Date
christos
0c472000e5 When in Rome... use true or false, instead of TRUE and FALSE. 2015-05-12 23:16:47 +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
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
5b9fcd9abb Update to include the tco driver (it was previously included as part of
ichlpcib).
2015-05-03 02:52:50 +00:00
nat
05dec8ff13 Include splash with genfb.
splash.o is only included with options SPLASHSCREEN.
splash_image.o target moved to Makefile.kern.inc.

This commit was approved by matt@
2015-05-01 02:00:41 +00:00
nat
0fbcd67289 Remove unintended whitespace. 2015-04-30 15:22:32 +00:00
nat
65a1cf7fa9 Added a new option for embedding a splash screen into kernel.
Add: options SPLASHSCREEN
     makeoptions SPLASHSCREEN_IMAGE="path/to/image"
to your config file.  So far it will work on amd64 and RPI/RPI2.

This commit was with ideas, help, and OK from jmcneill@.
2015-04-30 13:46:47 +00:00
rjs
e955d68624 Add DCCP. 2015-04-28 13:52:49 +00:00
knakahara
8ec1d9400a add x86 MD MSI/MSI-X support code. 2015-04-27 07:03:57 +00:00
mrg
a75a305019 remove any pathname for gdb's amd64nbsd-tdep.c, so it doesn't really
matter where it lives.  PR#49859.
2015-04-26 18:49:39 +00:00
christos
e9bc88c818 PR/49859: Kamil Rytarowski: Invalid path to amd64nbsd-tdep.c in a comment 2015-04-26 12:44:08 +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
pgoyette
33e2fea39c Add a space after "options" and before the <tab> for conformity
with other options.  Among other things, this allows one to
remove the # comment character without breaking the vertical
alignment.
2015-04-23 11:32:55 +00:00
msaitoh
1a393226ee Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.
2015-03-10 09:26:49 +00:00
christos
73994f9f9a add dtrace hooks 2015-03-07 18:41:40 +00:00
riastradh
e6fc8fc2b1 Fix tabbing of drm lines. 2015-03-06 15:09:50 +00:00
riastradh
09e70b50a6 Fix commented nouveau in amd64/GENERIC. Add nouveau to amd64/ALL.
Remove NV_DEBUG from amd64/ALL -- it breaks nouveau, and I can't find
any use of it in src/sys outside arch/atari/dev/nvram.c, which surely
has no relevance to amd64.

(Nouveau has an internal NV_DEBUG(...) macro for debug messages.)
2015-03-06 02:55:11 +00:00
christos
3ba84f5404 Tidy up error handling, and return SIGBUS for mmap past the end of file
as required by the spec.
2015-02-27 15:35:10 +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
pooka
e11041689b Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver.  Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default.  While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.
2015-02-07 13:20:00 +00:00
riastradh
6fd2094a77 Bump amd64 module map size to 32 MB.
For lack of anything better to do, after no progress in discussion on
the matter:

https://mail-index.netbsd.org/port-amd64/2014/08/22/msg002108.html

Needed in order to load the (solaris module needed by) dtrace module.
2015-01-09 01:08:49 +00:00
msaitoh
99f66b5ee8 Sync gpio related lines with i386/conf/GENERIC. 2014-12-19 17:06:31 +00:00
ozaki-r
80021d6d00 Add SOFTINT_INTR to ALL 2014-12-19 07:04:52 +00:00
christos
647dbd6f6c fix compat paths. 2014-12-15 02:01:41 +00:00
christos
3c4b22dc90 add the two new compat files. 2014-12-14 22:32:46 +00:00
christos
ed2723be38 Move the empty sigreturn functions to their own files to allow the compat
module to load by itself.
2014-12-14 21:27:49 +00:00
christos
f3d69ca8a8 Add options to run a.out i386 binaries (commented out) 2014-12-12 01:13:40 +00:00
uebayasi
8075ba8687 Comments. 2014-11-27 04:48:39 +00:00
uebayasi
53a633ff23 Improve grep'ability.. 2014-11-27 04:41:55 +00:00
christos
bac69224e7 CID 981752: printf format 2014-11-25 19:54:08 +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
104daad189 Use LINKSCRIPT. 2014-11-15 12:36:42 +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
c2f78e18ba propagate drm changes 2014-11-02 23:12:00 +00:00
christos
ceab229958 make DRMKMS the default on GENERIC and comment out the legacy drivers. 2014-11-02 23:08:40 +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
tls
0eedfee32a Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine.  From OpenBSD.
2014-10-26 18:43:18 +00:00
msaitoh
3a7d62f9b4 Add support for sysenter, sysexit, vmptrld, vmptrst and getsec. 2014-10-23 10:01:53 +00:00
joerg
dd37d699b8 Disable SSE and AVX for kernel modules too. 2014-10-19 15:41:05 +00:00
uebayasi
c0e750b9f1 Install agp_* drivers where pchb(4) is installed except INSTALL_FLOPPY.
XXX
Config around agp(4) is done in quite wrong direction.
	"pchb <- (agpbus) <- agp <- agp_*"
should be:
	"pchb <- (pcibus) <- agp_* <- (agpbus) <- agp"
2014-10-18 16:56:51 +00:00
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
uebayasi
1dcd1dc627 Don't include std.ath_hal for XEN3_DOMU. 2014-10-11 09:50:03 +00:00
uebayasi
46d7be3c23 Define "machdep" attribute and mark files (in amd64 and x86). 2014-10-10 09:13:21 +00:00
msaitoh
a479fc28f6 Fix bugs:
- aaa and daa were reversed. Same as *BSDs.
- fix operand order of shld and shrd. Same as *BSDs.
2014-10-09 18:34:24 +00:00
msaitoh
41b9704662 No functional change.
- 0 -> NULL
- Don't use cast.
- Style fix.
- Fix typos in comment.
2014-10-07 15:34:05 +00:00
christos
95c08e48f4 Add HDAUDIOVERBOSE 2014-09-19 17:30:03 +00:00