Provide a dummy NO_XBOX option that lives in opt_xbox.h for pc98.

This allows us to eliminate a three ifdef PC98 instances.
This commit is contained in:
imp 2005-11-14 00:43:44 +00:00
parent 893249d3c3
commit a37dc6aa6e
4 changed files with 4 additions and 6 deletions

View File

@ -105,3 +105,7 @@ DEV_NPX opt_npx.h
# Debugging
STOP_NMI opt_cpu.h
NPX_DEBUG opt_npx.h
# FreeBSD/i386 supports xbox and is shred with pc98 so we need to define dummy
# opt_xbox.h
NO_XBOX opt_xbox.h

View File

@ -106,9 +106,7 @@ __FBSDID("$FreeBSD$");
#include "opt_cpu.h"
#include "opt_pmap.h"
#include "opt_msgbuf.h"
#ifndef PC98
#include "opt_xbox.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -47,9 +47,7 @@ __FBSDID("$FreeBSD$");
#include "opt_npx.h"
#include "opt_reset.h"
#include "opt_cpu.h"
#ifndef PC98
#include "opt_xbox.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -30,9 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#ifndef PC98
#include "opt_xbox.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>