svm.h (861377730aa9db4cbaa0f3bd3f4d295c152732c4) svm.h (16809ecdc1e8ab7278f1d60021ac809edd17d060)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kernel-based Virtual Machine driver for Linux
4 *
5 * AMD SVM support
6 *
7 * Copyright (C) 2006 Qumranet, Inc.
8 * Copyright 2010 Red Hat, Inc. and/or its affiliates.

--- 577 unchanged lines hidden (view full) ---

586void sev_free_vcpu(struct kvm_vcpu *vcpu);
587int sev_handle_vmgexit(struct vcpu_svm *svm);
588int sev_es_string_io(struct vcpu_svm *svm, int size, unsigned int port, int in);
589void sev_es_init_vmcb(struct vcpu_svm *svm);
590void sev_es_create_vcpu(struct vcpu_svm *svm);
591void sev_es_vcpu_load(struct vcpu_svm *svm, int cpu);
592void sev_es_vcpu_put(struct vcpu_svm *svm);
593
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kernel-based Virtual Machine driver for Linux
4 *
5 * AMD SVM support
6 *
7 * Copyright (C) 2006 Qumranet, Inc.
8 * Copyright 2010 Red Hat, Inc. and/or its affiliates.

--- 577 unchanged lines hidden (view full) ---

586void sev_free_vcpu(struct kvm_vcpu *vcpu);
587int sev_handle_vmgexit(struct vcpu_svm *svm);
588int sev_es_string_io(struct vcpu_svm *svm, int size, unsigned int port, int in);
589void sev_es_init_vmcb(struct vcpu_svm *svm);
590void sev_es_create_vcpu(struct vcpu_svm *svm);
591void sev_es_vcpu_load(struct vcpu_svm *svm, int cpu);
592void sev_es_vcpu_put(struct vcpu_svm *svm);
593
594/* vmenter.S */
595
596void __svm_sev_es_vcpu_run(unsigned long vmcb_pa);
597void __svm_vcpu_run(unsigned long vmcb_pa, unsigned long *regs);
598
594#endif
599#endif