diff options
author | Damien Zammit <damien@zamaudio.com> | 2022-09-20 03:01:18 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-20 23:39:29 +0200 |
commit | 9c7a1bc253ba4a264e8e3d6ae7983f2fc645f2b3 (patch) | |
tree | 07892fe8350ec6defec702790b158ee8bbc038fa /acpi/options.h | |
parent | 432ecc4bed0ef5341d8dc7637d7631fe05ffd717 (diff) | |
download | hurd-9c7a1bc253ba4a264e8e3d6ae7983f2fc645f2b3.tar.gz hurd-9c7a1bc253ba4a264e8e3d6ae7983f2fc645f2b3.tar.bz2 hurd-9c7a1bc253ba4a264e8e3d6ae7983f2fc645f2b3.zip |
acpi: Convert translator to an emulated mach device
This makes acpi usable as a bootstrap translator.
Message-Id: <20220920030035.931113-1-damien@zamaudio.com>
Diffstat (limited to 'acpi/options.h')
-rw-r--r-- | acpi/options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/acpi/options.h b/acpi/options.h index 36ccc48b..53c98ab1 100644 --- a/acpi/options.h +++ b/acpi/options.h @@ -36,6 +36,11 @@ struct parse_hook { struct acpifs_perm perm; size_t ncache_len; + + /* Mach ports */ + mach_port_t next_task; + mach_port_t host_priv_port; + mach_port_t dev_master_port; }; /* ACPI translator options. Used for both startup and runtime. */ @@ -43,6 +48,9 @@ static const struct argp_option options[] = { {0, 0, 0, 0, "These apply to the whole acpi tree:", 1}, {"uid", 'U', "UID", 0, "User ID to give permissions to"}, {"gid", 'G', "GID", 0, "Group ID to give permissions to"}, + {"next-task", 'N', "TASK", 0, "Next bootstrap task"}, + {"host-priv-port", 'H', "PORT", 0, "Port for bootstrapping host"}, + {"device-master-port", 'P', "PORT", 0, "Port for bootstrapping device master"}, {0} }; |