Merge tag 'mips-20221108' of https://github.com/philmd/qemu into staging
[qemu/ar7.git] / include / sysemu / nvmm.h
blob833670fccbe98d8b3dcce0a1d6edda9dbf014f71
1 /*
2 * Copyright (c) 2018-2019 Maxime Villard, All rights reserved.
4 * NetBSD Virtual Machine Monitor (NVMM) accelerator support.
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
10 #ifndef QEMU_NVMM_H
11 #define QEMU_NVMM_H
13 #ifdef NEED_CPU_H
15 #ifdef CONFIG_NVMM
17 int nvmm_enabled(void);
19 #else /* CONFIG_NVMM */
21 #define nvmm_enabled() (0)
23 #endif /* CONFIG_NVMM */
25 #endif /* NEED_CPU_H */
27 #endif /* QEMU_NVMM_H */