| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Message-ID: <20241213005831.748151-1-zhmingluo@163.com>
|
|
|
|
|
|
|
|
| |
Since libmachdev cannot currently serve netfs as well as trivfs on a
path, we need to allow connecting to the bootstrapped acpi server
to shut down the machine.
Message-ID: <20241110084135.3859485-3-damien@zamaudio.com>
|
|
|
|
|
|
|
| |
This allows clean shutdown of all modern x86 machines
(not just qemu) by using the acpi translator to call
into libacpica code.
Message-Id: <20220912103837.556815-3-damien@zamaudio.com>
|
|
|
|
|
| |
* shutdown/acpi_shutdown.c (disappear_via_acpi): Use fprintf instead of
mach_print.
|
|
|
|
| |
* shutdown/Makefile (LDLIBS): Add -lpthread.
|
|
|
|
| |
* shutdown/Makefile (HURDLIBS): Add fshelp.
|
|
|
|
| |
* shutdown/Makefile (HURDLIBS): Add iohelp ihash.
|
|
|
|
|
|
|
|
|
| |
For coherency with usage, and to avoid conflicting with shutdown(2)
* hurd/shutdown.defs (shutdown): Rename to shutdown_shutdown.
* shutdown/shutdown.c (S_shutdown): Rename to S_shutdown_shutdown.
* startup/startup.c (do_shutdown): Call shutdown_shutdown instead of
shutdown.
|
|
|
|
|
|
|
| |
* shutdown/acpi_shutdown.c (disappear_via_acpi): Call ioperm only on
required ports, not all ports.
* shutdown/shutdown.c (S_shutdown, main): Remove debugging messages,
even if joyful :)
|
|
* Makefile (prog-subdirs): Add shutdown.
* hurd/hurd_types.defs (shutdown_t): New type.
* hurd/hurd_types.h (shutdown_t): New type.
* hurd/shutdown.defs: New file.
* shutdown: New directory.
|