diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-02-21 03:38:21 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-02-21 03:38:21 -0500 |
commit | 3f7979c99d8dc4f434e3daa2e179616f1669e16e (patch) | |
tree | 85d426effe10c1b34a3f434417213231a4aac528 /kern/linux | |
parent | 74d7cd1ceadd8ba803bbb83750e11a3c488d3fe1 (diff) | |
download | gem5-3f7979c99d8dc4f434e3daa2e179616f1669e16e.tar.xz |
Made Addr a global type
--HG--
extra : convert_revision : 869bd9fa5d8591115ac9b4a7401eb2490986b835
Diffstat (limited to 'kern/linux')
-rw-r--r-- | kern/linux/aligned.hh | 2 | ||||
-rw-r--r-- | kern/linux/linux.hh | 3 | ||||
-rw-r--r-- | kern/linux/linux_threadinfo.hh | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/kern/linux/aligned.hh b/kern/linux/aligned.hh index 137f65076..18d1b43c0 100644 --- a/kern/linux/aligned.hh +++ b/kern/linux/aligned.hh @@ -37,7 +37,7 @@ #if __GNUC__ == 3 && __GNUC_MINOR__ != 3 typedef uint64_t uint64_ta __attribute__ ((aligned (8))) ; typedef int64_t int64_ta __attribute__ ((aligned (8))) ; -typedef TheISA::Addr Addr_a __attribute__ ((aligned (8))) ; +typedef Addr Addr_a __attribute__ ((aligned (8))) ; #else #define uint64_ta uint64_t __attribute__ ((aligned (8))) #define int64_ta int64_t __attribute__ ((aligned (8))) diff --git a/kern/linux/linux.hh b/kern/linux/linux.hh index bac6d6a7d..0dbccf546 100644 --- a/kern/linux/linux.hh +++ b/kern/linux/linux.hh @@ -53,9 +53,6 @@ class Linux {}; /// class Linux { - protected: - typedef TheISA::Addr Addr; - public: //@{ diff --git a/kern/linux/linux_threadinfo.hh b/kern/linux/linux_threadinfo.hh index f20188360..a1c378d6a 100644 --- a/kern/linux/linux_threadinfo.hh +++ b/kern/linux/linux_threadinfo.hh @@ -37,8 +37,6 @@ namespace Linux { class ThreadInfo { - protected: - typedef TheISA::Addr Addr; private: ExecContext *xc; |