Architecture changes (only gem5 implementation right now):
- The register manager is gone. It's functionality is now encapsulated in the CPU classes. - For the client, there is the ConcreteCPU class that encapsulates the access to the CPU state (including registers) and architecture details. The correspondig objects for the CPUs inside the simulator can be accessed through the SimulatorController.getCPU() function. - Listener got a new ConcreteCPU* member to filter for which CPU the events should fire. The default NULL is used as wildcard for all aviable CPUs. The events respectively got a ConcreteCPU* member to indicate which CPU really fired the event. - For the server, there is CPUArchitecture to access the architecture details. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1966 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- CMakeLists.txt 3 additions, 0 deletionsCMakeLists.txt
- simulators/gem5/src/cpu/simple/atomic.cc 20 additions, 0 deletionssimulators/gem5/src/cpu/simple/atomic.cc
- simulators/gem5/src/mem/abstract_mem.cc 0 additions, 8 deletionssimulators/gem5/src/mem/abstract_mem.cc
- src/core/config/VariantConfig.hpp.in 3 additions, 0 deletionssrc/core/config/VariantConfig.hpp.in
- src/core/sal/CMakeLists.txt 25 additions, 0 deletionssrc/core/sal/CMakeLists.txt
- src/core/sal/CPU.cc 43 additions, 0 deletionssrc/core/sal/CPU.cc
- src/core/sal/CPU.hpp 69 additions, 0 deletionssrc/core/sal/CPU.hpp
- src/core/sal/CPUState.cc 47 additions, 0 deletionssrc/core/sal/CPUState.cc
- src/core/sal/CPUState.hpp 70 additions, 0 deletionssrc/core/sal/CPUState.hpp
- src/core/sal/ConcreteCPU.hpp 20 additions, 0 deletionssrc/core/sal/ConcreteCPU.hpp
- src/core/sal/Event.hpp 36 additions, 15 deletionssrc/core/sal/Event.hpp
- src/core/sal/Listener.cc 14 additions, 5 deletionssrc/core/sal/Listener.cc
- src/core/sal/Listener.hpp 89 additions, 28 deletionssrc/core/sal/Listener.hpp
- src/core/sal/Register.cc 0 additions, 48 deletionssrc/core/sal/Register.cc
- src/core/sal/Register.hpp 3 additions, 111 deletionssrc/core/sal/Register.hpp
- src/core/sal/SimulatorController.cc 27 additions, 50 deletionssrc/core/sal/SimulatorController.cc
- src/core/sal/SimulatorController.hpp 32 additions, 41 deletionssrc/core/sal/SimulatorController.hpp
- src/core/sal/arm/arch.cc 32 additions, 0 deletionssrc/core/sal/arm/arch.cc
- src/core/sal/arm/arch.hpp 87 additions, 0 deletionssrc/core/sal/arm/arch.hpp
Loading
Please register or sign in to comment