Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2008 18:14:43 GMT
From:      "Randall R. Stewart" <rrs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136935 for review
Message-ID:  <200803051814.m25IEh6Y081842@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136935

Change 136935 by rrs@rrs-mips2-jnpr on 2008/03/05 18:13:46

	Add a comment or two around cryptic assembly.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_pcmap_regs.h#6 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_pcmap_regs.h#6 (text+ko) ====

@@ -513,18 +513,19 @@
 
 #define CVMX_MF_CHORD(dest)         OCTEON_RDHWR(dest, 30)
 
+/* word 0x7c02f03b  == rdhwr r2, chOrd*/
 #define OCTEON_CHORD_HEX(dest_ptr)  \
     ({ __asm __volatile( \
             ".set push\n" \
             ".set mips3\n" \
             ".set noreorder\n" \
             ".set noat\n" \
-	    ".word 0x7c02f03b \n"\
+	    ".word 0x7c02f03b \n" \
             "nop\n" \
             "nop\n" \
             "nop\n" \
             "nop\n" \
-            "sd $2,0(%0)\n" \
+	    "sd $2,0(%0)\n" \
             ".set pop" \
             : /* no outputs */ : "r" (dest_ptr) : "$2"); \
     })



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803051814.m25IEh6Y081842>