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 Add P2SZREG to be usign with .p2align



details:   https://anonhg.NetBSD.org/src/rev/7a0b03a416b7
branches:  trunk
changeset: 327104:7a0b03a416b7
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 27 15:58:03 2014 +0000

description:
Add P2SZREG to be usign with .p2align

diffstat:

 sys/arch/powerpc/include/asm.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c227f751f426 -r 7a0b03a416b7 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Thu Feb 27 15:56:12 2014 +0000
+++ b/sys/arch/powerpc/include/asm.h    Thu Feb 27 15:58:03 2014 +0000
@@ -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 @@
 # 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 @@
 # 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 */



Home | Main Index | Thread Index | Old Index