Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv/include whitespace in comments



details:   https://anonhg.NetBSD.org/src/rev/7af7ba1d2624
branches:  trunk
changeset: 956671:7af7ba1d2624
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Nov 04 07:41:34 2020 +0000

description:
whitespace in comments

diffstat:

 sys/arch/riscv/include/reg.h |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (40 lines):

diff -r bfa7491270b3 -r 7af7ba1d2624 sys/arch/riscv/include/reg.h
--- a/sys/arch/riscv/include/reg.h      Wed Nov 04 07:40:15 2020 +0000
+++ b/sys/arch/riscv/include/reg.h      Wed Nov 04 07:41:34 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: reg.h,v 1.4 2020/11/04 07:40:15 skrll Exp $ */
+/* $NetBSD: reg.h,v 1.5 2020/11/04 07:41:34 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -32,18 +32,18 @@
 #ifndef _RISCV_REG_H_
 #define _RISCV_REG_H_
 
-// x0 = 0
-// x1 = ra (return address)
-// x2 = sp (stack pointer)
-// x3 = gp (global pointer)
-// x4 = tp (thread pointer)
-// x5-x7 = t0-t2 (temporary)
-// x8 = s0/fp (saved register / frame pointer)
-// x9 = s1 (saved register)
-// x10-x11 = a0-a1 (arguments/return values)
-// x12-x17 = a2-a7 (arguments)
-// x18-x27 = s2-s11 (saved registers)
-// x28-x31 = t3-r6 (temporaries)
+// x0          = 0
+// x1          = ra            (return address)
+// x2          = sp            (stack pointer)
+// x3          = gp            (global pointer)
+// x4          = tp            (thread pointer)
+// x5 - x7     = t0 - t2       (temporary)
+// x8          = s0/fp         (saved register / frame pointer)
+// x9          = s1            (saved register)
+// x10 - x11   = a0 - a1       (arguments/return values)
+// x12 - x17   = a2 - a7       (arguments)
+// x18 - x27   = s2 - s11      (saved registers)
+// x28 - x31   = t3 - r6       (temporaries)
 
 struct reg {   // synced with register_t in <riscv/types.h>
 #ifdef _LP64



Home | Main Index | Thread Index | Old Index