Files
gem5/configs/learning_gem5
Bobby R. Bruce 569e21f798 configs,stdlib,tests: Remove get_runtime_isa() (#241)
`get_runtime_isa()` has been deprecated for some time. It is a leftover
piece of code from when gem5 was compiled to a single ISA and that ISA
used to configure the simulated system to use that ISA. Since multi-ISA
compilations are possible, `get_runtime_isa()` should not be used.
Unless the gem5 binary is compiled to a single ISA, a failure will
occur.

The new proceedure for specify which ISA to use is by the setting of the
correct `BaseCPU` implementation. E.g., `X86SimpleTimingCPU` of
`ArmO3CPU`.

This patch removes the remaining `get_runtime_isa()` instances and
removes the function itself. The `SimpleCore` class has been updated to
allow for it's CPU factory to return a class, needed by scripts in
"configs/common".

The deprecated functionality in the standard library, which allowed for
the specifying of an ISA when setting up a processor and/or core has
also been removed. Setting an ISA is now manditory.

Fixes #216.
2023-12-04 09:53:35 -08:00
..

Learning_gem README
-------------------
This directory contains the configuration scripts used in the "Learning gem5"
book. The scripts contained in these directories are for educational purposes
only and should not be used for architectural research as-is.

"Learning gem5" is a work-in-progress book that is frequently updated. For the
most up-to-date version of the book, see the website.

http://gem5.org/documentation/learning_gem5/introduction

This directory is broken into one subdirectory per part of the book.

If you would like to contribute (please do!) the code for the Learning gem5 book
is hosted on GitHub.

https://github.com/powerjg/learning_gem5

Goals of these scripts
~~~~~~~~~~~~~~~~~~~~~~
These scripts are not necessarily useful outside the scope of the Learning
gem5 book. The goal is to include the learning gem5 scripts, following the
book as closely as possible, so that the regression tester will catch any
changes that affect the book.

For general users, these are *not* good scripts to use for running complex
architectural experiments. These scripts *are* a good starting point example
of how to write your own scripts for experiments.

Feedback
~~~~~~~~
Send mail to jason@lowepower.com to provide feedback.