ArmTLB.py (10717:4f8c1bd6fdb8) ArmTLB.py (12005:f4b9607db0af)
1# -*- mode:python -*-
2
3# Copyright (c) 2009, 2013, 2015 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

58 port = MasterPort("Port used by the two table walkers")
59
60 sys = Param.System(Parent.any, "system object parameter")
61
62class ArmTLB(SimObject):
63 type = 'ArmTLB'
64 cxx_class = 'ArmISA::TLB'
65 cxx_header = "arch/arm/tlb.hh"
1# -*- mode:python -*-
2
3# Copyright (c) 2009, 2013, 2015 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

58 port = MasterPort("Port used by the two table walkers")
59
60 sys = Param.System(Parent.any, "system object parameter")
61
62class ArmTLB(SimObject):
63 type = 'ArmTLB'
64 cxx_class = 'ArmISA::TLB'
65 cxx_header = "arch/arm/tlb.hh"
66 sys = Param.System(Parent.any, "system object parameter")
66 size = Param.Int(64, "TLB size")
67 walker = Param.ArmTableWalker(ArmTableWalker(), "HW Table walker")
68 is_stage2 = Param.Bool(False, "Is this a stage 2 TLB?")
69
70# Stage 2 translation objects, only used when virtualisation is being used
71class ArmStage2TableWalker(ArmTableWalker):
72 is_stage2 = True
73

--- 25 unchanged lines hidden ---
67 size = Param.Int(64, "TLB size")
68 walker = Param.ArmTableWalker(ArmTableWalker(), "HW Table walker")
69 is_stage2 = Param.Bool(False, "Is this a stage 2 TLB?")
70
71# Stage 2 translation objects, only used when virtualisation is being used
72class ArmStage2TableWalker(ArmTableWalker):
73 is_stage2 = True
74

--- 25 unchanged lines hidden ---