lib: Introduce sbi_ipi_event_create/destroy() APIs
authorAnup Patel <anup.patel@wdc.com>
Wed, 15 Jan 2020 07:14:10 +0000 (12:44 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 22 Jan 2020 06:40:44 +0000 (12:10 +0530)
commit5f762d14f0473dec97ee248e53d29b78be8a833e
tree99d779e04a7be17dd538d67fcd13fc315c8b603b
parenta8b4b83b7fef84b0491f5a897651a30f98d75a9a
lib: Introduce sbi_ipi_event_create/destroy() APIs

This patch introduces sbi_ipi_event_create/destroy() APIs and
struct sbi_ipi_event_ops for creating/destroying IPI events
at runtime based of event operations.

This new APIs will help platform code and utils code to create
custom IPI events which are not part of generic OpenSBI library.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_ipi.h
include/sbi/sbi_tlb.h
lib/sbi/sbi_ipi.c
lib/sbi/sbi_tlb.c