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 fix SP offset
details: https://anonhg.NetBSD.org/src/rev/df0e2e52324b
branches: trunk
changeset: 995016:df0e2e52324b
user: scole <scole%NetBSD.org@localhost>
date: Sun Dec 02 16:49:24 2018 +0000
description:
fix SP offset
diffstat:
sys/arch/ia64/include/proc.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r 505d530a0a4d -r df0e2e52324b sys/arch/ia64/include/proc.h
--- a/sys/arch/ia64/include/proc.h Sun Dec 02 15:43:04 2018 +0000
+++ b/sys/arch/ia64/include/proc.h Sun Dec 02 16:49:24 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.8 2018/11/15 20:06:23 scole Exp $ */
+/* $NetBSD: proc.h,v 1.9 2018/12/02 16:49:24 scole Exp $ */
#ifndef _IA64_PROC_H_
#define _IA64_PROC_H_
@@ -41,9 +41,8 @@
#define UAREA_PCB_OFFSET (USPACE - sizeof(struct pcb))
#define UAREA_TF_OFFSET (UAREA_PCB_OFFSET - sizeof(struct trapframe))
-#define UAREA_SP_OFFSET (UAREA_TF_OFFSET -16 -sizeof(uint64_t))
+#define UAREA_SP_OFFSET (UAREA_TF_OFFSET -16)
#define UAREA_BSPSTORE_OFFSET (0)
-#define UAREA_STACK_SIZE (USPACE - 16 - sizeof(struct trapframe) - \
- sizeof(struct pcb))
+#define UAREA_STACK_SIZE (USPACE - UAREA_SP_OFFSET)
#endif /* _IA64_PROC_H_ */
Home |
Main Index |
Thread Index |
Old Index