avadhpatel / marss

PTLsim and QEMU based Computer Architecture Research Simulator
http://www.marss86.org
128 stars 63 forks source link

Build # of cores string with preprocessor #34

Closed dramninjasUMD closed 11 years ago

dramninjasUMD commented 11 years ago

This fixes commit df021d1922d65c4de811b65d9cbed22ebd51115c which was meant to put the number of cores string into the binary. However, the problem is that the string has to be built by the preprocessor (and not at runtime as it is now) or else it doesn't work as intended:

current version: $ strings qemu/qemu-system-x86_64 | grep cores simulated cores

this patch: $ strings qemu/qemu-system-x86_64 | grep cores // With 8 simulated cores