Please pull few more patches. Most of the patches are simple fixes
or enhancements. The major change is about mgen selftest. I saw many
functions are re-defined in mgen.c which are already defined for
numatop binary. Reuse all those functions instead of redefining them.
To make mgen reuse those functions, Makefile needs to be changed for
dependencies and this needs the change in approach of how selftest
gets compiled. Currently, we compile the selftest by 'cd test/mgen/'
and run 'make' there. This method won't work now. Instead, use
'make test' from numatop home directory to build the selftest.
Running 'make numatop' will build numatop binary and runing 'make'
or 'make all' will build both numatop and mgen.
Finally, one patch ports mgen selftest on powerpc.
The last patch adds "IBM" name for powerpc wherever "Intel" is used
for intel cpus.
Hi Jin,
Please pull few more patches. Most of the patches are simple fixes or enhancements. The major change is about mgen selftest. I saw many functions are re-defined in mgen.c which are already defined for numatop binary. Reuse all those functions instead of redefining them.
To make mgen reuse those functions, Makefile needs to be changed for dependencies and this needs the change in approach of how selftest gets compiled. Currently, we compile the selftest by 'cd test/mgen/' and run 'make' there. This method won't work now. Instead, use 'make test' from numatop home directory to build the selftest. Running 'make numatop' will build numatop binary and runing 'make' or 'make all' will build both numatop and mgen.
Finally, one patch ports mgen selftest on powerpc.
The last patch adds "IBM" name for powerpc wherever "Intel" is used for intel cpus.
Regards, Ravi