From 14ca7bbf803d0b6f9defc28db9021dcb2e65384a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 24 Oct 2016 23:07:55 +0200 Subject: 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. --- boot/boot.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'boot/boot.c') 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 -#ifdef UX -#undef STORE /* We can't use libstore when under UX. */ -#else -#define STORE -#endif - -#ifdef UX - -#include "ux.h" - -#else /* !UX */ - #include #include #include @@ -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; -- cgit v1.2.3