On 27/2/26 21:36, Brian Cain wrote:
From: Brian Cain <[email protected]>

Co-authored-by: Taylor Simpson <[email protected]>
Co-authored-by: Sid Manning <[email protected]>
Co-authored-by: Michael Lambert <[email protected]>
Signed-off-by: Brian Cain <[email protected]>
---
  target/hexagon/cpu.h            |   1 +
  target/hexagon/hex_interrupts.h |  15 ++
  target/hexagon/cpu.c            |   2 +
  target/hexagon/hex_interrupts.c | 332 ++++++++++++++++++++++++++++++++
  4 files changed, 350 insertions(+)
  create mode 100644 target/hexagon/hex_interrupts.h
  create mode 100644 target/hexagon/hex_interrupts.c

diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
index 3f4f8516f2f..99150aae753 100644
--- a/target/hexagon/cpu.h
+++ b/target/hexagon/cpu.h
@@ -190,6 +190,7 @@ struct ArchCPU {
      bool short_circuit;
  #ifndef CONFIG_USER_ONLY
      struct HexagonTLBState *tlb;
+    uint32_t l2vic_base_addr;

This field is never used (nor in
https://github.com/quic/qemu/tree/bcain/sysemu_review).

      uint32_t htid;
  #endif
  };


diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
index 69b5c56b55f..a1ca4075472 100644
--- a/target/hexagon/cpu.c
+++ b/target/hexagon/cpu.c
@@ -61,6 +61,8 @@ static const Property hexagon_cpu_properties[] = {
  #if !defined(CONFIG_USER_ONLY)
      DEFINE_PROP_LINK("tlb", HexagonCPU, tlb, TYPE_HEXAGON_TLB,
                       HexagonTLBState *),
+    DEFINE_PROP_UINT32("l2vic-base-addr", HexagonCPU, l2vic_base_addr,
+        0xffffffff),
      DEFINE_PROP_UINT32("htid", HexagonCPU, htid, 0),
  #endif
      DEFINE_PROP_BOOL("lldb-compat", HexagonCPU, lldb_compat, false),


Reply via email to