Files
u-boot/net
Sughosh Ganu ed17a33fed lmb: make LMB memory map persistent and global
The current LMB API's for allocating and reserving memory use a
per-caller based memory view. Memory allocated by a caller can then be
overwritten by another caller. Make these allocations and reservations
persistent using the alloced list data structure.

Two alloced lists are declared -- one for the available(free) memory,
and one for the used memory. Once full, the list can then be extended
at runtime.

[sjg: Use a stack to store pointer of lmb struct when running lmb tests]

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
[sjg: Optimise the logic to add a region in lmb_add_region_flags()]
2024-09-03 14:08:50 -06:00
..
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2023-06-14 15:48:45 -04:00
2024-07-15 12:12:18 -06:00
2023-12-21 08:54:37 -05:00
2024-05-05 11:21:39 -03:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00