Module Name: src
Committed By: dennis
Date: Mon Jan 12 02:32:33 UTC 2015
Modified Files:
src/sys/arch/powerpc/include: asm.h
Log Message:
Name the offsets to the remaining fields in the ppc64
stack frame header. Add a stack frame alignment macro
to avoid hard-coding that.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/powerpc/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/asm.h
diff -u src/sys/arch/powerpc/include/asm.h:1.47 src/sys/arch/powerpc/include/asm.h:1.48
--- src/sys/arch/powerpc/include/asm.h:1.47 Sat Aug 23 02:21:44 2014
+++ src/sys/arch/powerpc/include/asm.h Mon Jan 12 02:32:33 2015
@@ -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; \