CVS commit: src/sys/arch/xen/conf

2020-05-02 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sat May  2 16:46:06 UTC 2020

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
This is called pvh_consinit not hvm_consinit


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.183 src/sys/arch/xen/conf/files.xen:1.184
--- src/sys/arch/xen/conf/files.xen:1.183	Sat May  2 16:44:36 2020
+++ src/sys/arch/xen/conf/files.xen	Sat May  2 16:46:06 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.183 2020/05/02 16:44:36 bouyer Exp $
+#	$NetBSD: files.xen,v 1.184 2020/05/02 16:46:06 bouyer Exp $
 
 defflag	opt_xen.h			XEN XENPVH XENPVHVM PAE
 
@@ -11,7 +11,7 @@ file	arch/xen/x86/xen_mainbus.c		xen
 file	arch/xen/xen/xen_clock.c		xen
 file	arch/xen/x86/xen_bus_dma.c		xen
 
-file	arch/xen/x86/hvm_consinit.c		xenpvhvm
+file	arch/xen/x86/pvh_consinit.c		xenpvhvm
 
 define hypervisorbus {}
 define xendevbus {}



CVS commit: src/sys/arch/xen/conf

2018-12-24 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Dec 24 21:15:59 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Do not include files for MSI support on XEN dom0.

We do not support MSI as of now.


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.172 src/sys/arch/xen/conf/files.xen:1.173
--- src/sys/arch/xen/conf/files.xen:1.172	Sat Dec 22 07:45:58 2018
+++ src/sys/arch/xen/conf/files.xen	Mon Dec 24 21:15:59 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.172 2018/12/22 07:45:58 cherry Exp $
+#	$NetBSD: files.xen,v 1.173 2018/12/24 21:15:59 cherry Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -381,8 +381,6 @@ file	arch/xen/xen/privcmd.c		dom0ops
 file 	arch/xen/x86/xen_shm_machdep.c	dom0ops
 file	arch/x86/pci/pci_machdep.c	hypervisor & pci & dom0ops
 file	arch/x86/pci/pci_intr_machdep.c	hypervisor & pci
-file	arch/x86/pci/pci_msi_machdep.c	hypervisor & pci
-file	arch/x86/pci/msipic.c		hypervisor & pci
 file	arch/x86/isa/isa_machdep.c	hypervisor & dom0ops
 file	arch/xen/xen/xenevt.c		xenevt & dom0ops
 file	arch/xen/xen/xennetback_xenbus.c xvif



CVS commit: src/sys/arch/xen/conf

2018-12-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Dec  9 00:45:18 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.compat

Log Message:
remove XXXKALSR that became MI.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/xen/conf/files.compat

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/xen/conf/files.compat
diff -u src/sys/arch/xen/conf/files.compat:1.31 src/sys/arch/xen/conf/files.compat:1.32
--- src/sys/arch/xen/conf/files.compat:1.31	Fri Jul 13 09:37:32 2018
+++ src/sys/arch/xen/conf/files.compat	Sun Dec  9 00:45:18 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files.compat,v 1.31 2018/07/13 09:37:32 maxv Exp $
+#	$NetBSD: files.compat,v 1.32 2018/12/09 00:45:18 mrg Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 
 # options for MP configuration through the MP spec
@@ -25,7 +25,6 @@ defflag	bioscall.h		XXXBIOSCALL
 defflag	opt_pcibios.h		XXXOPT_PCIBIOS
 defflag	opt_pcifixup.h		XXXOPT_PCIFIXUP
 
-defflag opt_kaslr.h		XXXKASLR
 defflag opt_svs.h		XXXSVS
 
 # User-settable LDT (used by WINE)



CVS commit: src/sys/arch/xen/conf

2018-06-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun  2 18:11:26 UTC 2018

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
disable sanitizers and relro


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.45 src/sys/arch/xen/conf/Makefile.xen:1.46
--- src/sys/arch/xen/conf/Makefile.xen:1.45	Sun Jan 21 03:33:46 2018
+++ src/sys/arch/xen/conf/Makefile.xen	Sat Jun  2 14:11:26 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.45 2018/01/21 08:33:46 maxv Exp $
+#	$NetBSD: Makefile.xen,v 1.46 2018/06/02 18:11:26 christos Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -21,7 +21,9 @@
 .include "$S/arch/xen/conf/Makefile.arch.inc"
 USETOOLS?=	no
 NEED_OWN_INSTALL_TARGET?=no
-.include 
+NORELRO=
+NOSANITIZER=
+.include 
 
 USE_SSP?=	yes
 



CVS commit: src/sys/arch/xen/conf

2018-01-22 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Jan 22 22:36:11 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
xen has separate list, update here also for x86/pmap_tlb.c -> x86/x86_tlb.c


To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.164 src/sys/arch/xen/conf/files.xen:1.165
--- src/sys/arch/xen/conf/files.xen:1.164	Sat Dec  2 13:03:15 2017
+++ src/sys/arch/xen/conf/files.xen	Mon Jan 22 22:36:11 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.164 2017/12/02 13:03:15 maxv Exp $
+#	$NetBSD: files.xen,v 1.165 2018/01/22 22:36:11 jdolecek Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -143,7 +143,7 @@ file	arch/xen/x86/xen_ipi.c		multiproces
 file	arch/x86/x86/intr.c		machdep
 file	arch/x86/x86/idt.c		machdep
 file	arch/x86/x86/pmap.c		machdep
-file	arch/x86/x86/pmap_tlb.c		machdep
+file	arch/x86/x86/x86_tlb.c		machdep
 file	arch/x86/x86/procfs_machdep.c	procfs
 file	arch/x86/x86/sys_machdep.c	machdep
 file	arch/x86/x86/tsc.c		machdep



CVS commit: src/sys/arch/xen/conf

2018-01-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jan 21 08:33:46 UTC 2018

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
Fix the build, on Xen too amd64_trap.S needs to be compiled independently.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.44 src/sys/arch/xen/conf/Makefile.xen:1.45
--- src/sys/arch/xen/conf/Makefile.xen:1.44	Tue Dec 12 08:27:32 2017
+++ src/sys/arch/xen/conf/Makefile.xen	Sun Jan 21 08:33:46 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.44 2017/12/12 08:27:32 pgoyette Exp $
+#	$NetBSD: Makefile.xen,v 1.45 2018/01/21 08:33:46 maxv Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -66,6 +66,9 @@ KERN_AS=	obj
 ## (4) local objects, compile rules, and dependencies
 ##
 MD_OBJS=	locore.o spl.o copy.o vector.o
+.if ${XEN_BUILD} == amd64
+MD_OBJS+=	amd64_trap.o
+.endif
 MD_CFILES=
 
 MD_SFILES=	$S/arch/${XEN_BUILD}/${XEN_BUILD}/locore.S \
@@ -73,6 +76,10 @@ MD_SFILES=	$S/arch/${XEN_BUILD}/${XEN_BU
 		$S/arch/${XEN_BUILD}/${XEN_BUILD}/vector.S \
 		$S/arch/${XEN_BUILD}/${XEN_BUILD}/copy.S
 
+.if ${XEN_BUILD} == amd64
+MD_SFILES+=	$S/arch/${XEN_BUILD}/${XEN_BUILD}/amd64_trap.S
+.endif
+
 copy.o: $S/arch/${XEN_BUILD}/${XEN_BUILD}/copy.S assym.h
 	${NORMAL_S}
 
@@ -84,6 +91,12 @@ spl.o: $S/arch/${XEN_BUILD}/${XEN_BUILD}
 
 vector.o: $S/arch/${XEN_BUILD}/${XEN_BUILD}/vector.S assym.h
 	${NORMAL_S}
+
+.if ${XEN_BUILD} == amd64
+amd64_trap.o: $S/arch/${XEN_BUILD}/${XEN_BUILD}/amd64_trap.S assym.h
+	${NORMAL_S}
+.endif
+
 .ifndef noBEGIN
 .if !make(obj) && !make(clean) && !make(cleandir)
 .BEGIN::



CVS commit: src/sys/arch/xen/conf

2018-01-08 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Jan  8 14:39:33 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.compat

Log Message:
Make Xen compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/xen/conf/files.compat

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/xen/conf/files.compat
diff -u src/sys/arch/xen/conf/files.compat:1.29 src/sys/arch/xen/conf/files.compat:1.30
--- src/sys/arch/xen/conf/files.compat:1.29	Sun Oct  8 09:06:50 2017
+++ src/sys/arch/xen/conf/files.compat	Mon Jan  8 14:39:33 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files.compat,v 1.29 2017/10/08 09:06:50 maxv Exp $
+#	$NetBSD: files.compat,v 1.30 2018/01/08 14:39:33 maxv Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 
 # options for MP configuration through the MP spec
@@ -27,6 +27,7 @@ defflag	opt_pcifixup.h		XXXOPT_PCIFIXUP
 
 defflag opt_pmc.h		XXXPMC
 defflag opt_kaslr.h		XXXKASLR
+defflag opt_svs.h		XXXSVS
 
 # User-settable LDT (used by WINE)
 defflag	opt_user_ldt.h			XXXUSER_LDT



CVS commit: src/sys/arch/xen/conf

2017-12-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 12 08:27:33 UTC 2017

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
Remove trailing '&&' from shell script to fix the build.

>From a-rin on https://gist.github.com/a-rin/940abb80d45eb7ac75b8110b8466f149


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.43 src/sys/arch/xen/conf/Makefile.xen:1.44
--- src/sys/arch/xen/conf/Makefile.xen:1.43	Sun Dec 10 14:29:47 2017
+++ src/sys/arch/xen/conf/Makefile.xen	Tue Dec 12 08:27:32 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.43 2017/12/10 14:29:47 christos Exp $
+#	$NetBSD: Makefile.xen,v 1.44 2017/12/12 08:27:32 pgoyette Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -92,7 +92,7 @@ vector.o: $S/arch/${XEN_BUILD}/${XEN_BUI
 	ln -s $S/arch/${A}/include ${A}
 .endfor
 	-@rm -rf xen-ma && \
-	mkdir xen-ma && ln -s ../${XEN_BUILD} xen-ma/machine &&
+	mkdir xen-ma && ln -s ../${XEN_BUILD} xen-ma/machine
 	-@rm -f machine && \
 	ln -s ${ARCH_INC} machine
 .endif



CVS commit: src/sys/arch/xen/conf

2017-11-06 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Nov  6 15:21:23 UTC 2017

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Summary: xen/x86/intr.c has been retired. Don't try to build it.


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.162 src/sys/arch/xen/conf/files.xen:1.163
--- src/sys/arch/xen/conf/files.xen:1.162	Sat Nov  4 15:24:42 2017
+++ src/sys/arch/xen/conf/files.xen	Mon Nov  6 15:21:23 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.162 2017/11/04 15:24:42 cherry Exp $
+#	$NetBSD: files.xen,v 1.163 2017/11/06 15:21:23 cherry Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -139,7 +139,6 @@ file	arch/x86/x86/bus_space.c	machdep
 file	arch/xen/x86/consinit.c		machdep
 file	arch/x86/x86/identcpu.c		machdep
 file	arch/xen/x86/pintr.c		machdep & dom0ops
-file	arch/xen/x86/intr.c		machdep
 file	arch/xen/x86/xen_ipi.c		multiprocessor
 file	arch/x86/x86/intr.c		machdep
 file	arch/x86/x86/idt.c		machdep



CVS commit: src/sys/arch/xen/conf

2017-11-04 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Sat Nov  4 08:55:50 UTC 2017

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
On XEN PV, the ISA 8259A PIC is only used on dom0


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.158 src/sys/arch/xen/conf/files.xen:1.159
--- src/sys/arch/xen/conf/files.xen:1.158	Sat Nov  4 08:50:47 2017
+++ src/sys/arch/xen/conf/files.xen	Sat Nov  4 08:55:50 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.158 2017/11/04 08:50:47 cherry Exp $
+#	$NetBSD: files.xen,v 1.159 2017/11/04 08:55:50 cherry Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -256,7 +256,7 @@ include "dev/apm/files.apm"
 include "dev/acpi/files.acpi"
 file	arch/xen/xen/xen_acpi_machdep.c	acpi
 file	arch/x86/x86/mpacpi.c		acpi
-file	arch/x86/x86/i8259.c
+file	arch/x86/x86/i8259.c		dom0ops
 
 # Stubs for x86 routines not included in the system
 file	arch/x86/x86/x86_stub.c



CVS commit: src/sys/arch/xen/conf

2017-11-04 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Sat Nov  4 07:01:45 UTC 2017

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
opt_intrdebug.h - this unbreaks the i386 DOMU build under some conditions


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.156 src/sys/arch/xen/conf/files.xen:1.157
--- src/sys/arch/xen/conf/files.xen:1.156	Tue Aug 15 08:51:38 2017
+++ src/sys/arch/xen/conf/files.xen	Sat Nov  4 07:01:45 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.156 2017/08/15 08:51:38 maxv Exp $
+#	$NetBSD: files.xen,v 1.157 2017/11/04 07:01:45 cherry Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -15,6 +15,9 @@ defparam opt_kernbase.h	KERNBASE
 # options for MP configuration through the MP spec
 defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
 
+# Interrupt debug
+defflag opt_intrdebug.h	INTRDEBUG
+
 # delay before cpu_reset() for reboot.
 defparam		CPURESET_DELAY
 



CVS commit: src/sys/arch/xen/conf

2017-02-17 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Feb 17 21:51:47 UTC 2017

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Copy maxv's files.i386 change to files.xen ... this might fix the i386
xen kernel builds (I am doing a test build in parallel with this commit,
this shouldn't make things worse ... I will make further changes if
needed after my build finishes.)

Note: I am not currently in a position to test a Xen3 DomU kernel
(let alone Dom0) so I have no way of knowing whether a Xen kernel
with PMC included will actually work correctly or not.

If this results in a system that builds, I'd appreciate it if someone
who can test the Xen3_DOMU kernel could do so.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.143 src/sys/arch/xen/conf/files.xen:1.144
--- src/sys/arch/xen/conf/files.xen:1.143	Thu Dec 15 12:04:18 2016
+++ src/sys/arch/xen/conf/files.xen	Fri Feb 17 21:51:47 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.143 2016/12/15 12:04:18 kamil Exp $
+#	$NetBSD: files.xen,v 1.144 2017/02/17 21:51:47 kre Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -50,12 +50,11 @@ file	arch/i386/i386/kobj_machdep.c	modul
 file	arch/i386/i386/machdep.c
 file	arch/i386/i386/longrun.c
 file	arch/i386/i386/mtrr_k6.c	mtrr
+file	arch/i386/i386/pmc.c
 file	arch/i386/i386/process_machdep.c
 file	arch/i386/i386/trap.c
 file	arch/i386/i386/lock_stubs.S
 
-file	arch/i386/i386/pmc.c			perfctrs
-
 file	crypto/des/arch/i386/des_enc.S		des
 file	crypto/des/arch/i386/des_cbc.S		des
 



CVS commit: src/sys/arch/xen/conf

2016-09-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Sep 23 22:07:12 UTC 2016

Modified Files:
src/sys/arch/xen/conf: std.xen

Log Message:
Given Xen/i386 the same process and file limit as native i386.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/xen/conf/std.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/xen/conf/std.xen
diff -u src/sys/arch/xen/conf/std.xen:1.7 src/sys/arch/xen/conf/std.xen:1.8
--- src/sys/arch/xen/conf/std.xen:1.7	Thu Jun 30 20:09:38 2011
+++ src/sys/arch/xen/conf/std.xen	Fri Sep 23 22:07:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: std.xen,v 1.7 2011/06/30 20:09:38 wiz Exp $
+# $NetBSD: std.xen,v 1.8 2016/09/23 22:07:12 joerg Exp $
 # NetBSD: std.i386,v 1.24 2003/02/26 21:33:36 fvdl Exp 
 #
 # standard, required NetBSD/i386 'options'
@@ -16,5 +16,8 @@ options 	CPU_IN_CKSUM
 #options 	CRYPTO_MD_BF_ENC	# machine-dependent code for BF_encrypt
 #options 	CRYPTO_MD_BF_CBC	# careful: uses bswapl, requires 486
 
+options 	CHILD_MAX=1024	# 160 is too few
+options 	OPEN_MAX=1024	# 128 is too few
+
 # Atheros HAL options
 include "external/isc/atheros_hal/conf/std.ath_hal"



CVS commit: src/sys/arch/xen/conf

2016-05-19 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Fri May 20 03:41:20 UTC 2016

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.140 src/sys/arch/xen/conf/files.xen:1.141
--- src/sys/arch/xen/conf/files.xen:1.140	Sat Feb 27 15:42:20 2016
+++ src/sys/arch/xen/conf/files.xen	Fri May 20 03:41:20 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.140 2016/02/27 15:42:20 mlelstv Exp $
+#	$NetBSD: files.xen,v 1.141 2016/05/20 03:41:20 jnemeth Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -93,9 +93,9 @@ file	arch/xen/x86/xen_pmap.c
 file	arch/xen/x86/xen_intr.c
 file	arch/xen/x86/xenfunc.c
 
-file	arch/xen/xen/xen_ucode.c	dom0ops | cpu_ucode needs-flag
-file	arch/x86/x86/cpu_ucode_amd.c	dom0ops | cpu_ucode needs-flag
-file	arch/x86/x86/cpu_ucode_intel.c	dom0ops | cpu_ucode needs-flag
+file	arch/xen/xen/xen_ucode.c	dom0ops & cpu_ucode needs-flag
+file	arch/x86/x86/cpu_ucode_amd.c	dom0ops & cpu_ucode needs-flag
+file	arch/x86/x86/cpu_ucode_intel.c	dom0ops & cpu_ucode needs-flag
 
 file	arch/xen/xen/xen_machdep.c
 file	arch/xen/xen/xen_debug.c



CVS commit: src/sys/arch/xen/conf

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 15:42:20 UTC 2016

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
no condition for cpu_rng here


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.139 src/sys/arch/xen/conf/files.xen:1.140
--- src/sys/arch/xen/conf/files.xen:1.139	Sat Feb 27 14:28:50 2016
+++ src/sys/arch/xen/conf/files.xen	Sat Feb 27 15:42:20 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.139 2016/02/27 14:28:50 mlelstv Exp $
+#	$NetBSD: files.xen,v 1.140 2016/02/27 15:42:20 mlelstv Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -106,7 +106,7 @@ file	arch/xen/xen/evtchn.c
 
 file	arch/xen/xen/xengnt.c
 
-file	arch/x86/x86/cpu_rng.c		cpu
+file	arch/x86/x86/cpu_rng.c
 
 file	dev/cons.c
 



CVS commit: src/sys/arch/xen/conf

2016-02-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Feb 27 14:28:50 UTC 2016

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
add missing cpu_rng.c to kernel


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.138 src/sys/arch/xen/conf/files.xen:1.139
--- src/sys/arch/xen/conf/files.xen:1.138	Wed Nov 11 08:51:33 2015
+++ src/sys/arch/xen/conf/files.xen	Sat Feb 27 14:28:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.138 2015/11/11 08:51:33 skrll Exp $
+#	$NetBSD: files.xen,v 1.139 2016/02/27 14:28:50 mlelstv Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -106,6 +106,8 @@ file	arch/xen/xen/evtchn.c
 
 file	arch/xen/xen/xengnt.c
 
+file	arch/x86/x86/cpu_rng.c		cpu
+
 file	dev/cons.c
 
 



CVS commit: src/sys/arch/xen/conf

2015-11-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Nov 11 08:51:33 UTC 2015

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Fix XEN build - does XEN really want/need pmap_pv_track?


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.137 src/sys/arch/xen/conf/files.xen:1.138
--- src/sys/arch/xen/conf/files.xen:1.137	Sun Jan  4 07:34:14 2015
+++ src/sys/arch/xen/conf/files.xen	Wed Nov 11 08:51:33 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.137 2015/01/04 07:34:14 uebayasi Exp $
+#	$NetBSD: files.xen,v 1.138 2015/11/11 08:51:33 skrll Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -80,6 +80,7 @@ file	arch/amd64/amd64/lock_stubs.S
 endif
 
 file	kern/subr_disk_mbr.c		disk
+file	uvm/pmap/pmap_pvt.c
 file	arch/x86/x86/convert_xmm_s87.c
 file	arch/x86/x86/db_memrw.c		ddb | kgdb
 file	arch/x86/x86/db_trace.c		ddb



CVS commit: src/sys/arch/xen/conf

2015-01-03 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Sun Jan  4 07:34:14 UTC 2015

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Include files.sljit as i386/amd64 do.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.136 src/sys/arch/xen/conf/files.xen:1.137
--- src/sys/arch/xen/conf/files.xen:1.136	Mon Dec 15 13:48:51 2014
+++ src/sys/arch/xen/conf/files.xen	Sun Jan  4 07:34:14 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.136 2014/12/15 13:48:51 christos Exp $
+#	$NetBSD: files.xen,v 1.137 2015/01/04 07:34:14 uebayasi Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -109,6 +109,12 @@ file	dev/cons.c
 
 
 #
+# Stack-less Just-In-Time compiler
+#
+
+include	external/bsd/sljit/conf/files.sljit
+
+#
 # Machine-independent SCSI drivers
 #
 



CVS commit: src/sys/arch/xen/conf

2014-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 15 13:48:51 UTC 2014

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
there is no ibcs2 in amd64 [yet?]


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.135 src/sys/arch/xen/conf/files.xen:1.136
--- src/sys/arch/xen/conf/files.xen:1.135	Mon Dec 15 02:35:09 2014
+++ src/sys/arch/xen/conf/files.xen	Mon Dec 15 08:48:51 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.135 2014/12/15 07:35:09 ozaki-r Exp $
+#	$NetBSD: files.xen,v 1.136 2014/12/15 13:48:51 christos Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -337,9 +337,10 @@ file	arch/i386/i386/freebsd_sigcode.S	co
 file	arch/i386/i386/freebsd_syscall.c	compat_freebsd
 
 elifdef amd64
+
 # Binary compatibility with previous NetBSD releases (COMPAT_XX)
 file	arch/amd64/amd64/compat_13_machdep.c	compat_13
-file	arch/amd64/amd64/compat_16_machdep.c	compat_16 | compat_ibcs2
+file	arch/amd64/amd64/compat_16_machdep.c	compat_16
 
 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
 include compat/netbsd32/files.netbsd32



CVS commit: src/sys/arch/xen/conf

2014-12-14 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Dec 15 07:35:09 UTC 2014

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Add two new compat files for Xen on amd64


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.134 src/sys/arch/xen/conf/files.xen:1.135
--- src/sys/arch/xen/conf/files.xen:1.134	Sat Oct 11 06:07:48 2014
+++ src/sys/arch/xen/conf/files.xen	Mon Dec 15 07:35:09 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.134 2014/10/11 06:07:48 uebayasi Exp $
+#	$NetBSD: files.xen,v 1.135 2014/12/15 07:35:09 ozaki-r Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -337,6 +337,10 @@ file	arch/i386/i386/freebsd_sigcode.S	co
 file	arch/i386/i386/freebsd_syscall.c	compat_freebsd
 
 elifdef amd64
+# Binary compatibility with previous NetBSD releases (COMPAT_XX)
+file	arch/amd64/amd64/compat_13_machdep.c	compat_13
+file	arch/amd64/amd64/compat_16_machdep.c	compat_16 | compat_ibcs2
+
 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
 include compat/netbsd32/files.netbsd32
 file	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32



CVS commit: src/sys/arch/xen/conf

2014-10-11 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Sat Oct 11 06:07:48 UTC 2014

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Mark machdep files.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.133 src/sys/arch/xen/conf/files.xen:1.134
--- src/sys/arch/xen/conf/files.xen:1.133	Wed Feb 12 23:24:09 2014
+++ src/sys/arch/xen/conf/files.xen	Sat Oct 11 06:07:48 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.133 2014/02/12 23:24:09 dsl Exp $
+#	$NetBSD: files.xen,v 1.134 2014/10/11 06:07:48 uebayasi Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -123,22 +123,22 @@ include	dev/ata/files.ata
 # Memory Disk for install floppy
 file	dev/md_root.c			memory_disk_hooks
 
-file	arch/x86/x86/bus_dma.c		pci
+file	arch/x86/x86/bus_dma.c		machdep
 file	arch/x86/x86/core_machdep.c	coredump
-file	arch/xen/x86/xen_bus_dma.c	pci
-file	arch/x86/x86/bus_space.c	pci
-file	arch/xen/x86/consinit.c
-file	arch/x86/x86/identcpu.c
-file	arch/xen/x86/intr.c
+file	arch/xen/x86/xen_bus_dma.c	machdep
+file	arch/x86/x86/bus_space.c	machdep
+file	arch/xen/x86/consinit.c		machdep
+file	arch/x86/x86/identcpu.c		machdep
+file	arch/xen/x86/intr.c		machdep
 file	arch/xen/x86/xen_ipi.c		multiprocessor
-file	arch/x86/x86/pmap.c
-file	arch/x86/x86/pmap_tlb.c
+file	arch/x86/x86/pmap.c		machdep
+file	arch/x86/x86/pmap_tlb.c		machdep
 file	arch/x86/x86/procfs_machdep.c	procfs
-file	arch/x86/x86/sys_machdep.c
-file	arch/x86/x86/tsc.c
-file	arch/x86/x86/vm_machdep.c
-file	arch/x86/x86/x86_machdep.c
-file	arch/x86/x86/cpu_topology.c
+file	arch/x86/x86/sys_machdep.c	machdep
+file	arch/x86/x86/tsc.c		machdep
+file	arch/x86/x86/vm_machdep.c	machdep
+file	arch/x86/x86/x86_machdep.c	machdep
+file	arch/x86/x86/cpu_topology.c	machdep
 
 include	arch/xen/conf/files.compat
 



CVS commit: src/sys/arch/xen/conf

2014-07-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Jul 20 16:51:29 UTC 2014

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
Restrict -mno-fp-ret-in-387 to GCC.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.36 src/sys/arch/xen/conf/Makefile.xen:1.37
--- src/sys/arch/xen/conf/Makefile.xen:1.36	Thu Jul 17 10:49:45 2014
+++ src/sys/arch/xen/conf/Makefile.xen	Sun Jul 20 16:51:29 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.36 2014/07/17 10:49:45 bouyer Exp $
+#	$NetBSD: Makefile.xen,v 1.37 2014/07/20 16:51:29 joerg Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -48,7 +48,7 @@ CPPFLAGS+=	-Dx86_64
 CFLAGS+=	-mcmodel=kernel
 CFLAGS+=	-mno-red-zone -mno-mmx -mno-sse -mno-avx
 CFLAGS+=	-msoft-float
-CFLAGS+=	-mno-fp-ret-in-387
+CFLAGS+=	${${ACTIVE_CC} == gcc:?  -mno-fp-ret-in-387 :}
 .endif
 
 .if ${XEN_BUILD} == i386



CVS commit: src/sys/arch/xen/conf

2014-07-17 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Jul 17 10:49:45 UTC 2014

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts.
Especially -fno-omit-frame-pointer


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.35 src/sys/arch/xen/conf/Makefile.xen:1.36
--- src/sys/arch/xen/conf/Makefile.xen:1.35	Mon Dec 19 14:06:17 2011
+++ src/sys/arch/xen/conf/Makefile.xen	Thu Jul 17 10:49:45 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.35 2011/12/19 14:06:17 joerg Exp $
+#	$NetBSD: Makefile.xen,v 1.36 2014/07/17 10:49:45 bouyer Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -38,17 +38,24 @@ ARCH_INC=	$S/arch/xen/include/${XEN_BUIL
 ##
 ## (2) compile settings
 ##
-DEFCOPTS=	-O2
 CPPFLAGS+=	-D${XEN_BUILD}
 AFLAGS+=	-x assembler-with-cpp ${DBG} -D__XEN__
 EXTRA_INCLUDES=	-I${.CURDIR}/xen-ma
 
 .if ${XEN_BUILD} == amd64
+DEFCOPTS=	-O2 -fno-omit-frame-pointer
 CPPFLAGS+=	-Dx86_64
 CFLAGS+=	-mcmodel=kernel
-CFLAGS+=	-mno-red-zone
+CFLAGS+=	-mno-red-zone -mno-mmx -mno-sse -mno-avx
+CFLAGS+=	-msoft-float
+CFLAGS+=	-mno-fp-ret-in-387
 .endif
 
+.if ${XEN_BUILD} == i386
+DEFCOPTS=	-O2 -fno-omit-frame-pointer
+CFLAGS+=	-msoft-float
+CFLAGS+=	-mno-mmx -mno-sse -mno-avx
+.endif
 
 ##
 ## (3) libkern and compat



CVS commit: src/sys/arch/xen/conf

2012-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 14 04:22:56 UTC 2012

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
No need for CPU_UCODE here now that it is global


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.124 src/sys/arch/xen/conf/files.xen:1.125
--- src/sys/arch/xen/conf/files.xen:1.124	Fri Jan 13 16:05:15 2012
+++ src/sys/arch/xen/conf/files.xen	Sat Jan 14 04:22:56 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.124 2012/01/13 16:05:15 cegger Exp $
+#	$NetBSD: files.xen,v 1.125 2012/01/14 04:22:56 pgoyette Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -93,7 +93,6 @@ file	arch/xen/x86/xen_pmap.c
 file	arch/xen/x86/xen_intr.c
 file	arch/xen/x86/xenfunc.c
 
-defflag	CPU_UCODE
 file	arch/xen/xen/xen_ucode.c	dom0ops | cpu_ucode needs-flag
 file	arch/x86/x86/cpu_ucode_amd.c	dom0ops | cpu_ucode needs-flag
 



CVS commit: src/sys/arch/xen/conf

2011-08-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Aug 17 21:42:16 UTC 2011

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
Works with clang's integrated assembler now.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.33 src/sys/arch/xen/conf/Makefile.xen:1.34
--- src/sys/arch/xen/conf/Makefile.xen:1.33	Mon May 30 15:06:32 2011
+++ src/sys/arch/xen/conf/Makefile.xen	Wed Aug 17 21:42:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.33 2011/05/30 15:06:32 joerg Exp $
+#	$NetBSD: Makefile.xen,v 1.34 2011/08/17 21:42:16 joerg Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -55,8 +55,6 @@
 ##
 KERN_AS=	obj
 
-AFLAGS.linux32_sigcode.S+=	${${ACTIVE_CC} == clang:?-no-integrated-as:}
-AFLAGS.netbsd32_sigcode.S+=	${${ACTIVE_CC} == clang:?-no-integrated-as:}
 CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == clang:?-Wno-error:}
 
 ##



CVS commit: src/sys/arch/xen/conf

2011-06-12 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun 12 16:31:57 UTC 2011

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Fix build failure for the odd child, as pointed out by pgoyette@.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.119 src/sys/arch/xen/conf/files.xen:1.120
--- src/sys/arch/xen/conf/files.xen:1.119	Sun Jun 12 03:35:50 2011
+++ src/sys/arch/xen/conf/files.xen	Sun Jun 12 16:31:57 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.119 2011/06/12 03:35:50 rmind Exp $
+#	$NetBSD: files.xen,v 1.120 2011/06/12 16:31:57 jruoho Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -257,7 +257,6 @@
 include dev/acpi/files.acpi
 file	arch/xen/xen/xen_acpi_machdep.c	acpi
 file	arch/x86/x86/mpacpi.c		acpi
-file	arch/x86/x86/acpi_machdep.c	acpi
 file	arch/x86/x86/i8259.c
 
 # Stubs for x86 routines not included in the system
@@ -275,6 +274,8 @@
 file	arch/x86/x86/apic.c		ioapic
 file	arch/x86/x86/nmi.c
 
+file	arch/x86/acpi/acpi_machdep.c	acpi
+
 device ioapic
 attach ioapic at ioapicbus
 file	arch/x86/x86/ioapic.c		ioapic needs-flag



CVS commit: src/sys/arch/xen/conf

2011-06-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun 13 00:53:16 UTC 2011

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Include required file for xen acpi


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.120 src/sys/arch/xen/conf/files.xen:1.121
--- src/sys/arch/xen/conf/files.xen:1.120	Sun Jun 12 16:31:57 2011
+++ src/sys/arch/xen/conf/files.xen	Mon Jun 13 00:53:15 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.120 2011/06/12 16:31:57 jruoho Exp $
+#	$NetBSD: files.xen,v 1.121 2011/06/13 00:53:15 pgoyette Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -275,6 +275,7 @@
 file	arch/x86/x86/nmi.c
 
 file	arch/x86/acpi/acpi_machdep.c	acpi
+file	arch/x86/acpi/acpi_pdc.c	acpi
 
 device ioapic
 attach ioapic at ioapicbus



CVS commit: src/sys/arch/xen/conf

2011-05-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 20 13:12:59 UTC 2011

Modified Files:
src/sys/arch/xen/conf: Makefile.xen

Log Message:
LLVM's assembler parser doesn't support .code32 yet, so disable it as
needed.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/xen/conf/Makefile.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/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.31 src/sys/arch/xen/conf/Makefile.xen:1.32
--- src/sys/arch/xen/conf/Makefile.xen:1.31	Wed Jan 12 23:12:12 2011
+++ src/sys/arch/xen/conf/Makefile.xen	Fri May 20 13:12:59 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xen,v 1.31 2011/01/12 23:12:12 joerg Exp $
+#	$NetBSD: Makefile.xen,v 1.32 2011/05/20 13:12:59 joerg Exp $
 #	NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -55,6 +55,9 @@
 ##
 KERN_AS=	obj
 
+AFLAGS.linux32_sigcode.S+=	${${ACTIVE_CC} == clang:?-no-integrated-as:}
+AFLAGS.netbsd32_sigcode.S+=	${${ACTIVE_CC} == clang:?-no-integrated-as:}
+
 ##
 ## (4) local objects, compile rules, and dependencies
 ##



CVS commit: src/sys/arch/xen/conf

2011-04-11 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Mon Apr 11 08:56:17 UTC 2011

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
build xen kernels again after db_trace merge


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.114 src/sys/arch/xen/conf/files.xen:1.115
--- src/sys/arch/xen/conf/files.xen:1.114	Sun Apr  3 22:29:27 2011
+++ src/sys/arch/xen/conf/files.xen	Mon Apr 11 08:56:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.114 2011/04/03 22:29:27 dyoung Exp $
+#	$NetBSD: files.xen,v 1.115 2011/04/11 08:56:17 cegger Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -42,8 +42,8 @@
 file	arch/i386/i386/db_dbgreg.S	ddb | kstack_check_dr0
 file	arch/i386/i386/db_disasm.c	ddb
 file	arch/i386/i386/db_interface.c	ddb
+file	arch/i386/i386/db_machdep.c	ddb
 file	arch/i386/i386/db_memrw.c	ddb | kgdb
-file	arch/i386/i386/db_trace.c	ddb
 file	arch/i386/i386/dumpsys.c
 file	arch/i386/i386/gdt.c
 file	arch/i386/i386/ipkdb_glue.c	ipkdb
@@ -72,9 +72,9 @@
 file	arch/amd64/amd64/cpufunc.S
 file	arch/amd64/amd64/cpu_in_cksum.S		(inet | inet6)  cpu_in_cksum
 file	arch/amd64/amd64/db_disasm.c		ddb
-file	arch/amd64/amd64/db_interface.c	 ddb
+file	arch/amd64/amd64/db_interface.c		ddb
+file	arch/amd64/amd64/db_machdep.c		ddb
 file	arch/amd64/amd64/db_memrw.c		ddb | kgdb
-file	arch/amd64/amd64/db_trace.c		ddb
 file	arch/amd64/amd64/kgdb_machdep.c	 kgdb
 file	arch/amd64/amd64/kobj_machdep.c	 	modular
 file	arch/amd64/amd64/gdt.c
@@ -88,6 +88,7 @@
 endif
 
 file	kern/subr_disk_mbr.c		disk
+file	arch/x86/x86/db_trace.c		ddb
 file	arch/xen/x86/hypervisor_machdep.c
 # file 	arch/x86/x86/mtrr_i686.c	mtrr
 file	arch/x86/x86/syscall.c



CVS commit: src/sys/arch/xen/conf

2010-12-02 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Dec  2 23:12:30 UTC 2010

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf
index  0 on amd64. Problem reported and patch tested by Tobias Nygren.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.109 src/sys/arch/xen/conf/files.xen:1.110
--- src/sys/arch/xen/conf/files.xen:1.109	Thu Jul  8 11:25:00 2010
+++ src/sys/arch/xen/conf/files.xen	Thu Dec  2 23:12:30 2010
@@ -1,8 +1,12 @@
-#	$NetBSD: files.xen,v 1.109 2010/07/08 11:25:00 rmind Exp $
+#	$NetBSD: files.xen,v 1.110 2010/12/02 23:12:30 bouyer Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
+ifdef i386
 maxpartitions 8
+else
+maxpartitions 16
+endif
 
 maxusers 2 16 128
 



CVS commit: src/sys/arch/xen/conf

2009-10-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Oct  3 20:56:39 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.compat

Log Message:
add dummy opt_via_c7temp.h, spotted by Andreas Gustafsson.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/conf/files.compat

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/xen/conf/files.compat
diff -u src/sys/arch/xen/conf/files.compat:1.21 src/sys/arch/xen/conf/files.compat:1.22
--- src/sys/arch/xen/conf/files.compat:1.21	Wed Aug  5 20:15:37 2009
+++ src/sys/arch/xen/conf/files.compat	Sat Oct  3 20:56:39 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.compat,v 1.21 2009/08/05 20:15:37 jym Exp $
+#	$NetBSD: files.compat,v 1.22 2009/10/03 20:56:39 jmcneill Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 
 # options for MP configuration through the MP spec
@@ -57,6 +57,9 @@
 # Intel On Die Temperature sensor
 defflag opt_intel_coretemp.h		XXXINTEL_CORETEMP
 
+# VIA C7 Temperature sensor
+defflag	opt_via_c7temp.h		XXXVIA_CORETEMP
+
 # Multiboot support
 defflag 	opt_multiboot.h		XXXMULTIBOOT
 



CVS commit: src/sys/arch/xen/conf

2009-07-24 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Fri Jul 24 21:22:22 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
There's no such file as arch/i386/i386/core_machdep.c, so don't
list it here.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.100 src/sys/arch/xen/conf/files.xen:1.101
--- src/sys/arch/xen/conf/files.xen:1.100	Tue Jun 16 21:05:34 2009
+++ src/sys/arch/xen/conf/files.xen	Fri Jul 24 21:22:22 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.100 2009/06/16 21:05:34 bouyer Exp $
+#	$NetBSD: files.xen,v 1.101 2009/07/24 21:22:22 dyoung Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -30,7 +30,6 @@
 ifdef i386
 file	arch/i386/i386/aout_machdep.c	exec_aout
 file	arch/i386/i386/busfunc.S
-file	arch/i386/i386/core_machdep.c	coredump
 file	arch/i386/i386/cpufunc.S
 file	arch/i386/i386/cpu_in_cksum.S   (inet | inet6)  cpu_in_cksum
 file	arch/i386/i386/db_dbgreg.S	ddb | kstack_check_dr0



CVS commit: src/sys/arch/xen/conf

2009-04-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Apr 30 04:38:02 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Include cpu_topology.c for xen kernels, too.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.98 src/sys/arch/xen/conf/files.xen:1.99
--- src/sys/arch/xen/conf/files.xen:1.98	Sat Apr 18 11:26:58 2009
+++ src/sys/arch/xen/conf/files.xen	Thu Apr 30 04:38:01 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.98 2009/04/18 11:26:58 cegger Exp $
+#	$NetBSD: files.xen,v 1.99 2009/04/30 04:38:01 pgoyette Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -130,6 +130,7 @@
 file	arch/x86/x86/tsc.c
 file	arch/x86/x86/vm_machdep.c
 file	arch/x86/x86/x86_machdep.c
+file	arch/x86/x86/cpu_topology.c
 
 include	arch/xen/conf/files.compat
 



CVS commit: src/sys/arch/xen/conf

2009-04-18 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Sat Apr 18 11:26:58 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
build mp.c for xen, too.
Fixes linking failures of Dom0 kernels. (Hi dyoung)


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.97 src/sys/arch/xen/conf/files.xen:1.98
--- src/sys/arch/xen/conf/files.xen:1.97	Thu Apr 16 18:00:35 2009
+++ src/sys/arch/xen/conf/files.xen	Sat Apr 18 11:26:58 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.97 2009/04/16 18:00:35 cegger Exp $
+#	$NetBSD: files.xen,v 1.98 2009/04/18 11:26:58 cegger Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -255,6 +255,9 @@
 # MP configuration using Intel SMP specification 1.4
 file	arch/x86/x86/mpbios.c		mpbios
 
+# MP configuration using either ACPI or Intel SMP specification 1.4
+file 	arch/x86/x86/mp.c		acpi | mpbios
+
 file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
 file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
 



CVS commit: src/sys/arch/xen/conf

2009-04-16 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Thu Apr 16 18:00:36 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
make xen kernels build again after the merge of syscall.c


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.96 src/sys/arch/xen/conf/files.xen:1.97
--- src/sys/arch/xen/conf/files.xen:1.96	Tue Mar 31 20:12:19 2009
+++ src/sys/arch/xen/conf/files.xen	Thu Apr 16 18:00:35 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.96 2009/03/31 20:12:19 rmind Exp $
+#	$NetBSD: files.xen,v 1.97 2009/04/16 18:00:35 cegger Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -49,7 +49,6 @@
 file	arch/i386/i386/mtrr_k6.c	mtrr
 file	arch/i386/i386/process_machdep.c
 file	arch/i386/i386/procfs_machdep.c	procfs
-file	arch/i386/i386/syscall.c
 file	arch/i386/i386/trap.c
 file	arch/i386/i386/lock_stubs.S
 
@@ -77,7 +76,6 @@
 file	arch/amd64/amd64/mem.c
 file	arch/amd64/amd64/process_machdep.c
 file	arch/amd64/amd64/procfs_machdep.c	procfs
-file	arch/amd64/amd64/syscall.c
 file	arch/amd64/amd64/trap.c
 file	arch/amd64/amd64/fpu.c
 file	arch/amd64/amd64/lock_stubs.S
@@ -87,6 +85,7 @@
 file	kern/subr_disk_mbr.c		disk
 file	arch/xen/x86/hypervisor_machdep.c
 # file 	arch/x86/x86/mtrr_i686.c	mtrr
+file	arch/x86/x86/syscall.c
 file	arch/xen/x86/x86_xpmap.c
 file	arch/xen/x86/xen_intr.c
 file	arch/xen/x86/xenfunc.c



CVS commit: src/sys/arch/xen/conf

2009-03-31 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Tue Mar 31 20:12:19 UTC 2009

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Sync with recent i386/amd64 source merges - fix Xen builds.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/xen/conf/files.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/xen/conf/files.xen
diff -u src/sys/arch/xen/conf/files.xen:1.95 src/sys/arch/xen/conf/files.xen:1.96
--- src/sys/arch/xen/conf/files.xen:1.95	Thu Feb 19 02:49:41 2009
+++ src/sys/arch/xen/conf/files.xen	Tue Mar 31 20:12:19 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: files.xen,v 1.95 2009/02/19 02:49:41 jmcneill Exp $
+#	$NetBSD: files.xen,v 1.96 2009/03/31 20:12:19 rmind Exp $
 #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
 #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
 
@@ -44,20 +44,16 @@
 file	arch/i386/i386/kgdb_machdep.c	kgdb
 file	arch/i386/i386/kobj_machdep.c	modular
 file	arch/i386/i386/machdep.c
-file	arch/x86/x86/identcpu.c
 file	arch/i386/i386/longrun.c
 file	arch/i386/i386/mem.c
 file	arch/i386/i386/mtrr_k6.c	mtrr
-file	arch/x86/x86/pmap.c
 file	arch/i386/i386/process_machdep.c
 file	arch/i386/i386/procfs_machdep.c	procfs
 file	arch/i386/i386/syscall.c
 file	arch/i386/i386/trap.c
-file	arch/i386/i386/vm_machdep.c
 file	arch/i386/i386/lock_stubs.S
 
 file	arch/i386/i386/mptramp.S		multiprocessor
-file	arch/i386/i386/ipifuncs.c		multiprocessor
 
 file	arch/i386/i386/pmc.c			perfctrs
 
@@ -78,18 +74,14 @@
 file	arch/amd64/amd64/kobj_machdep.c	 	modular
 file	arch/amd64/amd64/gdt.c
 file	arch/amd64/amd64/machdep.c
-file	arch/x86/x86/identcpu.c
 file	arch/amd64/amd64/mem.c
-file	arch/x86/x86/pmap.c
 file	arch/amd64/amd64/process_machdep.c
 file	arch/amd64/amd64/procfs_machdep.c	procfs
 file	arch/amd64/amd64/syscall.c
 file	arch/amd64/amd64/trap.c
-file	arch/amd64/amd64/vm_machdep.c
 file	arch/amd64/amd64/fpu.c
 file	arch/amd64/amd64/lock_stubs.S
 file	arch/amd64/amd64/mptramp.S		multiprocessor
-file	arch/amd64/amd64/ipifuncs.c		multiprocessor
 endif
 
 file	kern/subr_disk_mbr.c		disk
@@ -127,13 +119,17 @@
 file	dev/md_root.c			memory_disk_hooks
 
 file	arch/x86/x86/bus_dma.c		pci
+file	arch/x86/x86/core_machdep.c	coredump
 file	arch/xen/x86/xen_bus_dma.c	pci
 file	arch/x86/x86/bus_space.c	pci
 file	arch/xen/x86/consinit.c
+file	arch/x86/x86/identcpu.c
 file	arch/xen/x86/intr.c
 file	arch/x86/x86/ipi.c
+file	arch/x86/x86/pmap.c
 file	arch/x86/x86/sys_machdep.c
 file	arch/x86/x86/tsc.c
+file	arch/x86/x86/vm_machdep.c
 file	arch/x86/x86/x86_machdep.c
 
 include	arch/xen/conf/files.compat