alphasystem.py
来自「M5,一个功能强大的多处理器系统模拟器.很多针对处理器架构,性能的研究都使用它作」· Python 代码 · 共 25 行
PY
25 行
from m5.params import *from System import Systemclass AlphaSystem(System): type = 'AlphaSystem' console = Param.String("file that contains the console code") pal = Param.String("file that contains palcode") system_type = Param.UInt64("Type of system we are emulating") system_rev = Param.UInt64("Revision of system we are emulating")class LinuxAlphaSystem(AlphaSystem): type = 'LinuxAlphaSystem' system_type = 34 system_rev = 1 << 10class FreebsdAlphaSystem(AlphaSystem): type = 'FreebsdAlphaSystem' system_type = 34 system_rev = 1 << 10class Tru64AlphaSystem(AlphaSystem): type = 'Tru64AlphaSystem' system_type = 12 system_rev = 2<<1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?