diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-04-04 19:36:51 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-04-04 19:36:51 +0200 |
commit | 651df2e03f3eb2fcca3446174625dda77b94bcc6 (patch) | |
tree | bbbfa0e6c13b13439bc2dea2ed303bd0f655d850 /pci-arbiter/pcifs.h | |
parent | bef0f49eff0eb113e551b7cf1f552364f8d805c7 (diff) | |
download | hurd-651df2e03f3eb2fcca3446174625dda77b94bcc6.tar.gz hurd-651df2e03f3eb2fcca3446174625dda77b94bcc6.tar.bz2 hurd-651df2e03f3eb2fcca3446174625dda77b94bcc6.zip |
pci-arbiter: restore code that allows it to run non-bootstrap
* pci-arbiter/pcifs.h (init_root_node): Restore underlying_node
parameter.
* pci-arbiter/pcifs.c (underlying_stat): Drop global variable.
(init_root_node): Restore getting the stat from the underlying node.
* pci-arbiter/main.c (main): Restore calling netfs_startup in
non-bootstrap case, and pass underlying node to init_root_node. Only
call pcifs_startup in bootstrap case.
Diffstat (limited to 'pci-arbiter/pcifs.h')
-rw-r--r-- | pci-arbiter/pcifs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pci-arbiter/pcifs.h b/pci-arbiter/pcifs.h index 33a2b8c1..ba16ebaa 100644 --- a/pci-arbiter/pcifs.h +++ b/pci-arbiter/pcifs.h @@ -205,7 +205,7 @@ extern volatile struct mapped_time_value *pcifs_maptime; /* FS manipulation functions */ error_t alloc_file_system (struct pcifs **fs); -error_t init_root_node (void); +error_t init_root_node (file_t underlying_node); error_t init_file_system (struct pcifs *fs); error_t create_fs_tree (struct pcifs *fs); error_t fs_set_permissions (struct pcifs *fs); |