zephyr/tests/kernel/mem_slab/mslab_api/src/test_mslab.h
NingX Zhao b42c04deeb tests: kernel: mslab: move api the testcases to new API
Move mslab api testcases to new ZTEST api.

Signed-off-by: NingX Zhao <ningx.zhao@intel.com>
2022-08-15 08:22:21 +00:00

20 lines
381 B
C

/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __TEST_MSLAB_H__
#define __TEST_MSLAB_H__
#define TIMEOUT 2000
#define BLK_NUM 3
#define BLK_ALIGN 8
#define BLK_SIZE 16
#define STACKSIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE)
extern void tmslab_alloc_free(void *data);
extern void *mslab_setup(void);
#endif /*__TEST_MSLAB_H__*/