From e936af86df5ab09b1dead81a31d5ceb7c01576dd Mon Sep 17 00:00:00 2001 From: Damien Zammit via Bug reports for the GNU Hurd Date: Sun, 10 Nov 2024 08:42:02 +0000 Subject: acpi, libmachdev: Add _forever variant of trivfs server loop The acpi server needs to survive after the shutdown notification, so it can serve S_acpi_sleep() RPC to actually shut down the machine. Therefore we need to keep the server alive and not respond to the trivfs goaway request. Message-ID: <20241110084135.3859485-2-damien@zamaudio.com> --- libmachdev/machdev.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmachdev/machdev.h') diff --git a/libmachdev/machdev.h b/libmachdev/machdev.h index 50bfd41b..007d2750 100644 --- a/libmachdev/machdev.h +++ b/libmachdev/machdev.h @@ -39,6 +39,7 @@ int machdev_trivfs_init(int argc, char **argv, mach_port_t bootstrap_resume_task int machdev_demuxer(mach_msg_header_t *inp, mach_msg_header_t *outp); void machdev_trivfs_server_startup(mach_port_t bootstrap); void * machdev_trivfs_server_loop(void *); +void * machdev_trivfs_server_loop_forever(void *); boolean_t machdev_is_master_device (mach_port_t port); #endif -- cgit v1.2.3