lib: sbi: Introduce simple heap allocator
authorAnup Patel <apatel@ventanamicro.com>
Tue, 18 Apr 2023 13:08:21 +0000 (18:38 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:16:09 +0000 (15:46 +0530)
commit40d36a6673131e36075b1df78af4d7ab92e8cc01
tree41243bf53570e943d7f6cad5116674fe3ab33c5f
parent5cf9a540164a018a31a679578a27eb964af0340d
lib: sbi: Introduce simple heap allocator

We provide simple heap allocator to manage the heap space provided
by OpenSBI firmware and platform.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
include/sbi/sbi_heap.h [new file with mode: 0644]
lib/sbi/objects.mk
lib/sbi/sbi_heap.c [new file with mode: 0644]
lib/sbi/sbi_init.c