tools/power/x86/intel-speed-select: Introduce isst-core-mbox.c
authorZhang Rui <rui.zhang@intel.com>
Sat, 20 Aug 2022 10:59:54 +0000 (18:59 +0800)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 22 Mar 2023 20:36:49 +0000 (13:36 -0700)
commitd0d1a603c5fea39ada5d3c48f8b7273a2109af07
tree8b590dfdd850f72c8a406fe9bf75c89b74ee192e
parente9f79348aedbd1a262bdac0f9e8b104590a30cc0
tools/power/x86/intel-speed-select: Introduce isst-core-mbox.c

isst-core.c should contain generic core APIs only.
Platform specific implementations/configurations should be removed from
this file.

Introduce isst-core-mbox.c and move all mbox/mmio specific functions to
this file.

Introduce struct isst_platform_ops which contains a series of callbacks
that used by the core APIs but need platform specific implementation.

No functional changes are expected.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: changelog edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/Build
tools/power/x86/intel-speed-select/isst-config.c
tools/power/x86/intel-speed-select/isst-core-mbox.c [new file with mode: 0644]
tools/power/x86/intel-speed-select/isst-core.c
tools/power/x86/intel-speed-select/isst.h