mshyperv.h (6523592cee4650c6aa997d69cd0045a01e07a1ef) mshyperv.h (753ed9c95c37d058e50e7d42bbe296ee0bf6670d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_MSHYPER_H
3#define _ASM_X86_MSHYPER_H
4
5#include <linux/types.h>
6#include <linux/nmi.h>
7#include <linux/msi.h>
8#include <asm/io.h>
9#include <asm/hyperv-tlfs.h>
10#include <asm/nospec-branch.h>
11#include <asm/paravirt.h>
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_MSHYPER_H
3#define _ASM_X86_MSHYPER_H
4
5#include <linux/types.h>
6#include <linux/nmi.h>
7#include <linux/msi.h>
8#include <asm/io.h>
9#include <asm/hyperv-tlfs.h>
10#include <asm/nospec-branch.h>
11#include <asm/paravirt.h>
12#include <asm/mshyperv.h>
12
13typedef int (*hyperv_fill_flush_list_func)(
14 struct hv_guest_mapping_flush_list *flush,
15 void *data);
16
17static inline void hv_set_register(unsigned int reg, u64 value)
18{
19 wrmsrl(reg, value);

--- 197 unchanged lines hidden ---
13
14typedef int (*hyperv_fill_flush_list_func)(
15 struct hv_guest_mapping_flush_list *flush,
16 void *data);
17
18static inline void hv_set_register(unsigned int reg, u64 value)
19{
20 wrmsrl(reg, value);

--- 197 unchanged lines hidden ---