dart: Announce real-time DARTs

Mostly just for reference.

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-04-19 23:42:22 +09:00
parent fabe27e3f1
commit 3020e26e00

View file

@ -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; 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; return dart;
} }