projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sort #includes
[gem5.git]
/
dev
/
tsunami.hh
diff --git
a/dev/tsunami.hh
b/dev/tsunami.hh
index c5dbe797b8a1dde8d149b88e32eb63e89b2b8f07..0a7fdbcd92ac2858eed20f61482ca7704c06dc4e 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
@@
-62,12
+62,9
@@
class Tsunami : public Platform
/** Pointer to the system */
System *system;
/** Pointer to the system */
System *system;
+
/** Pointer to the TsunamiIO device which has the RTC */
TsunamiIO *io;
/** Pointer to the TsunamiIO device which has the RTC */
TsunamiIO *io;
- /** Pointer to the disk controller device */
- IdeController *disk_controller;
- /** Pointer to the ethernet controller device */
- 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,6
+92,12
@@
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.
*/
/**
* Cause the cpu to post a serial interrupt to the CPU.
*/
@@
-106,6
+109,16
@@
class Tsunami : public Platform
virtual void clearConsoleInt();
/**
virtual void clearConsoleInt();
/**
+ * Cause the chipset to post a cpi interrupt to the CPU.
+ */
+ virtual void postPciInt(int line);
+
+ /**
+ * Clear a posted PCI->CPU interrupt
+ */
+ virtual void clearPciInt(int line);
+
+ /**
* Serialize this object to the given output stream.
* @param os The stream to serialize to.
*/
* Serialize this object to the given output stream.
* @param os The stream to serialize to.
*/