get rid of some unused variables

--HG--
extra : convert_revision : 187cee0e0bad09bbaff059eb60f20d7d32c1b52c
This commit is contained in:
Nathan Binkert 2004-10-23 13:11:42 -04:00
parent 656031b073
commit 833c5b5ef4
3 changed files with 1 additions and 9 deletions

View file

@ -63,9 +63,6 @@ IdeController::IdeController(const string &name, IntrControl *ic,
Bus *host_bus, Tick pio_latency, HierParams *hier) Bus *host_bus, Tick pio_latency, HierParams *hier)
: PciDev(name, mmu, cf, cd, bus_num, dev_num, func_num), tsunami(t) : PciDev(name, mmu, cf, cd, bus_num, dev_num, func_num), tsunami(t)
{ {
// put back pointer into Tsunami
tsunami->disk_controller = this;
// initialize the PIO interface addresses // initialize the PIO interface addresses
pri_cmd_addr = 0; pri_cmd_addr = 0;
pri_cmd_size = BARSize[0]; pri_cmd_size = BARSize[0];

View file

@ -119,8 +119,6 @@ NSGigE::NSGigE(const std::string &name, IntrControl *i, Tick intr_delay,
physmem(pmem), intctrl(i), intrTick(0), cpuPendingIntr(false), physmem(pmem), intctrl(i), intrTick(0), cpuPendingIntr(false),
intrEvent(0), interface(0) intrEvent(0), interface(0)
{ {
tsunami->ethernet = this;
if (header_bus) { if (header_bus) {
pioInterface = newPioInterface(name, hier, header_bus, this, pioInterface = newPioInterface(name, hier, header_bus, this,
&NSGigE::cacheAccess); &NSGigE::cacheAccess);

View file

@ -62,12 +62,9 @@ class Tsunami : public Platform
/** Pointer to the system */ /** Pointer to the system */
System *system; System *system;
/** Pointer to the TsunamiIO device which has the RTC */ /** Pointer to the TsunamiIO device which has the RTC */
TsunamiIO *io; TsunamiIO *io;
/** Pointer to the disk controller device */
IdeController *disk_controller;
/** Pointer to the ethernet controller device */
NSGigE *ethernet;
/** Pointer to the Tsunami CChip. /** Pointer to the Tsunami CChip.
* The chip contains some configuration information and * The chip contains some configuration information and