Browse Source

riscv: add note to ureg.h about what register is bp

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 8 years ago
parent
commit
c9ebdeb173
1 changed files with 1 additions and 1 deletions
  1. 1 1
      riscv/include/ureg.h

+ 1 - 1
riscv/include/ureg.h

@@ -16,7 +16,7 @@ struct Ureg {
 	uintptr_t t0;
 	uintptr_t t1;
 	uintptr_t t2;
-	uintptr_t s0;
+	uintptr_t s0; // NOTE: this is the bp in gcc with -fno-omit-frame-pointer
 	uintptr_t s1;
 	uintptr_t a0;
 	uintptr_t a1;