40,42c40,47
< if build_env['FULL_SYSTEM']:
< if build_env['TARGET_ISA'] == 'alpha':
< from AlphaTLB import AlphaDTB, AlphaITB
---
> if build_env['TARGET_ISA'] == 'alpha':
> from AlphaTLB import AlphaDTB, AlphaITB
> elif build_env['TARGET_ISA'] == 'sparc':
> from SparcTLB import SparcDTB, SparcITB
> elif build_env['TARGET_ISA'] == 'x86':
> from X86TLB import X86DTB, X86ITB
> elif build_env['TARGET_ISA'] == 'mips':
> from MipsTLB import MipsDTB, MipsITB
44,46d48
< if build_env['TARGET_ISA'] == 'sparc':
< from SparcTLB import SparcDTB, SparcITB
<
60,69d61
<
< if build_env['TARGET_ISA'] == 'sparc':
< dtb = Param.SparcDTB(SparcDTB(), "Data TLB")
< itb = Param.SparcITB(SparcITB(), "Instruction TLB")
< elif build_env['TARGET_ISA'] == 'alpha':
< dtb = Param.AlphaDTB(AlphaDTB(), "Data TLB")
< itb = Param.AlphaITB(AlphaITB(), "Instruction TLB")
< else:
< print "Unknown architecture, can't pick TLBs"
< sys.exit(1)
72a65,81
> if build_env['TARGET_ISA'] == 'sparc':
> dtb = Param.SparcDTB(SparcDTB(), "Data TLB")
> itb = Param.SparcITB(SparcITB(), "Instruction TLB")
> elif build_env['TARGET_ISA'] == 'alpha':
> dtb = Param.AlphaDTB(AlphaDTB(), "Data TLB")
> itb = Param.AlphaITB(AlphaITB(), "Instruction TLB")
> elif build_env['TARGET_ISA'] == 'x86':
> dtb = Param.X86DTB(X86DTB(), "Data TLB")
> itb = Param.X86ITB(X86ITB(), "Instruction TLB")
> elif build_env['TARGET_ISA'] == 'mips':
> dtb = Param.MipsDTB(MipsDTB(), "Data TLB")
> itb = Param.MipsITB(MipsITB(), "Instruction TLB")
> else:
> print "Don't know what TLB to use for ISA %s" % \
> build_env['TARGET_ISA']
> sys.exit(1)
>