Files
opensbi/lib/sbi
Anup Patel 87a7ef7659 lib: sbi_scratch: Introduce HART id to scratch table
Instead of calling hartid_to_scratch() callback every time when
we want sbi_scratch pointer from HART id, we create a table of
sbi_scratch pointers and use that to get sbi_scratch pointer.

As a result of HART id to scratch table, the conversion of
HART id to sbi_scratch pointer is just 2-3 instructions which
was 9 instructions previously.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2020-03-19 09:02:23 +05:30
..
2020-03-11 15:29:45 +05:30
2020-03-11 15:29:45 +05:30
2020-03-10 10:27:28 +05:30
2019-08-09 12:38:33 +05:30
2020-03-10 10:27:28 +05:30
2020-01-07 12:10:55 +05:30