Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/include Allow kernel to compile by preventing ...



details:   https://anonhg.NetBSD.org/src/rev/024def69829e
branches:  trunk
changeset: 973368:024def69829e
user:      scole <scole%NetBSD.org@localhost>
date:      Mon Jun 29 01:37:27 2020 +0000

description:
Allow kernel to compile by preventing "error: stack usage is ..."
too-large errors.  What was there previously was not correct and this
will need to be revisited for debugger to ever become functional
anyway.

diffstat:

 sys/arch/ia64/include/mcontext.h |  4 ++--
 sys/arch/ia64/include/setjmp.h   |  5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2daaad005633 -r 024def69829e sys/arch/ia64/include/mcontext.h
--- a/sys/arch/ia64/include/mcontext.h  Sun Jun 28 21:37:05 2020 +0000
+++ b/sys/arch/ia64/include/mcontext.h  Mon Jun 29 01:37:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.10 2019/12/27 00:32:17 kamil Exp $      */
+/*     $NetBSD: mcontext.h,v 1.11 2020/06/29 01:37:27 scole Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #include <machine/_regset.h>
 
 /* XXX fix this, just get to compile for now */
-#define _NGREG 128 
+#define _NGREG 1
 
 #ifndef __ASSEMBLER__
 typedef unsigned long __greg_t;
diff -r 2daaad005633 -r 024def69829e sys/arch/ia64/include/setjmp.h
--- a/sys/arch/ia64/include/setjmp.h    Sun Jun 28 21:37:05 2020 +0000
+++ b/sys/arch/ia64/include/setjmp.h    Mon Jun 29 01:37:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setjmp.h,v 1.3 2019/05/02 16:55:51 scole Exp $ */
+/*     $NetBSD: setjmp.h,v 1.4 2020/06/29 01:37:27 scole Exp $ */
 
 /*-
  * Copyright (c) 2000
@@ -86,6 +86,7 @@
 #define        J_SIGMASK       0x1d8
 #define        J_SIGSET        0x1e0
 
-#define        _JBLEN          0x200                   /* Size in long XXX: Set to sizeof(mcontext_t)/sizeof(long) */
+/* XXX use FreeBSD value for now, set to sizeof(mcontext_t)/sizeof(long) ? */
+#define        _JBLEN          0x20                    /* Size in long doubles */
 
 #endif /* !_MACHINE_SETJMP_H_ */



Home | Main Index | Thread Index | Old Index