summaryrefslogtreecommitdiff
path: root/boot/boot.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-10-24 23:07:55 +0200
committerJustus Winter <justus@gnupg.org>2016-10-27 11:52:14 +0200
commit8e499a60837add838647d7319dbd650cc4fb33ab (patch)
tree4867f0abd0e1038734e01a041040fd9c578a85b2 /boot/boot.c
parent205952a1dc7305f982049205e1dd39d534558c2c (diff)
boot: Remove hacks for running boot on UX.unprivileged-subhurds-2016-10-27
* boot/Makefile (COMMON-OBJS): Do not build server stubs for the bootstrap protocol. Remove all UX-related variables and targets. * boot/boot.c: Remove all UX-related definitions and includes. * boot/frank1.ld: Delete file. * boot/frankemul.ld: Likewise. * boot/mach-crt0.c: Likewise. * boot/sigvec.S: Likewise. * boot/syscall.S: Likewise. * boot/ux.c: Likewise. * boot/ux.h: Likewise.
Diffstat (limited to 'boot/boot.c')
-rw-r--r--boot/boot.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/boot/boot.c b/boot/boot.c
index 19b28331..8f17d40b 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -61,18 +61,6 @@
#include <hurd/auth.h>
-#ifdef UX
-#undef STORE /* We can't use libstore when under UX. */
-#else
-#define STORE
-#endif
-
-#ifdef UX
-
-#include "ux.h"
-
-#else /* !UX */
-
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
@@ -128,8 +116,6 @@ host_exit (int status)
exit (status);
}
-#endif /* UX */
-
mach_port_t privileged_host_port, master_device_port;
mach_port_t pseudo_privileged_host_port;
mach_port_t pseudo_master_device_port;