summaryrefslogtreecommitdiff
path: root/src/cpu/exec_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-07-02 22:34:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-07-02 22:34:58 -0700
commit2e7426664a254688e7cf926b902cb8c535a106dd (patch)
treec40e2511fb778e55c866f96303678cef31d5a449 /src/cpu/exec_context.hh
parentaade13769fc6c666bb855e0745e042c82f9941d6 (diff)
downloadgem5-2e7426664a254688e7cf926b902cb8c535a106dd.tar.xz
ExecContext: Get rid of the now unused read/write templated functions.
Diffstat (limited to 'src/cpu/exec_context.hh')
-rw-r--r--src/cpu/exec_context.hh11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cpu/exec_context.hh b/src/cpu/exec_context.hh
index a8704851f..7b395808c 100644
--- a/src/cpu/exec_context.hh
+++ b/src/cpu/exec_context.hh
@@ -106,19 +106,8 @@ class ExecContext {
/** Returns a pointer to the ThreadContext. */
ThreadContext *tcBase();
- /** Reads an address, creating a memory request with the given
- * flags. Stores result of read in data. */
- template <class T>
- Fault read(Addr addr, T &data, unsigned flags);
-
Fault readBytes(Addr addr, uint8_t *data, unsigned size, unsigned flags);
- /** Writes to an address, creating a memory request with the given
- * flags. Writes data to memory. For store conditionals, returns
- * the result of the store in res. */
- template <class T>
- Fault write(T data, Addr addr, unsigned flags, uint64_t *res);
-
Fault writeBytes(uint8_t *data, unsigned size,
Addr addr, unsigned flags, uint64_t *res);