]>
Commit | Line | Data |
---|---|---|
b9bc6169 RZ |
1 | /* |
2 | * Copyright (c) 2018-2019 Maxime Villard, All rights reserved. | |
3 | * | |
4 | * NetBSD Virtual Machine Monitor (NVMM) accelerator support. | |
5 | * | |
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 | */ | |
9 | ||
69700301 PMD |
10 | /* header to be included in non-NVMM-specific code */ |
11 | ||
b9bc6169 RZ |
12 | #ifndef QEMU_NVMM_H |
13 | #define QEMU_NVMM_H | |
14 | ||
5fd0711b | 15 | #ifdef NEED_CPU_H |
b9bc6169 RZ |
16 | |
17 | #ifdef CONFIG_NVMM | |
18 | ||
19 | int nvmm_enabled(void); | |
20 | ||
21 | #else /* CONFIG_NVMM */ | |
22 | ||
23 | #define nvmm_enabled() (0) | |
24 | ||
25 | #endif /* CONFIG_NVMM */ | |
26 | ||
5fd0711b RZ |
27 | #endif /* NEED_CPU_H */ |
28 | ||
29 | #endif /* QEMU_NVMM_H */ |