diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-03-02 15:33:51 -0800 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-03-02 15:33:51 -0800 |
commit | efd8361ef4354dadf14172563f12e8e00d1b091a (patch) | |
tree | 639cc2eeeff47b4ee7b8c8559410bbeabe85cadb /startup/Makefile | |
parent | 99a69fd8b6034214c0729e9a3a684bbe9d541eb0 (diff) | |
download | hurd-efd8361ef4354dadf14172563f12e8e00d1b091a.tar.gz hurd-efd8361ef4354dadf14172563f12e8e00d1b091a.tar.bz2 hurd-efd8361ef4354dadf14172563f12e8e00d1b091a.zip |
Add to startup relevant shutdown rpc call
* startup/Makefile (OBJS): Add shutdownUser.o.
* startup/startup.c: Include <stdlib.h> and "shutdown_U.h".
(_SERVERS_SHUTDOWN): New macro.
(do_shutdown): New function.
(reboot_mach): Call do_shutdown when flags contains RB_HALT.
Diffstat (limited to 'startup/Makefile')
-rw-r--r-- | startup/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/startup/Makefile b/startup/Makefile index bda3ffb3..8df0bd85 100644 --- a/startup/Makefile +++ b/startup/Makefile @@ -20,6 +20,7 @@ makemode := server SRCS = startup.c OBJS = $(SRCS:.c=.o) \ + shutdownUser.o \ startupServer.o notifyServer.o startup_replyUser.o msgServer.o \ startup_notifyUser.o fsysServer.o fsServer.o ioServer.o target = startup |