bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH x3] hurd: pci arbiter bootstrap


From: Samuel Thibault
Subject: Re: [PATCH x3] hurd: pci arbiter bootstrap
Date: Tue, 2 Feb 2021 22:53:03 +0100
User-agent: NeoMutt/20170609 (1.8.3)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]