Skip to content

Commit 64048da

Browse files
author
Jyri Sarha
committed
testbench: library: Prepare for rmalloc_align() usage
Prepare for rmalloc_align() usage. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent b0d7c9c commit 64048da

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/platform/library/lib/alloc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717
/* testbench mem alloc definition */
1818

19+
void *rmalloc_align(uint32_t flags, size_t bytes, uint32_t alignment)
20+
{
21+
return malloc(bytes);
22+
}
23+
1924
void *rmalloc(uint32_t flags, size_t bytes)
2025
{
2126
return malloc(bytes);

0 commit comments

Comments
 (0)