From f0ea79c41f6c6b00b976b6fe67ac350a1852022a Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 18 Feb 2014 05:50:59 -0500 Subject: dev: Include basic devices in NULL ISA build This patch enbles use of the basic PIO devices as part of the NULL build. Although it might seem counter intuitive to have a PIO device without being able to execute a driver, this change enables us to break a device class hierarchy into an ISA-agnostic part, and an ISA-specific part, without requiring multiple-inheritance. The ISA-agnostic base class is a PIO device, but does not make use of the port. --- src/dev/baddev.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/dev/baddev.cc') diff --git a/src/dev/baddev.cc b/src/dev/baddev.cc index b3a30b7e5..918c754d5 100644 --- a/src/dev/baddev.cc +++ b/src/dev/baddev.cc @@ -32,14 +32,10 @@ * BadDevice implemenation */ -#include #include -#include #include "base/trace.hh" -#include "config/the_isa.hh" #include "dev/baddev.hh" -#include "mem/port.hh" #include "params/BadDevice.hh" #include "sim/system.hh" -- cgit v1.2.3