memblock tests: Add skeleton of the memblock simulator
authorKarolina Drobnik <karolinadrobnik@gmail.com>
Wed, 2 Feb 2022 11:03:09 +0000 (12:03 +0100)
committerMike Rapoport <rppt@linux.ibm.com>
Sun, 20 Feb 2022 06:44:37 +0000 (08:44 +0200)
commit16802e55dea9534c18a30bd8eeefea8a06337916
tree3baa119284c22435f524bf65c86e0ef00968dae0
parent62183279ad2f52d36b40365eb3a27c7a4a2284f8
memblock tests: Add skeleton of the memblock simulator

Add basic project files, together with local stubs of required headers.
Update tools/include/slab.h to include definitions used by memblock.

Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/d296fceb023a04b316a31fbff9acf1e76ac684e4.1643796665.git.karolinadrobnik@gmail.com
16 files changed:
MAINTAINERS
tools/include/linux/slab.h
tools/testing/memblock/.gitignore [new file with mode: 0644]
tools/testing/memblock/Makefile [new file with mode: 0644]
tools/testing/memblock/asm/dma.h [new file with mode: 0644]
tools/testing/memblock/internal.h [new file with mode: 0644]
tools/testing/memblock/lib/slab.c [new file with mode: 0644]
tools/testing/memblock/linux/init.h [new file with mode: 0644]
tools/testing/memblock/linux/kernel.h [new file with mode: 0644]
tools/testing/memblock/linux/kmemleak.h [new file with mode: 0644]
tools/testing/memblock/linux/memory_hotplug.h [new file with mode: 0644]
tools/testing/memblock/linux/mmzone.h [new file with mode: 0644]
tools/testing/memblock/linux/printk.h [new file with mode: 0644]
tools/testing/memblock/main.c [new file with mode: 0644]
tools/testing/memblock/mmzone.c [new file with mode: 0644]
tools/testing/memblock/scripts/Makefile.include [new file with mode: 0644]