target/hexagon: Ensure not being build on system emulation

Currently only user emulation is supported.
Assert no target code is built for system emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Message-Id: <20250121142341.17001-2-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-01-21 14:33:33 +01:00
parent befd818b58
commit a770b10baf

View file

@ -26,6 +26,10 @@
#include "mmvec/mmvec.h"
#include "hw/registerfields.h"
#ifndef CONFIG_USER_ONLY
#error "Hexagon does not support system emulation"
#endif
#define NUM_PREGS 4
#define TOTAL_PER_THREAD_REGS 64