Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include add a define for pcb_sp
details: https://anonhg.NetBSD.org/src/rev/4e1dcc33e97a
branches: trunk
changeset: 764677:4e1dcc33e97a
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 30 16:58:35 2011 +0000
description:
add a define for pcb_sp
diffstat:
sys/arch/x86/include/db_machdep.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 640d9be3525d -r 4e1dcc33e97a sys/arch/x86/include/db_machdep.h
--- a/sys/arch/x86/include/db_machdep.h Sat Apr 30 16:57:58 2011 +0000
+++ b/sys/arch/x86/include/db_machdep.h Sat Apr 30 16:58:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.2 2011/04/10 20:38:37 christos Exp $ */
+/* $NetBSD: db_machdep.h,v 1.3 2011/04/30 16:58:35 christos Exp $ */
#ifndef _X86_DB_MACHDEP_H_
#define _X86_DB_MACHDEP_H_
@@ -21,12 +21,14 @@
#define tf_ip tf_rip
#define tf_bp tf_rbp
#define pcb_bp pcb_rbp
+#define pcb_sp pcb_rsp
#define x86_frame x86_64_frame
#else
#define tf_sp tf_esp
#define tf_ip tf_eip
#define tf_bp tf_ebp
#define pcb_bp pcb_ebp
+#define pcb_sp pcb_esp
#define x86_frame i386_frame
#endif
Home |
Main Index |
Thread Index |
Old Index