Remove some vestiges of BDB.

This commit is contained in:
mycroft 1997-09-09 21:42:38 +00:00
parent 5367793904
commit d766a8aa21
3 changed files with 2 additions and 38 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.167 1997/07/17 05:15:01 cgd Exp $ */
/* $NetBSD: locore.s,v 1.168 1997/09/09 21:42:38 mycroft Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
@ -71,8 +71,6 @@
#define _ALIGN_TEXT ALIGN_TEXT
#include <machine/asm.h>
#include <i386/isa/debug.h>
/* XXX temporary kluge; these should not be here */
#define IOM_BEGIN 0x0a0000 /* start of I/O memory "hole" */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpufunc.h,v 1.10 1997/09/05 22:25:20 chuck Exp $ */
/* $NetBSD: cpufunc.h,v 1.11 1997/09/09 21:42:42 mycroft Exp $ */
/*
* Copyright (c) 1993 Charles Hannum.
@ -40,16 +40,6 @@
#include <sys/cdefs.h>
#include <sys/types.h>
static __inline int bdb(void)
{
extern int bdb_exists;
if (!bdb_exists)
return (0);
__asm __volatile("int $3");
return (1);
}
static __inline void
invlpg(u_int addr)
{

View File

@ -1,24 +0,0 @@
/* $NetBSD: debug.h,v 1.6 1994/10/27 04:17:06 cgd Exp $ */
#ifdef INTR_DEBUG
#define INTRLOCAL(label) label
#else /* not INTR_DEBUG */
#define INTRLOCAL(label) L/**/label
#endif /* INTR_DEBUG */
#define BDBTRAP(name) \
ss ; \
cmpb $0,_bdb_exists ; \
je 1f ; \
testb $SEL_RPL_MASK,4(%esp) ; \
jne 1f ; \
ss ; \
bdb_/**/name/**/_ljmp: ; \
ljmp $0,$0 ; \
1:
.data
.globl _bdb_exists
_bdb_exists:
.long 0
.text