[Glibc-bsd-commits] r3255 - in trunk/kfreebsd-8/debian: . arch/i386 patches

Petr Salinger ps-guest at alioth.debian.org
Tue Feb 8 11:23:43 UTC 2011


Author: ps-guest
Date: 2011-02-08 11:23:42 +0000 (Tue, 08 Feb 2011)
New Revision: 3255

Added:
   trunk/kfreebsd-8/debian/arch/i386/xen.config
   trunk/kfreebsd-8/debian/arch/i386/xen.defines
   trunk/kfreebsd-8/debian/patches/200_xen.diff
Modified:
   trunk/kfreebsd-8/debian/changelog
   trunk/kfreebsd-8/debian/patches/series
Log:
Add xen flavor on i386.



Added: trunk/kfreebsd-8/debian/arch/i386/xen.config
===================================================================
--- trunk/kfreebsd-8/debian/arch/i386/xen.config	                        (rev 0)
+++ trunk/kfreebsd-8/debian/arch/i386/xen.config	2011-02-08 11:23:42 UTC (rev 3255)
@@ -0,0 +1,36 @@
+# Kernel for Debian GNU/kFreeBSD on a XEN machine
+
+include XEN
+
+ident		Debian-xen
+makeoptions	COPTFLAGS="-O2 -frename-registers -pipe -march=i686 -mtune=generic"
+
+# disable extra checks enabled in upstream XEN config
+nooption 	INVARIANTS		# Enable calls of extra sanity checking
+nooption 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
+nooption 	WITNESS			# Enable checks to detect deadlocks and cycles
+nooption 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
+
+# Alternate queueing
+options		ALTQ
+options		ALTQ_CBQ        # Class Bases Queuing (CBQ)
+options		ALTQ_RED        # Random Early Detection (RED)
+options		ALTQ_RIO        # RED In/Out
+options		ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
+options		ALTQ_PRIQ       # Priority Queuing (PRIQ)
+options		ALTQ_NOPCC      # Required for SMP build
+
+# kFreeBSD needs
+options		COMPAT_LINUX
+options		LINPROCFS
+options         LINSYSFS
+options		FDESCFS
+options		TMPFS
+
+# raise shared memory limits
+options         SHMMAXPGS=4096
+options         SHMSEG=256
+options         SEMMNI=256
+options         SEMMNS=512
+options         SEMMNU=256
+options         SEMMAP=256

Added: trunk/kfreebsd-8/debian/arch/i386/xen.defines
===================================================================
--- trunk/kfreebsd-8/debian/arch/i386/xen.defines	                        (rev 0)
+++ trunk/kfreebsd-8/debian/arch/i386/xen.defines	2011-02-08 11:23:42 UTC (rev 3255)
@@ -0,0 +1 @@
+Recommends: libc0.1-i686

Modified: trunk/kfreebsd-8/debian/changelog
===================================================================
--- trunk/kfreebsd-8/debian/changelog	2011-02-08 08:49:14 UTC (rev 3254)
+++ trunk/kfreebsd-8/debian/changelog	2011-02-08 11:23:42 UTC (rev 3255)
@@ -4,6 +4,7 @@
   * Add 000_tcp_usrreq.diff, fixes local DoS. Closes #611476.
   * Extend 108_teken_utf8_table.diff for middle-dot l/L.
     Closes: #609681. Thanks to Robert Millan.
+  * Add xen flavor on i386.
 
   [ Robert Millan ]
   * Make this package buildable on GNU/Linux.  (Closes: #602768)

Added: trunk/kfreebsd-8/debian/patches/200_xen.diff
===================================================================
--- trunk/kfreebsd-8/debian/patches/200_xen.diff	                        (rev 0)
+++ trunk/kfreebsd-8/debian/patches/200_xen.diff	2011-02-08 11:23:42 UTC (rev 3255)
@@ -0,0 +1,22 @@
+--- a/sys/dev/xen/evtchn/evtchn_dev.c
++++ b/sys/dev/xen/evtchn/evtchn_dev.c
+@@ -41,7 +41,7 @@
+ } evtchn_softc_t;
+ 
+ 
+-#ifdef linuxcrap
++#if 0
+ /* NB. This must be shared amongst drivers if more things go in /dev/xen */
+ static devfs_handle_t xen_dev_dir;
+ #endif
+--- a/sys/xen/evtchn/evtchn_dev.c
++++ b/sys/xen/evtchn/evtchn_dev.c
+@@ -39,7 +39,7 @@
+ } evtchn_softc_t;
+ 
+ 
+-#ifdef linuxcrap
++#if 0
+ /* NB. This must be shared amongst drivers if more things go in /dev/xen */
+ static devfs_handle_t xen_dev_dir;
+ #endif

Modified: trunk/kfreebsd-8/debian/patches/series
===================================================================
--- trunk/kfreebsd-8/debian/patches/series	2011-02-08 08:49:14 UTC (rev 3254)
+++ trunk/kfreebsd-8/debian/patches/series	2011-02-08 11:23:42 UTC (rev 3255)
@@ -17,6 +17,7 @@
 108_teken_utf8_table.diff
 109_linprocfs_non_x86.diff
 110_disable_trampoline_flavour.diff
+200_xen.diff
 902_version.diff
 903_disable_non-free_drivers.diff 
 904_dev_full.diff




More information about the Glibc-bsd-commits mailing list