zephyr/tests/kernel/mem_slab/mslab_api/src/test_mslab.h
Nicolas Pitre 1f35774407 memslab/mempool: make tests 64-bit compatible
Minimum block size is 2x larger on 64-bit systems, so let's simply
double all size params. This won't change the validity of those tests
on 32-bit systems. Alignment tests are also adjusted for wider pointers.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-06-11 09:38:06 -07:00

18 lines
293 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
extern void tmslab_alloc_free(void *data);
#endif /*__TEST_MSLAB_H__*/