Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys For now, disable CPU_UCODE stuff since we can'...
details: https://anonhg.NetBSD.org/src/rev/f6d61d8b6c67
branches: pgoyette-compat
changeset: 321106:f6d61d8b6c67
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Mar 26 10:49:45 2018 +0000
description:
For now, disable CPU_UCODE stuff since we can't build it properly
with XEN. Re-enable it after we get fix for PR kern/53130
diffstat:
sys/compat/common/Makefile | 4 +++-
sys/compat/common/compat_60_mod.c | 10 ++++++++--
sys/modules/arch/x86/amd64-xen/bsd.amd64-xen.mk | 4 +++-
sys/modules/arch/x86/i386-xen/bsd.i386-xen.mk | 4 +++-
sys/modules/arch/x86/i386pae-xen/bsd.i386pae-xen.mk | 4 +++-
sys/modules/compat_60/Makefile | 4 +++-
6 files changed, 23 insertions(+), 7 deletions(-)
diffs (146 lines):
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/compat/common/Makefile
--- a/sys/compat/common/Makefile Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/compat/common/Makefile Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63.2.1 2018/03/18 02:05:21 pgoyette Exp $
+# $NetBSD: Makefile,v 1.63.2.2 2018/03/26 10:49:45 pgoyette Exp $
LIB= compat
NOPIC= # defined
@@ -33,9 +33,11 @@
@rm -f lib${LIB}.po
@${LD} -r -o lib${LIB}.po ${LDFLAGS} `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+.if NOTYET
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DCPU_UCODE
.endif
+.endif
showsources: ${SRCS}
@echo ${.ALLSRC}
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/compat/common/compat_60_mod.c
--- a/sys/compat/common/compat_60_mod.c Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/compat/common/compat_60_mod.c Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_60_mod.c,v 1.1.2.13 2018/03/24 08:11:12 pgoyette Exp $ */
+/* $NetBSD: compat_60_mod.c,v 1.1.2.14 2018/03/26 10:49:45 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_60_mod.c,v 1.1.2.13 2018/03/24 08:11:12 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_60_mod.c,v 1.1.2.14 2018/03/26 10:49:45 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -78,9 +78,11 @@
{
int error = 0;
+#ifdef NOTYET
#ifdef CPU_UCODE
kern_cpu_60_fini();
#endif
+#endif
ccd_60_fini();
kern_tty_60_fini();
@@ -89,9 +91,11 @@
if (error != 0) {
kern_tty_60_init();
ccd_60_init();
+#ifdef NOTYET
#ifdef CPU_UCODE
kern_cpu_60_init();
#endif
+#endif
return error;
}
@@ -100,9 +104,11 @@
kern_sa_60_init();
kern_tty_60_init();
ccd_60_init();
+#ifdef NOTYET
#ifdef CPU_UCODE
kern_cpu_60_init();
#endif
+#endif
return error;
}
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/modules/arch/x86/amd64-xen/bsd.amd64-xen.mk
--- a/sys/modules/arch/x86/amd64-xen/bsd.amd64-xen.mk Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/modules/arch/x86/amd64-xen/bsd.amd64-xen.mk Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.amd64-xen.mk,v 1.1 2014/08/11 03:43:25 jnemeth Exp $
+# $NetBSD: bsd.amd64-xen.mk,v 1.1.28.1 2018/03/26 10:49:45 pgoyette Exp $
.ifndef _BSD_AMD64_XEN_MK_
_BSD_AMD64_XEN_MK_=1
@@ -7,4 +7,6 @@
XEN= 1
+CPPFLAGS+= -DXEN
+
.endif # _BSD_AMD64_XEN_MK_
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/modules/arch/x86/i386-xen/bsd.i386-xen.mk
--- a/sys/modules/arch/x86/i386-xen/bsd.i386-xen.mk Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/modules/arch/x86/i386-xen/bsd.i386-xen.mk Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.i386-xen.mk,v 1.1 2014/08/11 03:43:26 jnemeth Exp $
+# $NetBSD: bsd.i386-xen.mk,v 1.1.28.1 2018/03/26 10:49:45 pgoyette Exp $
.ifndef _BSD_I386_XEN_MK_
_BSD_I386_XEN_MK_=1
@@ -7,4 +7,6 @@
XEN= 1
+CPPFLAGS+= -DXEN
+
.endif # _BSD_I386_XEN_MK_
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/modules/arch/x86/i386pae-xen/bsd.i386pae-xen.mk
--- a/sys/modules/arch/x86/i386pae-xen/bsd.i386pae-xen.mk Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/modules/arch/x86/i386pae-xen/bsd.i386pae-xen.mk Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.i386pae-xen.mk,v 1.1 2014/08/11 03:43:26 jnemeth Exp $
+# $NetBSD: bsd.i386pae-xen.mk,v 1.1.28.1 2018/03/26 10:49:45 pgoyette Exp $
.ifndef _BSD_I386PAE_XEN_MK_
_BSD_I386PAE_XEN_MK_=1
@@ -8,4 +8,6 @@
XEN= 1
PAE= 1
+CPPFLAGS+= -DPAE -DXEN
+
.endif # _BSD_I386PAE_XEN_MK_
diff -r e354d41ecf42 -r f6d61d8b6c67 sys/modules/compat_60/Makefile
--- a/sys/modules/compat_60/Makefile Mon Mar 26 00:00:39 2018 +0000
+++ b/sys/modules/compat_60/Makefile Mon Mar 26 10:49:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.2.11 2018/03/25 10:38:51 pgoyette Exp $
+# $NetBSD: Makefile,v 1.1.2.12 2018/03/26 10:49:45 pgoyette Exp $
.include "../Makefile.inc"
@@ -11,11 +11,13 @@
SRCS+= compat_60_mod.c kern_sa_60.c tty_60.c kern_time_60.c ccd_60.c \
kern_cpu_60.c
+.if NOTYET
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DCPU_UCODE
.PATH: ${S}/arch/x86/x86
SRCS+= compat_60_cpu_ucode.c
.endif
+.endif
.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index