forked from Imagelibrary/seL4
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user