summaryrefslogtreecommitdiff
path: root/lib/utils/timer/fdt_timer_mtimer.c
diff options
context:
space:
mode:
authorGregor Haas <[email protected]>2024-08-08 20:16:37 -0700
committerAnup Patel <[email protected]>2024-08-09 08:51:26 +0530
commitcda001479555e08dfb8d952093fa843021a39930 (patch)
treece705511bccf466f1f0aba0c982ea68c386e4cae /lib/utils/timer/fdt_timer_mtimer.c
parent8b898c4e50d841d5d84d7d3f8240a35e78d25fb8 (diff)
lib: sbi: Allocate from beginning of heap blocks
In the next commit, we'll add a new sbi_memalign() function. In order to allocate aligned memory, we'll sometimes need to allocate from the middle of a heap block, effectively splitting it in two. Allocating from the beginning of a heap block in the nonaligned case more closely matches this behavior, reducing the complexity of understanding the heap implementation. Signed-off-by: Gregor Haas <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions