arm: plat_SGITargetValid for non-GIC platforms

Provide an implementation of the header function plat_SGITargetValid
even for non-GIC platforms. This function will not be called, but
verification has a general lemma about it, and the default
implementation makes that lemma true without adding special cases.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein
2025-08-19 10:52:19 +01:00
parent 5e08006c48
commit 40c4ad5112
3 changed files with 18 additions and 0 deletions

View File

@@ -124,3 +124,9 @@ static inline void plat_sendSGI(word_t irq, word_t target)
/* Unreachable; not supported on this platform. */
halt();
}
static inline bool_t plat_SGITargetValid(word_t target)
{
/* no SGIs on this platform */
return false;
}

View File

@@ -149,3 +149,9 @@ static inline void plat_sendSGI(word_t irq, word_t target)
/* Unreachable; not supported on this platform. */
halt();
}
static inline bool_t plat_SGITargetValid(word_t target)
{
/* no SGIs on this platform */
return false;
}

View File

@@ -110,3 +110,9 @@ static inline void plat_sendSGI(word_t irq, word_t target)
/* Unreachable; not supported on this platform. */
halt();
}
static inline bool_t plat_SGITargetValid(word_t target)
{
/* no SGIs on this platform */
return false;
}