AbstractEntry.cc (7039:bc0b6ea676b5) AbstractEntry.cc (8086:bf0335d98250)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 16 unchanged lines hidden (view full) ---

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "mem/ruby/slicc_interface/AbstractEntry.hh"
30
31AbstractEntry::AbstractEntry()
32{
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 16 unchanged lines hidden (view full) ---

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "mem/ruby/slicc_interface/AbstractEntry.hh"
30
31AbstractEntry::AbstractEntry()
32{
33 m_Permission = AccessPermission_NotPresent;
33}
34
35AbstractEntry::~AbstractEntry()
36{
37}
34}
35
36AbstractEntry::~AbstractEntry()
37{
38}
39
40AccessPermission
41AbstractEntry::getPermission() const
42{
43 return m_Permission;
44}
45
46void
47AbstractEntry::changePermission(AccessPermission new_perm)
48{
49 m_Permission = new_perm;
50}