diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-08-02 14:34:58 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-08-02 14:34:58 -0400 |
commit | acb91c2dfa19dadc4549b2e0fced42b2a8bce34f (patch) | |
tree | b584e40b3c0ac0ee99086890974251e287c1f991 /src/arch/alpha/linux | |
parent | 970261f9ceeded02162760365ce08c8d1fd4b506 (diff) | |
download | gem5-acb91c2dfa19dadc4549b2e0fced42b2a8bce34f.tar.xz |
Linux Support: make sure that when we get the stack page for thread info we're doing a 64bit not
--HG--
extra : convert_revision : c581921dd601fc72fd2d45b961c7440755b0331c
Diffstat (limited to 'src/arch/alpha/linux')
-rw-r--r-- | src/arch/alpha/linux/threadinfo.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/alpha/linux/threadinfo.hh b/src/arch/alpha/linux/threadinfo.hh index caeb69f15..b9ffe02ae 100644 --- a/src/arch/alpha/linux/threadinfo.hh +++ b/src/arch/alpha/linux/threadinfo.hh @@ -57,7 +57,7 @@ class ThreadInfo * thread_info struct. So we can get the address by masking off * the lower 14 bits. */ - current = tc->readIntReg(TheISA::StackPointerReg) & ~0x3fff; + current = tc->readIntReg(TheISA::StackPointerReg) & ~ULL(0x3fff); return VPtr<thread_info>(tc, current); } |