Damien Zammit, le mar. 02 févr. 2021 18:29:42 +1100, a ecrit:
> [PATCH 2/3] Bootstrappable pci-arbiter
>
> This is a work in progress, I would like some comments on how I can
> make the arbiter start up without a / filesystem when it needs to
> expose the pci interface netfs on a real node.
That should already be handled by libmachdev's machdev_trivfs_init? The
disk translator, in the meanwhile, can device_open("pci") on the device
master port that it got from pci-arbiter.
BTW,
-volatile struct mapped_time_value *pcifs_maptime;
+volatile struct mapped_time_value *pcifs_maptime = NULL;
This is undeeded: global variables are always initialized to 0.
Samuel