0014-fixed-a-compiled-error-when-enable-gdb.patch 1.1 KB

12345678910111213141516171819202122232425262728
  1. From ec43c73a96ccda441077ee8c84ad223ee6d8bb99 Mon Sep 17 00:00:00 2001
  2. From: "eric.tang" <eric.tang@starfivetech.com>
  3. Date: Tue, 18 Jan 2022 10:21:45 +0800
  4. Subject: [PATCH 14/14] fixed a compiled error when enable gdb
  5. Signed-off-by: eric.tang <eric.tang@starfivetech.com>
  6. ---
  7. include/opcode/riscv-opc.h | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h
  10. index ee3d4aa51f..8963216302 100644
  11. --- a/include/opcode/riscv-opc.h
  12. +++ b/include/opcode/riscv-opc.h
  13. @@ -3071,8 +3071,8 @@ DECLARE_INSN(dret, MATCH_DRET, MASK_DRET)
  14. DECLARE_INSN(sfence_vm, MATCH_SFENCE_VM, MASK_SFENCE_VM)
  15. DECLARE_INSN(sfence_vma, MATCH_SFENCE_VMA, MASK_SFENCE_VMA)
  16. DECLARE_INSN(wfi, MATCH_WFI, MASK_WFI)
  17. -DECLARE_INSN(hfence_vvma, MATCH_HFENCE_VVMA, MASK_HFENCE)
  18. -DECLARE_INSN(hfence_gvma, MATCH_HFENCE_GVMA, MASK_HFENCE)
  19. +DECLARE_INSN(hfence_vvma, MATCH_HFENCE_VVMA, MASK_HFENCE_VVMA)
  20. +DECLARE_INSN(hfence_gvma, MATCH_HFENCE_GVMA, MASK_HFENCE_GVMA)
  21. DECLARE_INSN(hlv_b, MATCH_HLVB, MASK_HLV)
  22. DECLARE_INSN(hlv_h, MATCH_HLVH, MASK_HLV)
  23. DECLARE_INSN(hlv_w, MATCH_HLVW, MASK_HLV)
  24. --
  25. 2.33.1