25 void *addr = kmalloc(4096);
33 int pushed_1[10] = { 12345, 54321, 67890, 98765, 43210, 56789, 1234, 54321, 67890, 98765 };
35 stack_push(&stack, pushed_1,
sizeof(pushed_1));
40 int pushed_2[10] = { 4444, 5555, 6666, 7777, 8888, 9999, 10101, 11011, 12012, 13013 };
41 stack_push(&stack, pushed_2,
sizeof(pushed_2));
MOSAPI void stack_deinit(downwards_stack_t *stack)
MOSAPI void stack_init(downwards_stack_t *stack, void *mem_region_bottom, size_t size)
MOSAPI void stack_pop(downwards_stack_t *stack, size_t size, void *data)
MOSAPI void * stack_push(downwards_stack_t *stack, const void *data, size_t size)
static void stack_init_deinit(mos_test_result_t *, bool *, bool *)
static void stack_push_pop_stack(mos_test_result_t *, bool *, bool *)
#define MOS_TEST_CHECK(actual, expected)
#define MOS_TEST_CASE(_TestName)