"target/foo/cpu.h" contains the target specific declarations.
A heterogeneous setup need to access target agnostic declarations
(at least the QOM ones, to instantiate the objects).
Our convention is to add such target agnostic QOM declarations in
the "target/foo/cpu-qom.h" header.
Extract QOM definitions from "cpu.h" to "cpu-qom.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/nios2/cpu-qom.h | 19 +++++++++++++++++++
target/nios2/cpu.h | 7 +------
2 files changed, 20 insertions(+), 6 deletions(-)
create mode 100644 target/nios2/cpu-qom.h