aboutsummaryrefslogtreecommitdiff
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-11-01 11:37:10 +0100
commit14ca7bbf803d0b6f9defc28db9021dcb2e65384a (patch)
treea91d0d0593b134f9fedd26749de4c066023c835c /boot/boot.c
parent87c1eba3e7c9402ca59340db8a43a4c9ef5b3bd5 (diff)
downloadhurd-14ca7bbf803d0b6f9defc28db9021dcb2e65384a.tar.gz
hurd-14ca7bbf803d0b6f9defc28db9021dcb2e65384a.tar.bz2
hurd-14ca7bbf803d0b6f9defc28db9021dcb2e65384a.zip
boot: Remove hacks for running boot on UX.
* 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 02af0688..dacf9650 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -54,18 +54,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>
@@ -107,8 +95,6 @@ restore_termstate ()
typedef struct stat host_stat_t;
#define host_exit exit
-#endif /* UX */
-
mach_port_t privileged_host_port, master_device_port;
mach_port_t pseudo_master_device_port;
mach_port_t receive_set;