sec_debug.h 904 B

12345678910111213141516171819202122232425262728
  1. #ifndef __LEGACY__SEC_DEBUG_H__
  2. #define __LEGACY__SEC_DEBUG_H__
  3. #include <linux/samsung/debug/sec_debug_region.h>
  4. #include <linux/samsung/debug/sec_debug.h>
  5. #include <linux/samsung/debug/sec_reboot_cmd.h>
  6. #include <linux/samsung/debug/sec_crashkey_long.h>
  7. #include <linux/samsung/debug/sec_force_err.h>
  8. #include <linux/samsung/debug/sec_crashkey.h>
  9. #include <linux/samsung/debug/sec_arm64_ap_context.h>
  10. #include <linux/samsung/debug/sec_log_buf.h>
  11. #include <linux/samsung/debug/sec_upload_cause.h>
  12. #include <linux/samsung/debug/qcom/sec_qc_dbg_partition.h>
  13. static __always_inline bool read_debug_partition(size_t index, void *value)
  14. {
  15. return sec_qc_dbg_part_read(index, value);
  16. }
  17. static __always_inline bool write_debug_partition(size_t index, void *value)
  18. {
  19. return sec_qc_dbg_part_write(index, value);
  20. }
  21. #include <linux/samsung/debug/qcom/sec_qc_hw_param.h>
  22. #endif /* __LEGACY__SEC_DEBUG_H__ */