summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-09-20 21:46:19 +0000
committerdfr <dfr@FreeBSD.org>1998-09-20 21:46:19 +0000
commit00428fddff8862c2a884e610cd9d03df7c381c0d (patch)
tree98ff0fdcfdfc60406b3f9b81136511b614dc6fe8 /sys/boot/common
parent48b3e5470102066f456686c366cf49009cf063b3 (diff)
downloadFreeBSD-src-00428fddff8862c2a884e610cd9d03df7c381c0d.zip
FreeBSD-src-00428fddff8862c2a884e610cd9d03df7c381c0d.tar.gz
Make the alpha bootstrap build again, fix some warning and change sdboot to daboot.
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/bootstrap.h3
-rw-r--r--sys/boot/common/dev_net.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h
index fe7d1c1..f02b4f4 100644
--- a/sys/boot/common/bootstrap.h
+++ b/sys/boot/common/bootstrap.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bootstrap.h,v 1.5 1998/09/14 18:27:04 msmith Exp $
+ * $Id: bootstrap.h,v 1.6 1998/09/19 01:31:28 msmith Exp $
*/
#include <sys/types.h>
@@ -212,6 +212,7 @@ extern vm_offset_t aout_findsym(char *name, struct loaded_module *mp);
#ifdef __alpha__
#define MAKE_SET(set, sym) \
+ static void const * const __set_##set##_sym_##sym = &sym; \
__asm(".align 3"); \
__asm(".section .set." #set ",\"aw\""); \
__asm(".quad " #sym); \
diff --git a/sys/boot/common/dev_net.c b/sys/boot/common/dev_net.c
index 95f89fb..d4b8a9c 100644
--- a/sys/boot/common/dev_net.c
+++ b/sys/boot/common/dev_net.c
@@ -1,5 +1,5 @@
/*
- * $Id: dev_net.c,v 1.1.1.1 1998/08/21 03:17:41 msmith Exp $
+ * $Id: dev_net.c,v 1.2 1998/08/22 10:31:01 dfr Exp $
* From: $NetBSD: dev_net.c,v 1.12 1997/12/10 20:38:37 gwr Exp $
*/
@@ -67,7 +67,6 @@
#include <stand.h>
#include <net.h>
#include <netif.h>
-#include <nfs.h>
#include <bootparam.h>
#include "dev_net.h"
OpenPOWER on IntegriCloud