aboutsummaryrefslogtreecommitdiff
path: root/include/hw/mem/sparse-mem.h
blob: f9863b154b71830b116e897c209e94a272681732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * A sparse memory device. Useful for fuzzing
 *
 * Copyright Red Hat Inc., 2021
 *
 * Authors:
 *  Alexander Bulekov   <alxndr@bu.edu>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#ifndef SPARSE_MEM_H
#define SPARSE_MEM_H
#define TYPE_SPARSE_MEM "sparse-mem"

MemoryRegion *sparse_mem_init(uint64_t addr, uint64_t length);

#endif