summaryrefslogtreecommitdiff
path: root/src/dev/ps2.cc
diff options
context:
space:
mode:
authorMatt Evans <matt.evans@arm.com>2014-05-09 18:58:46 -0400
committerMatt Evans <matt.evans@arm.com>2014-05-09 18:58:46 -0400
commit73dc89e54283e46cee17ca2ae41867aac05b95e9 (patch)
treecb42ee162ea9972961fdc7f7e9fb237d2d2a473b /src/dev/ps2.cc
parent636afeaa777f7b67deb4d977bc8d010c5b89faa3 (diff)
downloadgem5-73dc89e54283e46cee17ca2ae41867aac05b95e9.tar.xz
arm: quick hack to allow a greater number of CPUs to a guest OS
This is a quick hack to communicate a greater number of CPUs to a guest OS via the ARM A9 SCU config register. Some OSes (Linux) just look at the bottom field to count CPUs and with a small change can look at bits [3:0] to learn about up to 16 CPUs. Very much unsupported (and contains warning messages as such) but useful for running 8 core sims without hardwiring CPU count in the guest OS.
Diffstat (limited to 'src/dev/ps2.cc')
0 files changed, 0 insertions, 0 deletions