X86TLB.py (5124:3d8c50376609) | X86TLB.py (5236:0050ad4fb3ef) |
---|---|
1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 39 unchanged lines hidden (view full) --- 48# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 | 1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 39 unchanged lines hidden (view full) --- 48# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 |
56from m5.SimObject import SimObject | 56from MemObject import MemObject |
57from m5.params import * | 57from m5.params import * |
58class X86TLB(SimObject): | 58 59class X86TLB(MemObject): |
59 type = 'X86TLB' 60 abstract = True 61 size = Param.Int("TLB size") | 60 type = 'X86TLB' 61 abstract = True 62 size = Param.Int("TLB size") |
63 walker_port = Port("Port for the hardware table walker") 64 system = Param.System(Parent.any, "system object") |
|
62 63class X86DTB(X86TLB): 64 type = 'X86DTB' 65 cxx_namespace = 'X86ISA' 66 cxx_class = 'DTB' 67 68 size = 64 69 70class X86ITB(X86TLB): 71 type = 'X86ITB' 72 cxx_namespace = 'X86ISA' 73 cxx_class = 'ITB' 74 75 size = 64 | 65 66class X86DTB(X86TLB): 67 type = 'X86DTB' 68 cxx_namespace = 'X86ISA' 69 cxx_class = 'DTB' 70 71 size = 64 72 73class X86ITB(X86TLB): 74 type = 'X86ITB' 75 cxx_namespace = 'X86ISA' 76 cxx_class = 'ITB' 77 78 size = 64 |