mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Add debugSession interfaces
Related-To: NEO-4516 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ef5174f3fc
commit
6594119afb
@@ -27,6 +27,13 @@ struct DebugSession : _zet_debug_session_handle_t {
|
||||
virtual ze_result_t initialize() = 0;
|
||||
|
||||
virtual ze_result_t readEvent(uint64_t timeout, zet_debug_event_t *event) = 0;
|
||||
virtual ze_result_t interrupt(ze_device_thread_t thread) = 0;
|
||||
virtual ze_result_t resume(ze_device_thread_t thread) = 0;
|
||||
virtual ze_result_t readMemory(ze_device_thread_t thread, const zet_debug_memory_space_desc_t *desc, size_t size, void *buffer) = 0;
|
||||
virtual ze_result_t writeMemory(ze_device_thread_t thread, const zet_debug_memory_space_desc_t *desc, size_t size, const void *buffer) = 0;
|
||||
virtual ze_result_t acknowledgeEvent(const zet_debug_event_t *event) = 0;
|
||||
virtual ze_result_t readRegisters(ze_device_thread_t thread, zet_debug_regset_type_t type, uint32_t start, uint32_t count, void *pRegisterValues) = 0;
|
||||
virtual ze_result_t writeRegisters(ze_device_thread_t thread, zet_debug_regset_type_t type, uint32_t start, uint32_t count, void *pRegisterValues) = 0;
|
||||
|
||||
Device *getConnectedDevice() { return connectedDevice; }
|
||||
virtual void startAsyncThread() = 0;
|
||||
|
||||
Reference in New Issue
Block a user