Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Name the offsets to the remaining f...
details: https://anonhg.NetBSD.org/src/rev/8c1f6e112b18
branches: trunk
changeset: 335535:8c1f6e112b18
user: dennis <dennis%NetBSD.org@localhost>
date: Mon Jan 12 02:32:33 2015 +0000
description:
Name the offsets to the remaining fields in the ppc64
stack frame header. Add a stack frame alignment macro
to avoid hard-coding that.
diffstat:
sys/arch/powerpc/include/asm.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r c5ca3f43ed64 -r 8c1f6e112b18 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h Mon Jan 12 01:18:38 2015 +0000
+++ b/sys/arch/powerpc/include/asm.h Mon Jan 12 02:32:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.47 2014/08/23 02:21:44 matt Exp $ */
+/* $NetBSD: asm.h,v 1.48 2015/01/12 02:32:33 dennis Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -104,7 +104,11 @@
# define SF_SP 0
# define SF_CR 8
# define SF_LR 16
+# define SF_COMP 24
+# define SF_LD 32
+# define SF_TOC 40
# define SF_PARAM SF_HEADER_SZ
+# define SF_ALIGN(x) (((x) + 0xf) & ~0xf)
# define _XENTRY(y) \
.globl y; \
Home |
Main Index |
Thread Index |
Old Index