CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-12-04 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Dec  4 19:47:05 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: GENERIC

Log Message:
Pull up following revision(s) (requested by martin in ticket #413):
sys/arch/i386/conf/GENERIC: revision 1.1171
PR port-i386/52774: vioscsi missing in i386 kernel


To generate a diff of this commit:
cvs rdiff -u -r1.1156.2.6 -r1.1156.2.7 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1156.2.6 src/sys/arch/i386/conf/GENERIC:1.1156.2.7
--- src/sys/arch/i386/conf/GENERIC:1.1156.2.6	Mon Sep 11 05:13:45 2017
+++ src/sys/arch/i386/conf/GENERIC	Mon Dec  4 19:47:05 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1156.2.6 2017/09/11 05:13:45 snj Exp $
+# $NetBSD: GENERIC,v 1.1156.2.7 2017/12/04 19:47:05 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1156.2.6 $"
+#ident		"GENERIC-$Revision: 1.1156.2.7 $"
 
 maxusers	64		# estimated number of users
 
@@ -1612,10 +1612,12 @@ geodecntr* at geodegcb? 		# AMD Geode SC
 weasel* at pci?
 
 # Virtio devices
-virtio*	at pci? dev ? function ?	# Virtio PCI device
-viomb*	at virtio?			# Virtio memory balloon device
-ld*	at virtio?			# Virtio disk device
-vioif*	at virtio?			# Virtio network device
+virtio* at pci? dev ? function ?	# Virtio PCI device
+viomb* at virtio?			# Virtio memory balloon device
+ld* at virtio?# Virtio disk device
+vioif* at virtio?			# Virtio network device
+viornd* at virtio?			# Virtio entropy device
+vioscsi* at virtio?			# Virtio SCSI device
 
 
 # Pull in optional local configuration



CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-12-04 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Dec  4 19:47:05 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: GENERIC

Log Message:
Pull up following revision(s) (requested by martin in ticket #413):
sys/arch/i386/conf/GENERIC: revision 1.1171
PR port-i386/52774: vioscsi missing in i386 kernel


To generate a diff of this commit:
cvs rdiff -u -r1.1156.2.6 -r1.1156.2.7 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-08-24 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Aug 25 05:53:12 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: GENERIC

Log Message:
Pull up following revision(s) (requested by maxv in ticket #230):
sys/arch/i386/conf/GENERIC: revision 1.1158
Disable vm86 by default. The use case is limited, and the potential for
damage is too high.
This code is fragile, and relies on a certain number of assumptions, some
of which are not be totally true. For example, it relies on the fact that
a 16bit process cannot perform a syscall, but verily it can. The slighest
confusion in the trap frame can lead to ring0 exploits. Also, I'm not
convinced that it interacts well with the compatibility layers.


To generate a diff of this commit:
cvs rdiff -u -r1.1156.2.2 -r1.1156.2.3 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1156.2.2 src/sys/arch/i386/conf/GENERIC:1.1156.2.3
--- src/sys/arch/i386/conf/GENERIC:1.1156.2.2	Tue Aug  1 23:18:30 2017
+++ src/sys/arch/i386/conf/GENERIC	Fri Aug 25 05:53:12 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1156.2.2 2017/08/01 23:18:30 snj Exp $
+# $NetBSD: GENERIC,v 1.1156.2.3 2017/08/25 05:53:12 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,12 +22,12 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1156.2.2 $"
+#ident		"GENERIC-$Revision: 1.1156.2.3 $"
 
 maxusers	64		# estimated number of users
 
 # CPU-related options.
-options 	VM86		# virtual 8086 emulation
+#options 	VM86		# virtual 8086 emulation
 options 	USER_LDT	# user-settable LDT; used by WINE
 #options 	PAE		# PAE mode (36 bits physical addressing)
 



CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-08-24 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Aug 25 05:53:12 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: GENERIC

Log Message:
Pull up following revision(s) (requested by maxv in ticket #230):
sys/arch/i386/conf/GENERIC: revision 1.1158
Disable vm86 by default. The use case is limited, and the potential for
damage is too high.
This code is fragile, and relies on a certain number of assumptions, some
of which are not be totally true. For example, it relies on the fact that
a 16bit process cannot perform a syscall, but verily it can. The slighest
confusion in the trap frame can lead to ring0 exploits. Also, I'm not
convinced that it interacts well with the compatibility layers.


To generate a diff of this commit:
cvs rdiff -u -r1.1156.2.2 -r1.1156.2.3 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-07-05 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Jul  5 20:02:27 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: kern.ldscript.Xen

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #90):
sys/arch/i386/conf/kern.ldscript.Xen: revision 1.14
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/i386/conf/kern.ldscript.Xen

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/kern.ldscript.Xen
diff -u src/sys/arch/i386/conf/kern.ldscript.Xen:1.13 src/sys/arch/i386/conf/kern.ldscript.Xen:1.13.8.1
--- src/sys/arch/i386/conf/kern.ldscript.Xen:1.13	Tue Aug  2 14:03:34 2016
+++ src/sys/arch/i386/conf/kern.ldscript.Xen	Wed Jul  5 20:02:27 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern.ldscript.Xen,v 1.13 2016/08/02 14:03:34 maxv Exp $	*/
+/*	$NetBSD: kern.ldscript.Xen,v 1.13.8.1 2017/07/05 20:02:27 snj Exp $	*/
 
 #include "assym.h"
 
@@ -54,14 +54,15 @@ SECTIONS
 		*(COMMON)
 		. = ALIGN(32 / 8);
 	}
+	. = ALIGN(32 / 8);
+	_end = . ;
+	PROVIDE (end = .) ;
 
 	. = ALIGN(__PAGE_SIZE);
 
 	/* End of the kernel image */
 	__kernel_end = . ;
 
-	_end = . ;
-	PROVIDE (end = .) ;
 	.note.netbsd.ident :
 	{
 		KEEP(*(.note.netbsd.ident));



CVS commit: [netbsd-8] src/sys/arch/i386/conf

2017-07-05 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Jul  5 20:02:27 UTC 2017

Modified Files:
src/sys/arch/i386/conf [netbsd-8]: kern.ldscript.Xen

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #90):
sys/arch/i386/conf/kern.ldscript.Xen: revision 1.14
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/arch/i386/conf/kern.ldscript.Xen

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.