]> git.proxmox.com Git - mirror_qemu.git/blob - include/qemu/reserved-region.h
util/uri: Remove uri_string_unescape()
[mirror_qemu.git] / include / qemu / reserved-region.h
1 /*
2 * QEMU ReservedRegion helpers
3 *
4 * Copyright (c) 2023 Red Hat, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef QEMU_RESERVED_REGION_H
21 #define QEMU_RESERVED_REGION_H
22
23 #include "exec/memory.h"
24
25 /*
26 * Insert a new region into a sorted list of reserved regions. In case
27 * there is overlap with existing regions, the new added region has
28 * higher priority and replaces the overlapped segment.
29 */
30 GList *resv_region_list_insert(GList *list, ReservedRegion *reg);
31
32 #endif