This source file includes following definitions.
- kvm_mips_commpage_init
1
2
3
4
5
6
7
8
9
10
11
12
13 #include <linux/errno.h>
14 #include <linux/err.h>
15 #include <linux/vmalloc.h>
16 #include <linux/fs.h>
17 #include <linux/memblock.h>
18 #include <asm/page.h>
19 #include <asm/cacheflush.h>
20 #include <asm/mmu_context.h>
21
22 #include <linux/kvm_host.h>
23
24 #include "commpage.h"
25
26 void kvm_mips_commpage_init(struct kvm_vcpu *vcpu)
27 {
28 struct kvm_mips_commpage *page = vcpu->arch.kseg0_commpage;
29
30
31 vcpu->arch.cop0 = &page->cop0;
32 }