xref: /openbmc/qemu/include/hw/mem/sparse-mem.h (revision 587adaca)
1 /*
2  * A sparse memory device. Useful for fuzzing
3  *
4  * Copyright Red Hat Inc., 2021
5  *
6  * Authors:
7  *  Alexander Bulekov   <alxndr@bu.edu>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10  * See the COPYING file in the top-level directory.
11  */
12 
13 #ifndef SPARSE_MEM_H
14 #define SPARSE_MEM_H
15 #define TYPE_SPARSE_MEM "sparse-mem"
16 
17 MemoryRegion *sparse_mem_init(uint64_t addr, uint64_t length);
18 
19 #endif
20