lib: sbi: Introduce sbi_entry_count() function
authorAnup Patel <apatel@ventanamicro.com>
Mon, 20 Mar 2023 13:22:02 +0000 (18:52 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Apr 2023 13:18:15 +0000 (18:48 +0530)
commitf64dfcd2b5e78e9eea3fe3fee58e0632b5f81b99
treecde9d6b14ce163b1cbee07f72802ac5ff37681de
parent73ab11dfb0bfaa2f7792cf10804c04c157dc2291
lib: sbi: Introduce sbi_entry_count() function

We introduce sbi_entry_count() function which counts the number
of times a HART enters OpenSBI via cold-boot or warm-boot path.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
include/sbi/sbi_init.h
lib/sbi/sbi_init.c