Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Define the correct __UCONTEXT_SIZE for ...
details: https://anonhg.NetBSD.org/src/rev/8e3b41d7f545
branches: trunk
changeset: 783153:8e3b41d7f545
user: matt <matt%NetBSD.org@localhost>
date: Sat Dec 08 06:58:36 2012 +0000
description:
Define the correct __UCONTEXT_SIZE for EABI.
diffstat:
sys/arch/arm/include/mcontext.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 678a734de2f1 -r 8e3b41d7f545 sys/arch/arm/include/mcontext.h
--- a/sys/arch/arm/include/mcontext.h Sat Dec 08 06:49:00 2012 +0000
+++ b/sys/arch/arm/include/mcontext.h Sat Dec 08 06:58:36 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.14 2012/12/08 02:41:54 christos Exp $ */
+/* $NetBSD: mcontext.h,v 1.15 2012/12/08 06:58:36 matt Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -114,7 +114,11 @@
#define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc)
+#ifdef __ARM_EABI__
+#define __UCONTEXT_SIZE (256 + 144)
+#else
#define __UCONTEXT_SIZE 256
+#endif
static __inline void *
__lwp_getprivate_fast(void)
Home |
Main Index |
Thread Index |
Old Index