Add in HasData, and move the define of NUM_MEM_CMDS to a more visible location.
Add in HasData, and move the define of NUM_MEM_CMDS to a more visible location.

--HG--
extra : convert_revision : 4379efe892ca0a39363ee04009e1bbb8c8f77afa

aclifton/cpeg853-gem5,yb-kim/gemV,sobercoder/gem5,yb-kim/gemV,gedare/gem5,briancoutinho0905/2dsampling,Weil0ng/gem5,gem5/gem5,SanchayanMaity/gem5,TUD-OS/gem5-dtu,cancro7/gem5,samueldotj/TeeRISC-Simulator,gedare/gem5,sobercoder/gem5,qizenguf/MLC-STT,austinharris/gem5-riscv,HwisooSo/gemV-update,powerjg/gem5-ci-test,cancro7/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,TUD-OS/gem5-dtu,gedare/gem5,KuroeKurose/gem5,rjschof/gem5,kaiyuanl/gem5,rallylee/gem5,sobercoder/gem5,rjschof/gem5,austinharris/gem5-riscv,rjschof/gem5,qizenguf/MLC-STT,qizenguf/MLC-STT,rallylee/gem5,joerocklin/gem5,aclifton/cpeg853-gem5,samueldotj/TeeRISC-Simulator,markoshorro/gem5,rallylee/gem5,qizenguf/MLC-STT,gedare/gem5,SanchayanMaity/gem5,qizenguf/MLC-STT,KuroeKurose/gem5,briancoutinho0905/2dsampling,zlfben/gem5,HwisooSo/gemV-update,gedare/gem5,Weil0ng/gem5,gedare/gem5,yb-kim/gemV,zlfben/gem5,qizenguf/MLC-STT,joerocklin/gem5,SanchayanMaity/gem5,KuroeKurose/gem5,rallylee/gem5,cancro7/gem5,yb-kim/gemV,cancro7/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,briancoutinho0905/2dsampling,gem5/gem5,rjschof/gem5,KuroeKurose/gem5,samueldotj/TeeRISC-Simulator,austinharris/gem5-riscv,TUD-OS/gem5-dtu,yb-kim/gemV,rallylee/gem5,gem5/gem5,markoshorro/gem5,rjschof/gem5,zlfben/gem5,yb-kim/gemV,markoshorro/gem5,samueldotj/TeeRISC-Simulator,aclifton/cpeg853-gem5,HwisooSo/gemV-update,aclifton/cpeg853-gem5,HwisooSo/gemV-update,markoshorro/gem5,zlfben/gem5,briancoutinho0905/2dsampling,kaiyuanl/gem5,gem5/gem5,cancro7/gem5,zlfben/gem5,yb-kim/gemV,SanchayanMaity/gem5,gem5/gem5,rjschof/gem5,KuroeKurose/gem5,briancoutinho0905/2dsampling,SanchayanMaity/gem5,gem5/gem5,kaiyuanl/gem5,kaiyuanl/gem5,aclifton/cpeg853-gem5,sobercoder/gem5,SanchayanMaity/gem5,Weil0ng/gem5,joerocklin/gem5,TUD-OS/gem5-dtu,Weil0ng/gem5,markoshorro/gem5,zlfben/gem5,yb-kim/gemV,powerjg/gem5-ci-test,Weil0ng/gem5,joerocklin/gem5,rallylee/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,qizenguf/MLC-STT,TUD-OS/gem5-dtu,kaiyuanl/gem5,sobercoder/gem5,samueldotj/TeeRISC-Simulator,joerocklin/gem5,samueldotj/TeeRISC-Simulator,briancoutinho0905/2dsampling,Weil0ng/gem5,TUD-OS/gem5-dtu,Weil0ng/gem5,austinharris/gem5-riscv,gem5/gem5,TUD-OS/gem5-dtu,samueldotj/TeeRISC-Simulator,markoshorro/gem5,kaiyuanl/gem5,austinharris/gem5-riscv,KuroeKurose/gem5,HwisooSo/gemV-update,rjschof/gem5,SanchayanMaity/gem5,briancoutinho0905/2dsampling,markoshorro/gem5,austinharris/gem5-riscv,gedare/gem5,joerocklin/gem5,austinharris/gem5-riscv,HwisooSo/gemV-update,HwisooSo/gemV-update,joerocklin/gem5,cancro7/gem5,zlfben/gem5,sobercoder/gem5,sobercoder/gem5,kaiyuanl/gem5,aclifton/cpeg853-gem5,rallylee/gem5,joerocklin/gem5,cancro7/gem5,aclifton/cpeg853-gem5