core.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2012 Rabin Vincent <rabin at rab.in>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ARM_KERNEL_UPROBES_H
  9. #define __ARM_KERNEL_UPROBES_H
  10. enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn,
  11. struct arch_probes_insn *asi,
  12. const struct decode_header *d);
  13. enum probes_insn decode_ldr(probes_opcode_t insn,
  14. struct arch_probes_insn *asi,
  15. const struct decode_header *d);
  16. enum probes_insn
  17. decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn,
  18. struct arch_probes_insn *asi,
  19. const struct decode_header *d);
  20. enum probes_insn
  21. decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi,
  22. const struct decode_header *d, bool alu);
  23. enum probes_insn
  24. decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi,
  25. const struct decode_header *d);
  26. extern const union decode_action uprobes_probes_actions[];
  27. #endif