diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-03-09 00:04:56 +1100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-03-08 22:17:03 +0100 |
commit | b261eb886e4ee068515484727955e416517a03b4 (patch) | |
tree | edf55004020d488a008e1cd8ab70a94724e89094 /pci-arbiter/options.h | |
parent | a5fc9f2e767f034830ee5b179123b093180bf259 (diff) | |
download | hurd-b261eb886e4ee068515484727955e416517a03b4.tar.gz hurd-b261eb886e4ee068515484727955e416517a03b4.tar.bz2 hurd-b261eb886e4ee068515484727955e416517a03b4.zip |
pci-arbiter: Introduce machdev into this server
* pci-arbiter/Makefile
Add machdev lib and simplify
* pci-arbiter/main.c
(pci_device_{open,close,shutdown}): New methods
(netfs_server_func): Thread the demuxer loop
(pcifs_startup): Custom startup method
(main): Use machdev for server and detach worker threads
* pci-arbiter/options.{c,h}
Add disk-server-task and priv ports
* pci-arbiter/startup-ops.c
Delete file
Message-Id: <20210308130457.693821-4-damien@zamaudio.com>
Diffstat (limited to 'pci-arbiter/options.h')
-rw-r--r-- | pci-arbiter/options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pci-arbiter/options.h b/pci-arbiter/options.h index 8e5a9da4..292d2963 100644 --- a/pci-arbiter/options.h +++ b/pci-arbiter/options.h @@ -45,6 +45,11 @@ struct parse_hook /* Node cache length */ size_t ncache_len; + + /* Mach ports */ + mach_port_t disk_server_task; + mach_port_t host_priv_port; + mach_port_t dev_master_port; }; /* Lwip translator options. Used for both startup and runtime. */ @@ -65,6 +70,9 @@ static const struct argp_option options[] = { {0, 0, 0, 0, "Global configuration options:", 3}, {"ncache", 'n', "LENGTH", 0, "Node cache length. " STR (NODE_CACHE_MAX) " by default"}, + {"disk-server-task", 'T', "TASK", 0, "Task for bootstrapping disk server"}, + {"host-priv-port", 'H', "PORT", 0, "Port for bootstrapping host"}, + {"dev-master-port", 'P', "PORT", 0, "Port for bootstrapping device master"}, {0} }; |