Skip to content

Commit e4f1a6b

Browse files
committed
dbg
1 parent 5d4bcd1 commit e4f1a6b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/schedule/zephyr_dp_schedule.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static void dp_thread_fn(void *p1, void *p2, void *p3)
414414
volatile int dbg = __LINE__;
415415
struct task_dp_pdata *task_pdata = NULL;
416416

417-
while (dbg);
417+
//while (dbg);
418418

419419
dbg = __LINE__;
420420
task_pdata = task->priv_data;
@@ -526,9 +526,10 @@ static int scheduler_dp_task_shedule(void *data, struct task *task, uint64_t sta
526526
return -EINVAL;
527527
}
528528

529-
debug_val[0] = (uint32_t)task;
530-
extern volatile uint32_t *debug_ptr[16];
531-
529+
debug_val[0] = sizeof(*task);
530+
debug_val[1] = (uint32_t)task;
531+
debug_val[2] = (uint32_t)task->priv_data;
532+
debug_ptr[0] = &task->priv_data;
532533

533534
/* create a zephyr thread for the task */
534535
pdata->thread_id = k_thread_create(pdata->thread, (__sparse_force void *)pdata->p_stack,

0 commit comments

Comments
 (0)