examples/power: change 64-bit masks to arrays
authorDavid Hunt <david.hunt@intel.com>
Fri, 14 Dec 2018 13:31:34 +0000 (13:31 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Dec 2018 21:24:32 +0000 (22:24 +0100)
commitfd73630e95c1e4c0e258217c009bbceba0b7a250
treec6c4795ec97f76e7624a347f0f46c5cbd52e7161
parent7a61fc5d1b09d59e5a814f234ab1165340fcf529
examples/power: change 64-bit masks to arrays

vm_power_manager currently makes use of uint64_t masks to keep track of
cores in use, limiting use of the app to only being able to manage the
first 64 cores in a multi-core system. Many modern systems have core
counts greater than 64, so this limitation needs to be removed.

This patch converts the relevant 64-bit masks to character arrays.

Signed-off-by: David Hunt <david.hunt@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
examples/vm_power_manager/channel_manager.c
examples/vm_power_manager/channel_manager.h
examples/vm_power_manager/vm_power_cli.c