projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tag each mem_req as coming from the nic if it is DMA'd from the NIC. the NIC tells...
[gem5.git]
/
dev
/
tsunami.hh
diff --git
a/dev/tsunami.hh
b/dev/tsunami.hh
index f619e4cff68fcab961f69242bb0711799310fa80..db266d62d271a184607fa9f7fc3f7958370150b1 100644
(file)
--- a/
dev/tsunami.hh
+++ b/
dev/tsunami.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 200
3
The Regents of The University of Michigan
+ * Copyright (c) 200
4
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-39,7
+39,7
@@
class IdeController;
class TlaserClock;
class IdeController;
class TlaserClock;
-class
EtherDev
;
+class
NSGigE
;
class TsunamiCChip;
class TsunamiPChip;
class TsunamiIO;
class TsunamiCChip;
class TsunamiPChip;
class TsunamiIO;
@@
-67,7
+67,7
@@
class Tsunami : public Platform
/** Pointer to the disk controller device */
IdeController *disk_controller;
/** Pointer to the ethernet controller device */
/** Pointer to the disk controller device */
IdeController *disk_controller;
/** Pointer to the ethernet controller device */
-
EtherDev
*ethernet;
+
NSGigE
*ethernet;
/** Pointer to the Tsunami CChip.
* The chip contains some configuration information and
/** Pointer to the Tsunami CChip.
* The chip contains some configuration information and
@@
-95,10
+95,33
@@
class Tsunami : public Platform
Tsunami(const std::string &name, System *s, IntrControl *intctrl,
PciConfigAll *pci, int intrFreq);
Tsunami(const std::string &name, System *s, IntrControl *intctrl,
PciConfigAll *pci, int intrFreq);
+ /**
+ * Return the interrupting frequency to AlphaAccess
+ * @return frequency of RTC interrupts
+ */
+ virtual Tick intrFrequency();
+
+ /**
+ * Cause the cpu to post a serial interrupt to the CPU.
+ */
virtual void postConsoleInt();
virtual void postConsoleInt();
+
+ /**
+ * Clear a posted CPU interrupt (id=55)
+ */
virtual void clearConsoleInt();
virtual void clearConsoleInt();
+ /**
+ * Serialize this object to the given output stream.
+ * @param os The stream to serialize to.
+ */
virtual void serialize(std::ostream &os);
virtual void serialize(std::ostream &os);
+
+ /**
+ * Reconstruct the state of this object from a checkpoint.
+ * @param cp The checkpoint use.
+ * @param section The section name of this object
+ */
virtual void unserialize(Checkpoint *cp, const std::string §ion);
};
virtual void unserialize(Checkpoint *cp, const std::string §ion);
};