Skip to content

Commit 5d4bcd1

Browse files
committed
dbg
1 parent 6e6c63e commit 5d4bcd1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/schedule/zephyr_dp_schedule.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
#include <zephyr/kernel/thread.h>
2727

28+
extern volatile uint32_t debug_val[4];
29+
extern volatile uint32_t *debug_ptr[16];
30+
2831
LOG_MODULE_REGISTER(dp_schedule, CONFIG_SOF_LOG_LEVEL);
2932
SOF_DEFINE_REG_UUID(dp_sched);
3033

@@ -523,6 +526,10 @@ static int scheduler_dp_task_shedule(void *data, struct task *task, uint64_t sta
523526
return -EINVAL;
524527
}
525528

529+
debug_val[0] = (uint32_t)task;
530+
extern volatile uint32_t *debug_ptr[16];
531+
532+
526533
/* create a zephyr thread for the task */
527534
pdata->thread_id = k_thread_create(pdata->thread, (__sparse_force void *)pdata->p_stack,
528535
pdata->stack_size, dp_thread_fn, task, NULL, NULL,

0 commit comments

Comments
 (0)