Skip to content

Commit

Permalink
dart: Announce real-time DARTs
Browse files Browse the repository at this point in the history
Mostly just for reference.

Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Apr 19, 2022
1 parent fabe27e commit 3020e26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/dart.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ dart_dev_t *dart_init_adt(const char *path, int instance, int device, bool keep_
dart->offset_mask = DART_PTE_OFFSET_T6000;
}

if (adt_getprop(adt, node, "real-time", NULL)) {
for (int i = 0; i < 4; i++) {
printf("dart: dart %s.%d.%d L1 %d is real-time at %p\n", path, instance, device, i,
dart->l1[i]);
}
}

return dart;
}

Expand Down

0 comments on commit 3020e26

Please sign in to comment.