Kaynağa Gözat

Remove asm.h

Vadim Kaushan 5 yıl önce
ebeveyn
işleme
88f0e911bc
2 değiştirilmiş dosya ile 10 ekleme ve 16 silme
  1. 10 1
      riscv-rt/asm.S
  2. 0 15
      riscv-rt/asm.h

+ 10 - 1
riscv-rt/asm.S

@@ -1,4 +1,13 @@
-#include "asm.h"
+#if __riscv_xlen == 64
+# define STORE    sd
+# define LOAD     ld
+# define LOG_REGBYTES 3
+#else
+# define STORE    sw
+# define LOAD     lw
+# define LOG_REGBYTES 2
+#endif
+#define REGBYTES (1 << LOG_REGBYTES)
 
 /*
     Entry point of all programs (_start).

+ 0 - 15
riscv-rt/asm.h

@@ -1,15 +0,0 @@
-#ifndef _RISCV_RT_ASM_H
-#define _RISCV_RT_ASM_H
-
-#if __riscv_xlen == 64
-# define STORE    sd
-# define LOAD     ld
-# define LOG_REGBYTES 3
-#else
-# define STORE    sw
-# define LOAD     lw
-# define LOG_REGBYTES 2
-#endif
-#define REGBYTES (1 << LOG_REGBYTES)
-
-#endif