Module Name: src
Committed By: matt
Date: Thu Feb 27 15:58:03 UTC 2014
Modified Files:
src/sys/arch/powerpc/include: asm.h
Log Message:
Add P2SZREG to be usign with .p2align
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 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.42 src/sys/arch/powerpc/include/asm.h:1.43
--- src/sys/arch/powerpc/include/asm.h:1.42 Thu Sep 12 15:36:17 2013
+++ src/sys/arch/powerpc/include/asm.h Thu Feb 27 15:58:03 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.42 2013/09/12 15:36:17 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.43 2014/02/27 15:58:03 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -334,6 +334,7 @@ y: .quad .y,.TOC.@tocbase,0; \
# define streg stw /* load PPC general register */
# define stregu stwu /* load PPC general register with udpate */
# define SZREG 4 /* 4 byte registers */
+# define P2SZREG 2
# define lptrarx lwarx /* load "C" pointer with reservation */
# define llongarx lwarx /* load "C" long with reservation */
@@ -365,6 +366,7 @@ y: .quad .y,.TOC.@tocbase,0; \
# define lmw lmd /* load multiple PPC general registers */
# define stmw stmd /* store multiple PPC general registers */
# define SZREG 8 /* 8 byte registers */
+# define P2SZREG 3
# define lptrarx ldarx /* load "C" pointer with reservation */
# define llongarx ldarx /* load "C" long with reservation */