/root/src/xen/xen/include/asm/page.h
Line | Count | Source (jump to first uncovered line) |
1 | | #ifndef __X86_PAGE_H__ |
2 | | #define __X86_PAGE_H__ |
3 | | |
4 | | #include <xen/const.h> |
5 | | |
6 | | /* |
7 | | * It is important that the masks are signed quantities. This ensures that |
8 | | * the compiler sign-extends a 32-bit mask to 64 bits if that is required. |
9 | | */ |
10 | 633M | #define PAGE_SIZE (_AC(1,L) << PAGE_SHIFT) |
11 | 1.65M | #define PAGE_MASK (~(PAGE_SIZE-1)) |
12 | | #define PAGE_FLAG_MASK (~0) |
13 | | |
14 | 7.49M | #define PAGE_ORDER_4K 0 |
15 | 1.06M | #define PAGE_ORDER_2M 9 |
16 | 1.06M | #define PAGE_ORDER_1G 18 |
17 | | |
18 | | #ifndef __ASSEMBLY__ |
19 | | # include <asm/types.h> |
20 | | # include <xen/lib.h> |
21 | | #endif |
22 | | |
23 | | #include <asm/x86_64/page.h> |
24 | | |
25 | | /* Read a pte atomically from memory. */ |
26 | | #define l1e_read_atomic(l1ep) \ |
27 | 0 | l1e_from_intpte(pte_read_atomic(&l1e_get_intpte(*(l1ep)))) |
28 | | #define l2e_read_atomic(l2ep) \ |
29 | 0 | l2e_from_intpte(pte_read_atomic(&l2e_get_intpte(*(l2ep)))) |
30 | | #define l3e_read_atomic(l3ep) \ |
31 | 0 | l3e_from_intpte(pte_read_atomic(&l3e_get_intpte(*(l3ep)))) |
32 | | #define l4e_read_atomic(l4ep) \ |
33 | 0 | l4e_from_intpte(pte_read_atomic(&l4e_get_intpte(*(l4ep)))) |
34 | | |
35 | | /* Write a pte atomically to memory. */ |
36 | | #define l1e_write_atomic(l1ep, l1e) \ |
37 | 4.87k | pte_write_atomic(&l1e_get_intpte(*(l1ep)), l1e_get_intpte(l1e)) |
38 | | #define l2e_write_atomic(l2ep, l2e) \ |
39 | 1.31k | pte_write_atomic(&l2e_get_intpte(*(l2ep)), l2e_get_intpte(l2e)) |
40 | | #define l3e_write_atomic(l3ep, l3e) \ |
41 | 14 | pte_write_atomic(&l3e_get_intpte(*(l3ep)), l3e_get_intpte(l3e)) |
42 | | #define l4e_write_atomic(l4ep, l4e) \ |
43 | | pte_write_atomic(&l4e_get_intpte(*(l4ep)), l4e_get_intpte(l4e)) |
44 | | |
45 | | /* |
46 | | * Write a pte safely but non-atomically to memory. |
47 | | * The PTE may become temporarily not-present during the update. |
48 | | */ |
49 | | #define l1e_write(l1ep, l1e) \ |
50 | 18.4E | pte_write(&l1e_get_intpte(*(l1ep)), l1e_get_intpte(l1e)) |
51 | | #define l2e_write(l2ep, l2e) \ |
52 | 40 | pte_write(&l2e_get_intpte(*(l2ep)), l2e_get_intpte(l2e)) |
53 | | #define l3e_write(l3ep, l3e) \ |
54 | 9 | pte_write(&l3e_get_intpte(*(l3ep)), l3e_get_intpte(l3e)) |
55 | | #define l4e_write(l4ep, l4e) \ |
56 | 5 | pte_write(&l4e_get_intpte(*(l4ep)), l4e_get_intpte(l4e)) |
57 | | |
58 | | /* Get direct integer representation of a pte's contents (intpte_t). */ |
59 | 2 | #define l1e_get_intpte(x) ((x).l1) |
60 | 3 | #define l2e_get_intpte(x) ((x).l2) |
61 | 0 | #define l3e_get_intpte(x) ((x).l3) |
62 | 0 | #define l4e_get_intpte(x) ((x).l4) |
63 | | |
64 | | /* Get pfn mapped by pte (unsigned long). */ |
65 | | #define l1e_get_pfn(x) \ |
66 | 18.4E | ((unsigned long)(((x).l1 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT)) |
67 | | #define l2e_get_pfn(x) \ |
68 | 2.20k | ((unsigned long)(((x).l2 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT)) |
69 | | #define l3e_get_pfn(x) \ |
70 | 11 | ((unsigned long)(((x).l3 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT)) |
71 | | #define l4e_get_pfn(x) \ |
72 | 0 | ((unsigned long)(((x).l4 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT)) |
73 | | |
74 | | /* Get mfn mapped by pte (mfn_t). */ |
75 | 0 | #define l1e_get_mfn(x) _mfn(l1e_get_pfn(x)) |
76 | 11 | #define l2e_get_mfn(x) _mfn(l2e_get_pfn(x)) |
77 | 11 | #define l3e_get_mfn(x) _mfn(l3e_get_pfn(x)) |
78 | 0 | #define l4e_get_mfn(x) _mfn(l4e_get_pfn(x)) |
79 | | |
80 | | /* Get physical address of page mapped by pte (paddr_t). */ |
81 | | #define l1e_get_paddr(x) \ |
82 | | ((paddr_t)(((x).l1 & (PADDR_MASK&PAGE_MASK)))) |
83 | | #define l2e_get_paddr(x) \ |
84 | 0 | ((paddr_t)(((x).l2 & (PADDR_MASK&PAGE_MASK)))) |
85 | | #define l3e_get_paddr(x) \ |
86 | 366k | ((paddr_t)(((x).l3 & (PADDR_MASK&PAGE_MASK)))) |
87 | | #define l4e_get_paddr(x) \ |
88 | 365k | ((paddr_t)(((x).l4 & (PADDR_MASK&PAGE_MASK)))) |
89 | | |
90 | | /* Get pointer to info structure of page mapped by pte (struct page_info *). */ |
91 | 0 | #define l1e_get_page(x) (__mfn_to_page(l1e_get_pfn(x))) |
92 | 0 | #define l2e_get_page(x) (__mfn_to_page(l2e_get_pfn(x))) |
93 | 0 | #define l3e_get_page(x) (__mfn_to_page(l3e_get_pfn(x))) |
94 | 0 | #define l4e_get_page(x) (__mfn_to_page(l4e_get_pfn(x))) |
95 | | |
96 | | /* Get pte access flags (unsigned int). */ |
97 | 8.40k | #define l1e_get_flags(x) (get_pte_flags((x).l1)) |
98 | 17.0k | #define l2e_get_flags(x) (get_pte_flags((x).l2)) |
99 | 388k | #define l3e_get_flags(x) (get_pte_flags((x).l3)) |
100 | 378k | #define l4e_get_flags(x) (get_pte_flags((x).l4)) |
101 | | |
102 | | /* Get pte pkeys (unsigned int). */ |
103 | 0 | #define l1e_get_pkey(x) get_pte_pkey((x).l1) |
104 | | #define l2e_get_pkey(x) get_pte_pkey((x).l2) |
105 | | #define l3e_get_pkey(x) get_pte_pkey((x).l3) |
106 | | |
107 | | /* Construct an empty pte. */ |
108 | 384 | #define l1e_empty() ((l1_pgentry_t) { 0 }) |
109 | 57 | #define l2e_empty() ((l2_pgentry_t) { 0 }) |
110 | 0 | #define l3e_empty() ((l3_pgentry_t) { 0 }) |
111 | 48 | #define l4e_empty() ((l4_pgentry_t) { 0 }) |
112 | | |
113 | | /* Construct a pte from a pfn and access flags. */ |
114 | | #define l1e_from_pfn(pfn, flags) \ |
115 | 228k | ((l1_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) }) |
116 | | #define l2e_from_pfn(pfn, flags) \ |
117 | 3 | ((l2_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) }) |
118 | | #define l3e_from_pfn(pfn, flags) \ |
119 | 3 | ((l3_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) }) |
120 | | #define l4e_from_pfn(pfn, flags) \ |
121 | 72 | ((l4_pgentry_t) { ((intpte_t)(pfn) << PAGE_SHIFT) | put_pte_flags(flags) }) |
122 | | |
123 | | /* Construct a pte from an mfn and access flags. */ |
124 | 0 | #define l1e_from_mfn(m, f) l1e_from_pfn(mfn_x(m), f) |
125 | 0 | #define l2e_from_mfn(m, f) l2e_from_pfn(mfn_x(m), f) |
126 | 0 | #define l3e_from_mfn(m, f) l3e_from_pfn(mfn_x(m), f) |
127 | 12 | #define l4e_from_mfn(m, f) l4e_from_pfn(mfn_x(m), f) |
128 | | |
129 | | /* Construct a pte from a physical address and access flags. */ |
130 | | #ifndef __ASSEMBLY__ |
131 | | static inline l1_pgentry_t l1e_from_paddr(paddr_t pa, unsigned int flags) |
132 | 0 | { |
133 | 0 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); |
134 | 0 | return (l1_pgentry_t) { pa | put_pte_flags(flags) }; |
135 | 0 | } Unexecuted instantiation: stub.c:l1e_from_paddr Unexecuted instantiation: mmconfig-shared.c:l1e_from_paddr Unexecuted instantiation: mmconfig_64.c:l1e_from_paddr Unexecuted instantiation: mmconf-fam10h.c:l1e_from_paddr Unexecuted instantiation: acpi_mmcfg.c:l1e_from_paddr Unexecuted instantiation: ro-page-fault.c:l1e_from_paddr Unexecuted instantiation: misc-hypercalls.c:l1e_from_paddr Unexecuted instantiation: iret.c:l1e_from_paddr Unexecuted instantiation: emul-priv-op.c:l1e_from_paddr Unexecuted instantiation: emul-inv-op.c:l1e_from_paddr Unexecuted instantiation: emul-gate-op.c:l1e_from_paddr Unexecuted instantiation: descriptor-tables.c:l1e_from_paddr Unexecuted instantiation: callback.c:l1e_from_paddr Unexecuted instantiation: backtrace.c:l1e_from_paddr Unexecuted instantiation: op_model_athlon.c:l1e_from_paddr Unexecuted instantiation: op_model_ppro.c:l1e_from_paddr Unexecuted instantiation: op_model_p4.c:l1e_from_paddr Unexecuted instantiation: nmi_int.c:l1e_from_paddr Unexecuted instantiation: nested_ept.c:l1e_from_paddr Unexecuted instantiation: nested_hap.c:l1e_from_paddr Unexecuted instantiation: hap.c:l1e_from_paddr Unexecuted instantiation: multi.c:l1e_from_paddr Unexecuted instantiation: mem_sharing.c:l1e_from_paddr Unexecuted instantiation: mem_paging.c:l1e_from_paddr Unexecuted instantiation: guest_walk.c:l1e_from_paddr Unexecuted instantiation: altp2m.c:l1e_from_paddr Unexecuted instantiation: p2m-pod.c:l1e_from_paddr Unexecuted instantiation: p2m-ept.c:l1e_from_paddr Unexecuted instantiation: p2m-pt.c:l1e_from_paddr Unexecuted instantiation: p2m.c:l1e_from_paddr Unexecuted instantiation: paging.c:l1e_from_paddr Unexecuted instantiation: vvmx.c:l1e_from_paddr Unexecuted instantiation: vmx.c:l1e_from_paddr Unexecuted instantiation: vmcs.c:l1e_from_paddr Unexecuted instantiation: realmode.c:l1e_from_paddr Unexecuted instantiation: vmcb.c:l1e_from_paddr Unexecuted instantiation: svmdebug.c:l1e_from_paddr Unexecuted instantiation: svm.c:l1e_from_paddr Unexecuted instantiation: nestedsvm.c:l1e_from_paddr Unexecuted instantiation: intr.c:l1e_from_paddr Unexecuted instantiation: vpt.c:l1e_from_paddr Unexecuted instantiation: vpic.c:l1e_from_paddr Unexecuted instantiation: vmsi.c:l1e_from_paddr Unexecuted instantiation: vlapic.c:l1e_from_paddr Unexecuted instantiation: viridian.c:l1e_from_paddr Unexecuted instantiation: vioapic.c:l1e_from_paddr Unexecuted instantiation: stdvga.c:l1e_from_paddr Unexecuted instantiation: save.c:l1e_from_paddr Unexecuted instantiation: rtc.c:l1e_from_paddr Unexecuted instantiation: pmtimer.c:l1e_from_paddr Unexecuted instantiation: nestedhvm.c:l1e_from_paddr Unexecuted instantiation: mtrr.c:l1e_from_paddr Unexecuted instantiation: ioreq.c:l1e_from_paddr Unexecuted instantiation: intercept.c:l1e_from_paddr Unexecuted instantiation: i8254.c:l1e_from_paddr Unexecuted instantiation: hvm.c:l1e_from_paddr Unexecuted instantiation: emulate.c:l1e_from_paddr Unexecuted instantiation: dm.c:l1e_from_paddr Unexecuted instantiation: asid.c:l1e_from_paddr Unexecuted instantiation: probe.c:l1e_from_paddr Unexecuted instantiation: delivery.c:l1e_from_paddr Unexecuted instantiation: default.c:l1e_from_paddr Unexecuted instantiation: x2apic.c:l1e_from_paddr Unexecuted instantiation: bigsmp.c:l1e_from_paddr Unexecuted instantiation: main.c:l1e_from_paddr Unexecuted instantiation: generic.c:l1e_from_paddr Unexecuted instantiation: vmce.c:l1e_from_paddr Unexecuted instantiation: util.c:l1e_from_paddr Unexecuted instantiation: non-fatal.c:l1e_from_paddr Unexecuted instantiation: mce_intel.c:l1e_from_paddr Unexecuted instantiation: mce-apei.c:l1e_from_paddr Unexecuted instantiation: mce.c:l1e_from_paddr Unexecuted instantiation: mctelem.c:l1e_from_paddr Unexecuted instantiation: barrier.c:l1e_from_paddr Unexecuted instantiation: mcaction.c:l1e_from_paddr Unexecuted instantiation: mce_amd.c:l1e_from_paddr Unexecuted instantiation: amd_nonfatal.c:l1e_from_paddr Unexecuted instantiation: vpmu_intel.c:l1e_from_paddr Unexecuted instantiation: vpmu_amd.c:l1e_from_paddr Unexecuted instantiation: vpmu.c:l1e_from_paddr Unexecuted instantiation: mwait-idle.c:l1e_from_paddr Unexecuted instantiation: intel_cacheinfo.c:l1e_from_paddr Unexecuted instantiation: intel.c:l1e_from_paddr Unexecuted instantiation: common.c:l1e_from_paddr Unexecuted instantiation: centaur.c:l1e_from_paddr Unexecuted instantiation: amd.c:l1e_from_paddr Unexecuted instantiation: powernow.c:l1e_from_paddr Unexecuted instantiation: cpuidle_menu.c:l1e_from_paddr Unexecuted instantiation: cpu_idle.c:l1e_from_paddr Unexecuted instantiation: suspend.c:l1e_from_paddr Unexecuted instantiation: power.c:l1e_from_paddr Unexecuted instantiation: lib.c:l1e_from_paddr Unexecuted instantiation: xstate.c:l1e_from_paddr Unexecuted instantiation: hpet.c:l1e_from_paddr Unexecuted instantiation: tboot.c:l1e_from_paddr Unexecuted instantiation: x86_emulate.c:l1e_from_paddr Unexecuted instantiation: usercopy.c:l1e_from_paddr Unexecuted instantiation: traps.c:l1e_from_paddr Unexecuted instantiation: srat.c:l1e_from_paddr Unexecuted instantiation: smpboot.c:l1e_from_paddr Unexecuted instantiation: setup.c:l1e_from_paddr Unexecuted instantiation: psr.c:l1e_from_paddr Unexecuted instantiation: platform_hypercall.c:l1e_from_paddr Unexecuted instantiation: physdev.c:l1e_from_paddr Unexecuted instantiation: percpu.c:l1e_from_paddr Unexecuted instantiation: nmi.c:l1e_from_paddr Unexecuted instantiation: mpparse.c:l1e_from_paddr Unexecuted instantiation: mm.c:l1e_from_paddr Unexecuted instantiation: microcode.c:l1e_from_paddr Unexecuted instantiation: microcode_intel.c:l1e_from_paddr Unexecuted instantiation: microcode_amd.c:l1e_from_paddr Unexecuted instantiation: machine_kexec.c:l1e_from_paddr Unexecuted instantiation: ioport_emulate.c:l1e_from_paddr Unexecuted instantiation: msr.c:l1e_from_paddr Unexecuted instantiation: io_apic.c:l1e_from_paddr Unexecuted instantiation: i387.c:l1e_from_paddr Unexecuted instantiation: hypercall.c:l1e_from_paddr Unexecuted instantiation: flushtlb.c:l1e_from_paddr Unexecuted instantiation: extable.c:l1e_from_paddr Unexecuted instantiation: e820.c:l1e_from_paddr Unexecuted instantiation: domain_page.c:l1e_from_paddr Unexecuted instantiation: delay.c:l1e_from_paddr Unexecuted instantiation: debug.c:l1e_from_paddr Unexecuted instantiation: crash.c:l1e_from_paddr Unexecuted instantiation: compat.c:l1e_from_paddr Unexecuted instantiation: cpuid.c:l1e_from_paddr Unexecuted instantiation: apic.c:l1e_from_paddr Unexecuted instantiation: xsm_core.c:l1e_from_paddr Unexecuted instantiation: vesa.c:l1e_from_paddr Unexecuted instantiation: vga.c:l1e_from_paddr Unexecuted instantiation: apei-io.c:l1e_from_paddr Unexecuted instantiation: apei-base.c:l1e_from_paddr Unexecuted instantiation: hest.c:l1e_from_paddr Unexecuted instantiation: erst.c:l1e_from_paddr Unexecuted instantiation: utglobal.c:l1e_from_paddr Unexecuted instantiation: tbutils.c:l1e_from_paddr Unexecuted instantiation: reboot.c:l1e_from_paddr Unexecuted instantiation: hwregs.c:l1e_from_paddr Unexecuted instantiation: pmstat.c:l1e_from_paddr Unexecuted instantiation: osl.c:l1e_from_paddr Unexecuted instantiation: numa.c:l1e_from_paddr Unexecuted instantiation: iommu_guest.c:l1e_from_paddr Unexecuted instantiation: iommu_cmd.c:l1e_from_paddr Unexecuted instantiation: iommu_intr.c:l1e_from_paddr Unexecuted instantiation: pci_amd_iommu.c:l1e_from_paddr Unexecuted instantiation: iommu_map.c:l1e_from_paddr Unexecuted instantiation: iommu_init.c:l1e_from_paddr Unexecuted instantiation: ats.c:l1e_from_paddr Unexecuted instantiation: vtd.c:l1e_from_paddr Unexecuted instantiation: quirks.c:l1e_from_paddr Unexecuted instantiation: intremap.c:l1e_from_paddr Unexecuted instantiation: qinval.c:l1e_from_paddr Unexecuted instantiation: utils.c:l1e_from_paddr Unexecuted instantiation: dmar.c:l1e_from_paddr Unexecuted instantiation: io.c:l1e_from_paddr Unexecuted instantiation: iommu.c:l1e_from_paddr Unexecuted instantiation: msix.c:l1e_from_paddr Unexecuted instantiation: msi.c:l1e_from_paddr Unexecuted instantiation: header.c:l1e_from_paddr Unexecuted instantiation: vpci.c:l1e_from_paddr Unexecuted instantiation: pci.c:l1e_from_paddr Unexecuted instantiation: utility.c:l1e_from_paddr Unexecuted instantiation: cpufreq_misc_governors.c:l1e_from_paddr Unexecuted instantiation: cpufreq_ondemand.c:l1e_from_paddr Unexecuted instantiation: cpufreq.c:l1e_from_paddr Unexecuted instantiation: serial.c:l1e_from_paddr Unexecuted instantiation: ehci-dbgp.c:l1e_from_paddr Unexecuted instantiation: ns16550.c:l1e_from_paddr Unexecuted instantiation: console.c:l1e_from_paddr Unexecuted instantiation: libelf-dominfo.c:l1e_from_paddr Unexecuted instantiation: libelf-loader.c:l1e_from_paddr Unexecuted instantiation: libelf-tools.c:l1e_from_paddr Unexecuted instantiation: llvm.c:l1e_from_paddr Unexecuted instantiation: tmem_control.c:l1e_from_paddr Unexecuted instantiation: tmem_xen.c:l1e_from_paddr Unexecuted instantiation: tmem.c:l1e_from_paddr Unexecuted instantiation: xmalloc_tlsf.c:l1e_from_paddr Unexecuted instantiation: xenoprof.c:l1e_from_paddr Unexecuted instantiation: wait.c:l1e_from_paddr Unexecuted instantiation: vsprintf.c:l1e_from_paddr Unexecuted instantiation: vmap.c:l1e_from_paddr Unexecuted instantiation: vm_event.c:l1e_from_paddr Unexecuted instantiation: virtual_region.c:l1e_from_paddr Unexecuted instantiation: trace.c:l1e_from_paddr Unexecuted instantiation: timer.c:l1e_from_paddr Unexecuted instantiation: time.c:l1e_from_paddr Unexecuted instantiation: tasklet.c:l1e_from_paddr Unexecuted instantiation: sysctl.c:l1e_from_paddr Unexecuted instantiation: symbols.c:l1e_from_paddr Unexecuted instantiation: stop_machine.c:l1e_from_paddr Unexecuted instantiation: spinlock.c:l1e_from_paddr Unexecuted instantiation: smp.c:l1e_from_paddr Unexecuted instantiation: softirq.c:l1e_from_paddr Unexecuted instantiation: shutdown.c:l1e_from_paddr Unexecuted instantiation: schedule.c:l1e_from_paddr Unexecuted instantiation: sched_null.c:l1e_from_paddr Unexecuted instantiation: sched_rt.c:l1e_from_paddr Unexecuted instantiation: sched_credit2.c:l1e_from_paddr Unexecuted instantiation: sched_credit.c:l1e_from_paddr Unexecuted instantiation: sched_arinc653.c:l1e_from_paddr Unexecuted instantiation: rwlock.c:l1e_from_paddr Unexecuted instantiation: rcupdate.c:l1e_from_paddr Unexecuted instantiation: radix-tree.c:l1e_from_paddr Unexecuted instantiation: rangeset.c:l1e_from_paddr Unexecuted instantiation: random.c:l1e_from_paddr Unexecuted instantiation: preempt.c:l1e_from_paddr Unexecuted instantiation: pdx.c:l1e_from_paddr Unexecuted instantiation: page_alloc.c:l1e_from_paddr Unexecuted instantiation: notifier.c:l1e_from_paddr Unexecuted instantiation: multicall.c:l1e_from_paddr Unexecuted instantiation: monitor.c:l1e_from_paddr Unexecuted instantiation: memory.c:l1e_from_paddr Unexecuted instantiation: mem_access.c:l1e_from_paddr Unexecuted instantiation: kimage.c:l1e_from_paddr Unexecuted instantiation: kexec.c:l1e_from_paddr Unexecuted instantiation: keyhandler.c:l1e_from_paddr Unexecuted instantiation: kernel.c:l1e_from_paddr Unexecuted instantiation: irq.c:l1e_from_paddr Unexecuted instantiation: guestcopy.c:l1e_from_paddr Unexecuted instantiation: grant_table.c:l1e_from_paddr Unexecuted instantiation: event_fifo.c:l1e_from_paddr Unexecuted instantiation: event_channel.c:l1e_from_paddr Unexecuted instantiation: event_2l.c:l1e_from_paddr Unexecuted instantiation: domain.c:l1e_from_paddr Unexecuted instantiation: domctl.c:l1e_from_paddr Unexecuted instantiation: cpupool.c:l1e_from_paddr Unexecuted instantiation: cpu.c:l1e_from_paddr Unexecuted instantiation: core_parking.c:l1e_from_paddr Unexecuted instantiation: i8259.c:l1e_from_paddr |
136 | | static inline l2_pgentry_t l2e_from_paddr(paddr_t pa, unsigned int flags) |
137 | 13 | { |
138 | 13 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); |
139 | 13 | return (l2_pgentry_t) { pa | put_pte_flags(flags) }; |
140 | 13 | } Unexecuted instantiation: stub.c:l2e_from_paddr Unexecuted instantiation: mmconfig-shared.c:l2e_from_paddr Unexecuted instantiation: mmconfig_64.c:l2e_from_paddr Unexecuted instantiation: mmconf-fam10h.c:l2e_from_paddr Unexecuted instantiation: acpi_mmcfg.c:l2e_from_paddr Unexecuted instantiation: ro-page-fault.c:l2e_from_paddr Unexecuted instantiation: misc-hypercalls.c:l2e_from_paddr Unexecuted instantiation: iret.c:l2e_from_paddr Unexecuted instantiation: emul-priv-op.c:l2e_from_paddr Unexecuted instantiation: emul-inv-op.c:l2e_from_paddr Unexecuted instantiation: emul-gate-op.c:l2e_from_paddr Unexecuted instantiation: descriptor-tables.c:l2e_from_paddr Unexecuted instantiation: callback.c:l2e_from_paddr Unexecuted instantiation: backtrace.c:l2e_from_paddr Unexecuted instantiation: op_model_athlon.c:l2e_from_paddr Unexecuted instantiation: op_model_ppro.c:l2e_from_paddr Unexecuted instantiation: op_model_p4.c:l2e_from_paddr Unexecuted instantiation: nmi_int.c:l2e_from_paddr Unexecuted instantiation: nested_ept.c:l2e_from_paddr Unexecuted instantiation: nested_hap.c:l2e_from_paddr Unexecuted instantiation: hap.c:l2e_from_paddr Unexecuted instantiation: multi.c:l2e_from_paddr Unexecuted instantiation: mem_sharing.c:l2e_from_paddr Unexecuted instantiation: mem_paging.c:l2e_from_paddr Unexecuted instantiation: guest_walk.c:l2e_from_paddr Unexecuted instantiation: altp2m.c:l2e_from_paddr Unexecuted instantiation: p2m-pod.c:l2e_from_paddr Unexecuted instantiation: p2m-ept.c:l2e_from_paddr Unexecuted instantiation: p2m-pt.c:l2e_from_paddr Unexecuted instantiation: p2m.c:l2e_from_paddr Unexecuted instantiation: paging.c:l2e_from_paddr Unexecuted instantiation: vvmx.c:l2e_from_paddr Unexecuted instantiation: vmx.c:l2e_from_paddr Unexecuted instantiation: vmcs.c:l2e_from_paddr Unexecuted instantiation: realmode.c:l2e_from_paddr Unexecuted instantiation: vmcb.c:l2e_from_paddr Unexecuted instantiation: svmdebug.c:l2e_from_paddr Unexecuted instantiation: svm.c:l2e_from_paddr Unexecuted instantiation: nestedsvm.c:l2e_from_paddr Unexecuted instantiation: intr.c:l2e_from_paddr Unexecuted instantiation: vpt.c:l2e_from_paddr Unexecuted instantiation: vpic.c:l2e_from_paddr Unexecuted instantiation: vmsi.c:l2e_from_paddr Unexecuted instantiation: vlapic.c:l2e_from_paddr Unexecuted instantiation: viridian.c:l2e_from_paddr Unexecuted instantiation: vioapic.c:l2e_from_paddr Unexecuted instantiation: stdvga.c:l2e_from_paddr Unexecuted instantiation: save.c:l2e_from_paddr Unexecuted instantiation: rtc.c:l2e_from_paddr Unexecuted instantiation: pmtimer.c:l2e_from_paddr Unexecuted instantiation: nestedhvm.c:l2e_from_paddr Unexecuted instantiation: mtrr.c:l2e_from_paddr Unexecuted instantiation: ioreq.c:l2e_from_paddr Unexecuted instantiation: intercept.c:l2e_from_paddr Unexecuted instantiation: i8254.c:l2e_from_paddr Unexecuted instantiation: hvm.c:l2e_from_paddr Unexecuted instantiation: emulate.c:l2e_from_paddr Unexecuted instantiation: dm.c:l2e_from_paddr Unexecuted instantiation: asid.c:l2e_from_paddr Unexecuted instantiation: probe.c:l2e_from_paddr Unexecuted instantiation: delivery.c:l2e_from_paddr Unexecuted instantiation: default.c:l2e_from_paddr Unexecuted instantiation: x2apic.c:l2e_from_paddr Unexecuted instantiation: bigsmp.c:l2e_from_paddr Unexecuted instantiation: main.c:l2e_from_paddr Unexecuted instantiation: generic.c:l2e_from_paddr Unexecuted instantiation: vmce.c:l2e_from_paddr Unexecuted instantiation: util.c:l2e_from_paddr Unexecuted instantiation: non-fatal.c:l2e_from_paddr Unexecuted instantiation: mce_intel.c:l2e_from_paddr Unexecuted instantiation: mce-apei.c:l2e_from_paddr Unexecuted instantiation: mce.c:l2e_from_paddr Unexecuted instantiation: mctelem.c:l2e_from_paddr Unexecuted instantiation: barrier.c:l2e_from_paddr Unexecuted instantiation: mcaction.c:l2e_from_paddr Unexecuted instantiation: mce_amd.c:l2e_from_paddr Unexecuted instantiation: amd_nonfatal.c:l2e_from_paddr Unexecuted instantiation: vpmu_intel.c:l2e_from_paddr Unexecuted instantiation: vpmu_amd.c:l2e_from_paddr Unexecuted instantiation: vpmu.c:l2e_from_paddr Unexecuted instantiation: mwait-idle.c:l2e_from_paddr Unexecuted instantiation: intel_cacheinfo.c:l2e_from_paddr Unexecuted instantiation: intel.c:l2e_from_paddr Unexecuted instantiation: common.c:l2e_from_paddr Unexecuted instantiation: centaur.c:l2e_from_paddr Unexecuted instantiation: amd.c:l2e_from_paddr Unexecuted instantiation: powernow.c:l2e_from_paddr Unexecuted instantiation: cpuidle_menu.c:l2e_from_paddr Unexecuted instantiation: cpu_idle.c:l2e_from_paddr Unexecuted instantiation: suspend.c:l2e_from_paddr Unexecuted instantiation: power.c:l2e_from_paddr Unexecuted instantiation: lib.c:l2e_from_paddr Unexecuted instantiation: xstate.c:l2e_from_paddr Unexecuted instantiation: hpet.c:l2e_from_paddr Unexecuted instantiation: tboot.c:l2e_from_paddr Unexecuted instantiation: x86_emulate.c:l2e_from_paddr Unexecuted instantiation: usercopy.c:l2e_from_paddr Unexecuted instantiation: traps.c:l2e_from_paddr Unexecuted instantiation: srat.c:l2e_from_paddr Unexecuted instantiation: smpboot.c:l2e_from_paddr Unexecuted instantiation: setup.c:l2e_from_paddr Unexecuted instantiation: psr.c:l2e_from_paddr Unexecuted instantiation: platform_hypercall.c:l2e_from_paddr Unexecuted instantiation: physdev.c:l2e_from_paddr Unexecuted instantiation: percpu.c:l2e_from_paddr Unexecuted instantiation: nmi.c:l2e_from_paddr Unexecuted instantiation: mpparse.c:l2e_from_paddr Line | Count | Source | 137 | 13 | { | 138 | 13 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); | 139 | 13 | return (l2_pgentry_t) { pa | put_pte_flags(flags) }; | 140 | 13 | } |
Unexecuted instantiation: microcode.c:l2e_from_paddr Unexecuted instantiation: microcode_intel.c:l2e_from_paddr Unexecuted instantiation: microcode_amd.c:l2e_from_paddr Unexecuted instantiation: machine_kexec.c:l2e_from_paddr Unexecuted instantiation: ioport_emulate.c:l2e_from_paddr Unexecuted instantiation: msr.c:l2e_from_paddr Unexecuted instantiation: io_apic.c:l2e_from_paddr Unexecuted instantiation: i8259.c:l2e_from_paddr Unexecuted instantiation: i387.c:l2e_from_paddr Unexecuted instantiation: hypercall.c:l2e_from_paddr Unexecuted instantiation: flushtlb.c:l2e_from_paddr Unexecuted instantiation: extable.c:l2e_from_paddr Unexecuted instantiation: e820.c:l2e_from_paddr Unexecuted instantiation: domain_page.c:l2e_from_paddr Unexecuted instantiation: delay.c:l2e_from_paddr Unexecuted instantiation: debug.c:l2e_from_paddr Unexecuted instantiation: crash.c:l2e_from_paddr Unexecuted instantiation: compat.c:l2e_from_paddr Unexecuted instantiation: cpuid.c:l2e_from_paddr Unexecuted instantiation: apic.c:l2e_from_paddr Unexecuted instantiation: xsm_core.c:l2e_from_paddr Unexecuted instantiation: vesa.c:l2e_from_paddr Unexecuted instantiation: vga.c:l2e_from_paddr Unexecuted instantiation: apei-io.c:l2e_from_paddr Unexecuted instantiation: apei-base.c:l2e_from_paddr Unexecuted instantiation: hest.c:l2e_from_paddr Unexecuted instantiation: erst.c:l2e_from_paddr Unexecuted instantiation: utglobal.c:l2e_from_paddr Unexecuted instantiation: tbutils.c:l2e_from_paddr Unexecuted instantiation: reboot.c:l2e_from_paddr Unexecuted instantiation: hwregs.c:l2e_from_paddr Unexecuted instantiation: pmstat.c:l2e_from_paddr Unexecuted instantiation: osl.c:l2e_from_paddr Unexecuted instantiation: numa.c:l2e_from_paddr Unexecuted instantiation: iommu_guest.c:l2e_from_paddr Unexecuted instantiation: iommu_cmd.c:l2e_from_paddr Unexecuted instantiation: iommu_intr.c:l2e_from_paddr Unexecuted instantiation: pci_amd_iommu.c:l2e_from_paddr Unexecuted instantiation: iommu_map.c:l2e_from_paddr Unexecuted instantiation: iommu_init.c:l2e_from_paddr Unexecuted instantiation: ats.c:l2e_from_paddr Unexecuted instantiation: vtd.c:l2e_from_paddr Unexecuted instantiation: quirks.c:l2e_from_paddr Unexecuted instantiation: intremap.c:l2e_from_paddr Unexecuted instantiation: qinval.c:l2e_from_paddr Unexecuted instantiation: utils.c:l2e_from_paddr Unexecuted instantiation: dmar.c:l2e_from_paddr Unexecuted instantiation: io.c:l2e_from_paddr Unexecuted instantiation: iommu.c:l2e_from_paddr Unexecuted instantiation: msix.c:l2e_from_paddr Unexecuted instantiation: msi.c:l2e_from_paddr Unexecuted instantiation: header.c:l2e_from_paddr Unexecuted instantiation: vpci.c:l2e_from_paddr Unexecuted instantiation: pci.c:l2e_from_paddr Unexecuted instantiation: utility.c:l2e_from_paddr Unexecuted instantiation: cpufreq_misc_governors.c:l2e_from_paddr Unexecuted instantiation: cpufreq_ondemand.c:l2e_from_paddr Unexecuted instantiation: cpufreq.c:l2e_from_paddr Unexecuted instantiation: serial.c:l2e_from_paddr Unexecuted instantiation: ehci-dbgp.c:l2e_from_paddr Unexecuted instantiation: ns16550.c:l2e_from_paddr Unexecuted instantiation: console.c:l2e_from_paddr Unexecuted instantiation: libelf-dominfo.c:l2e_from_paddr Unexecuted instantiation: libelf-loader.c:l2e_from_paddr Unexecuted instantiation: libelf-tools.c:l2e_from_paddr Unexecuted instantiation: llvm.c:l2e_from_paddr Unexecuted instantiation: tmem_control.c:l2e_from_paddr Unexecuted instantiation: tmem_xen.c:l2e_from_paddr Unexecuted instantiation: tmem.c:l2e_from_paddr Unexecuted instantiation: xmalloc_tlsf.c:l2e_from_paddr Unexecuted instantiation: xenoprof.c:l2e_from_paddr Unexecuted instantiation: wait.c:l2e_from_paddr Unexecuted instantiation: vsprintf.c:l2e_from_paddr Unexecuted instantiation: vmap.c:l2e_from_paddr Unexecuted instantiation: vm_event.c:l2e_from_paddr Unexecuted instantiation: virtual_region.c:l2e_from_paddr Unexecuted instantiation: trace.c:l2e_from_paddr Unexecuted instantiation: timer.c:l2e_from_paddr Unexecuted instantiation: time.c:l2e_from_paddr Unexecuted instantiation: tasklet.c:l2e_from_paddr Unexecuted instantiation: sysctl.c:l2e_from_paddr Unexecuted instantiation: symbols.c:l2e_from_paddr Unexecuted instantiation: stop_machine.c:l2e_from_paddr Unexecuted instantiation: spinlock.c:l2e_from_paddr Unexecuted instantiation: smp.c:l2e_from_paddr Unexecuted instantiation: softirq.c:l2e_from_paddr Unexecuted instantiation: shutdown.c:l2e_from_paddr Unexecuted instantiation: schedule.c:l2e_from_paddr Unexecuted instantiation: sched_null.c:l2e_from_paddr Unexecuted instantiation: sched_rt.c:l2e_from_paddr Unexecuted instantiation: sched_credit2.c:l2e_from_paddr Unexecuted instantiation: sched_credit.c:l2e_from_paddr Unexecuted instantiation: sched_arinc653.c:l2e_from_paddr Unexecuted instantiation: rwlock.c:l2e_from_paddr Unexecuted instantiation: rcupdate.c:l2e_from_paddr Unexecuted instantiation: radix-tree.c:l2e_from_paddr Unexecuted instantiation: rangeset.c:l2e_from_paddr Unexecuted instantiation: random.c:l2e_from_paddr Unexecuted instantiation: preempt.c:l2e_from_paddr Unexecuted instantiation: pdx.c:l2e_from_paddr Unexecuted instantiation: page_alloc.c:l2e_from_paddr Unexecuted instantiation: notifier.c:l2e_from_paddr Unexecuted instantiation: multicall.c:l2e_from_paddr Unexecuted instantiation: monitor.c:l2e_from_paddr Unexecuted instantiation: memory.c:l2e_from_paddr Unexecuted instantiation: mem_access.c:l2e_from_paddr Unexecuted instantiation: kimage.c:l2e_from_paddr Unexecuted instantiation: kexec.c:l2e_from_paddr Unexecuted instantiation: keyhandler.c:l2e_from_paddr Unexecuted instantiation: kernel.c:l2e_from_paddr Unexecuted instantiation: irq.c:l2e_from_paddr Unexecuted instantiation: guestcopy.c:l2e_from_paddr Unexecuted instantiation: grant_table.c:l2e_from_paddr Unexecuted instantiation: event_fifo.c:l2e_from_paddr Unexecuted instantiation: event_channel.c:l2e_from_paddr Unexecuted instantiation: event_2l.c:l2e_from_paddr Unexecuted instantiation: domain.c:l2e_from_paddr Unexecuted instantiation: domctl.c:l2e_from_paddr Unexecuted instantiation: cpupool.c:l2e_from_paddr Unexecuted instantiation: cpu.c:l2e_from_paddr Unexecuted instantiation: core_parking.c:l2e_from_paddr |
141 | | static inline l3_pgentry_t l3e_from_paddr(paddr_t pa, unsigned int flags) |
142 | 9 | { |
143 | 9 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); |
144 | 9 | return (l3_pgentry_t) { pa | put_pte_flags(flags) }; |
145 | 9 | } Unexecuted instantiation: mmconfig-shared.c:l3e_from_paddr Unexecuted instantiation: core_parking.c:l3e_from_paddr Unexecuted instantiation: cpu.c:l3e_from_paddr Unexecuted instantiation: cpupool.c:l3e_from_paddr Unexecuted instantiation: domctl.c:l3e_from_paddr Unexecuted instantiation: domain.c:l3e_from_paddr Unexecuted instantiation: event_2l.c:l3e_from_paddr Unexecuted instantiation: event_channel.c:l3e_from_paddr Unexecuted instantiation: event_fifo.c:l3e_from_paddr Unexecuted instantiation: grant_table.c:l3e_from_paddr Unexecuted instantiation: guestcopy.c:l3e_from_paddr Unexecuted instantiation: irq.c:l3e_from_paddr Unexecuted instantiation: kernel.c:l3e_from_paddr Unexecuted instantiation: keyhandler.c:l3e_from_paddr Unexecuted instantiation: kexec.c:l3e_from_paddr Unexecuted instantiation: kimage.c:l3e_from_paddr Unexecuted instantiation: mem_access.c:l3e_from_paddr Unexecuted instantiation: memory.c:l3e_from_paddr Unexecuted instantiation: monitor.c:l3e_from_paddr Unexecuted instantiation: multicall.c:l3e_from_paddr Unexecuted instantiation: notifier.c:l3e_from_paddr Unexecuted instantiation: page_alloc.c:l3e_from_paddr Unexecuted instantiation: pdx.c:l3e_from_paddr Unexecuted instantiation: preempt.c:l3e_from_paddr Unexecuted instantiation: random.c:l3e_from_paddr Unexecuted instantiation: rangeset.c:l3e_from_paddr Unexecuted instantiation: radix-tree.c:l3e_from_paddr Unexecuted instantiation: rcupdate.c:l3e_from_paddr Unexecuted instantiation: rwlock.c:l3e_from_paddr Unexecuted instantiation: sched_arinc653.c:l3e_from_paddr Unexecuted instantiation: sched_credit.c:l3e_from_paddr Unexecuted instantiation: sched_credit2.c:l3e_from_paddr Unexecuted instantiation: sched_rt.c:l3e_from_paddr Unexecuted instantiation: sched_null.c:l3e_from_paddr Unexecuted instantiation: schedule.c:l3e_from_paddr Unexecuted instantiation: shutdown.c:l3e_from_paddr Unexecuted instantiation: softirq.c:l3e_from_paddr Unexecuted instantiation: smp.c:l3e_from_paddr Unexecuted instantiation: spinlock.c:l3e_from_paddr Unexecuted instantiation: stop_machine.c:l3e_from_paddr Unexecuted instantiation: symbols.c:l3e_from_paddr Unexecuted instantiation: sysctl.c:l3e_from_paddr Unexecuted instantiation: tasklet.c:l3e_from_paddr Unexecuted instantiation: time.c:l3e_from_paddr Unexecuted instantiation: timer.c:l3e_from_paddr Unexecuted instantiation: trace.c:l3e_from_paddr Unexecuted instantiation: virtual_region.c:l3e_from_paddr Unexecuted instantiation: vm_event.c:l3e_from_paddr Unexecuted instantiation: vmap.c:l3e_from_paddr Unexecuted instantiation: vsprintf.c:l3e_from_paddr Unexecuted instantiation: wait.c:l3e_from_paddr Unexecuted instantiation: xenoprof.c:l3e_from_paddr Unexecuted instantiation: xmalloc_tlsf.c:l3e_from_paddr Unexecuted instantiation: tmem.c:l3e_from_paddr Unexecuted instantiation: tmem_xen.c:l3e_from_paddr Unexecuted instantiation: tmem_control.c:l3e_from_paddr Unexecuted instantiation: llvm.c:l3e_from_paddr Unexecuted instantiation: libelf-tools.c:l3e_from_paddr Unexecuted instantiation: libelf-loader.c:l3e_from_paddr Unexecuted instantiation: libelf-dominfo.c:l3e_from_paddr Unexecuted instantiation: console.c:l3e_from_paddr Unexecuted instantiation: ns16550.c:l3e_from_paddr Unexecuted instantiation: ehci-dbgp.c:l3e_from_paddr Unexecuted instantiation: serial.c:l3e_from_paddr Unexecuted instantiation: cpufreq.c:l3e_from_paddr Unexecuted instantiation: cpufreq_ondemand.c:l3e_from_paddr Unexecuted instantiation: cpufreq_misc_governors.c:l3e_from_paddr Unexecuted instantiation: utility.c:l3e_from_paddr Unexecuted instantiation: pci.c:l3e_from_paddr Unexecuted instantiation: vpci.c:l3e_from_paddr Unexecuted instantiation: header.c:l3e_from_paddr Unexecuted instantiation: msi.c:l3e_from_paddr Unexecuted instantiation: msix.c:l3e_from_paddr Unexecuted instantiation: iommu.c:l3e_from_paddr Unexecuted instantiation: io.c:l3e_from_paddr Unexecuted instantiation: dmar.c:l3e_from_paddr Unexecuted instantiation: utils.c:l3e_from_paddr Unexecuted instantiation: qinval.c:l3e_from_paddr Unexecuted instantiation: intremap.c:l3e_from_paddr Unexecuted instantiation: quirks.c:l3e_from_paddr Unexecuted instantiation: vtd.c:l3e_from_paddr Unexecuted instantiation: ats.c:l3e_from_paddr Unexecuted instantiation: iommu_init.c:l3e_from_paddr Unexecuted instantiation: iommu_map.c:l3e_from_paddr Unexecuted instantiation: pci_amd_iommu.c:l3e_from_paddr Unexecuted instantiation: iommu_intr.c:l3e_from_paddr Unexecuted instantiation: iommu_cmd.c:l3e_from_paddr Unexecuted instantiation: iommu_guest.c:l3e_from_paddr Unexecuted instantiation: numa.c:l3e_from_paddr Unexecuted instantiation: osl.c:l3e_from_paddr Unexecuted instantiation: pmstat.c:l3e_from_paddr Unexecuted instantiation: hwregs.c:l3e_from_paddr Unexecuted instantiation: reboot.c:l3e_from_paddr Unexecuted instantiation: tbutils.c:l3e_from_paddr Unexecuted instantiation: utglobal.c:l3e_from_paddr Unexecuted instantiation: erst.c:l3e_from_paddr Unexecuted instantiation: hest.c:l3e_from_paddr Unexecuted instantiation: apei-base.c:l3e_from_paddr Unexecuted instantiation: apei-io.c:l3e_from_paddr Unexecuted instantiation: vga.c:l3e_from_paddr Unexecuted instantiation: vesa.c:l3e_from_paddr Unexecuted instantiation: xsm_core.c:l3e_from_paddr Unexecuted instantiation: apic.c:l3e_from_paddr Unexecuted instantiation: cpuid.c:l3e_from_paddr Unexecuted instantiation: compat.c:l3e_from_paddr Unexecuted instantiation: crash.c:l3e_from_paddr Unexecuted instantiation: debug.c:l3e_from_paddr Unexecuted instantiation: delay.c:l3e_from_paddr Unexecuted instantiation: domain_page.c:l3e_from_paddr Unexecuted instantiation: e820.c:l3e_from_paddr Unexecuted instantiation: extable.c:l3e_from_paddr Unexecuted instantiation: flushtlb.c:l3e_from_paddr Unexecuted instantiation: hypercall.c:l3e_from_paddr Unexecuted instantiation: i387.c:l3e_from_paddr Unexecuted instantiation: stub.c:l3e_from_paddr Unexecuted instantiation: i8259.c:l3e_from_paddr Unexecuted instantiation: io_apic.c:l3e_from_paddr Unexecuted instantiation: msr.c:l3e_from_paddr Unexecuted instantiation: ioport_emulate.c:l3e_from_paddr Unexecuted instantiation: machine_kexec.c:l3e_from_paddr Unexecuted instantiation: microcode_amd.c:l3e_from_paddr Unexecuted instantiation: microcode_intel.c:l3e_from_paddr Unexecuted instantiation: microcode.c:l3e_from_paddr Line | Count | Source | 142 | 9 | { | 143 | 9 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); | 144 | 9 | return (l3_pgentry_t) { pa | put_pte_flags(flags) }; | 145 | 9 | } |
Unexecuted instantiation: mpparse.c:l3e_from_paddr Unexecuted instantiation: nmi.c:l3e_from_paddr Unexecuted instantiation: percpu.c:l3e_from_paddr Unexecuted instantiation: physdev.c:l3e_from_paddr Unexecuted instantiation: platform_hypercall.c:l3e_from_paddr Unexecuted instantiation: psr.c:l3e_from_paddr Unexecuted instantiation: setup.c:l3e_from_paddr Unexecuted instantiation: smpboot.c:l3e_from_paddr Unexecuted instantiation: srat.c:l3e_from_paddr Unexecuted instantiation: traps.c:l3e_from_paddr Unexecuted instantiation: usercopy.c:l3e_from_paddr Unexecuted instantiation: x86_emulate.c:l3e_from_paddr Unexecuted instantiation: tboot.c:l3e_from_paddr Unexecuted instantiation: hpet.c:l3e_from_paddr Unexecuted instantiation: xstate.c:l3e_from_paddr Unexecuted instantiation: lib.c:l3e_from_paddr Unexecuted instantiation: power.c:l3e_from_paddr Unexecuted instantiation: suspend.c:l3e_from_paddr Unexecuted instantiation: cpu_idle.c:l3e_from_paddr Unexecuted instantiation: cpuidle_menu.c:l3e_from_paddr Unexecuted instantiation: powernow.c:l3e_from_paddr Unexecuted instantiation: amd.c:l3e_from_paddr Unexecuted instantiation: centaur.c:l3e_from_paddr Unexecuted instantiation: common.c:l3e_from_paddr Unexecuted instantiation: intel.c:l3e_from_paddr Unexecuted instantiation: intel_cacheinfo.c:l3e_from_paddr Unexecuted instantiation: mwait-idle.c:l3e_from_paddr Unexecuted instantiation: vpmu.c:l3e_from_paddr Unexecuted instantiation: vpmu_amd.c:l3e_from_paddr Unexecuted instantiation: vpmu_intel.c:l3e_from_paddr Unexecuted instantiation: amd_nonfatal.c:l3e_from_paddr Unexecuted instantiation: mce_amd.c:l3e_from_paddr Unexecuted instantiation: mcaction.c:l3e_from_paddr Unexecuted instantiation: barrier.c:l3e_from_paddr Unexecuted instantiation: mctelem.c:l3e_from_paddr Unexecuted instantiation: mce.c:l3e_from_paddr Unexecuted instantiation: mce-apei.c:l3e_from_paddr Unexecuted instantiation: mce_intel.c:l3e_from_paddr Unexecuted instantiation: non-fatal.c:l3e_from_paddr Unexecuted instantiation: util.c:l3e_from_paddr Unexecuted instantiation: vmce.c:l3e_from_paddr Unexecuted instantiation: generic.c:l3e_from_paddr Unexecuted instantiation: main.c:l3e_from_paddr Unexecuted instantiation: bigsmp.c:l3e_from_paddr Unexecuted instantiation: x2apic.c:l3e_from_paddr Unexecuted instantiation: default.c:l3e_from_paddr Unexecuted instantiation: delivery.c:l3e_from_paddr Unexecuted instantiation: probe.c:l3e_from_paddr Unexecuted instantiation: asid.c:l3e_from_paddr Unexecuted instantiation: dm.c:l3e_from_paddr Unexecuted instantiation: emulate.c:l3e_from_paddr Unexecuted instantiation: hvm.c:l3e_from_paddr Unexecuted instantiation: i8254.c:l3e_from_paddr Unexecuted instantiation: intercept.c:l3e_from_paddr Unexecuted instantiation: ioreq.c:l3e_from_paddr Unexecuted instantiation: mtrr.c:l3e_from_paddr Unexecuted instantiation: nestedhvm.c:l3e_from_paddr Unexecuted instantiation: pmtimer.c:l3e_from_paddr Unexecuted instantiation: rtc.c:l3e_from_paddr Unexecuted instantiation: save.c:l3e_from_paddr Unexecuted instantiation: stdvga.c:l3e_from_paddr Unexecuted instantiation: vioapic.c:l3e_from_paddr Unexecuted instantiation: viridian.c:l3e_from_paddr Unexecuted instantiation: vlapic.c:l3e_from_paddr Unexecuted instantiation: vmsi.c:l3e_from_paddr Unexecuted instantiation: vpic.c:l3e_from_paddr Unexecuted instantiation: vpt.c:l3e_from_paddr Unexecuted instantiation: intr.c:l3e_from_paddr Unexecuted instantiation: nestedsvm.c:l3e_from_paddr Unexecuted instantiation: svm.c:l3e_from_paddr Unexecuted instantiation: svmdebug.c:l3e_from_paddr Unexecuted instantiation: vmcb.c:l3e_from_paddr Unexecuted instantiation: realmode.c:l3e_from_paddr Unexecuted instantiation: vmcs.c:l3e_from_paddr Unexecuted instantiation: vmx.c:l3e_from_paddr Unexecuted instantiation: vvmx.c:l3e_from_paddr Unexecuted instantiation: paging.c:l3e_from_paddr Unexecuted instantiation: p2m.c:l3e_from_paddr Unexecuted instantiation: p2m-pt.c:l3e_from_paddr Unexecuted instantiation: p2m-ept.c:l3e_from_paddr Unexecuted instantiation: p2m-pod.c:l3e_from_paddr Unexecuted instantiation: altp2m.c:l3e_from_paddr Unexecuted instantiation: guest_walk.c:l3e_from_paddr Unexecuted instantiation: mem_paging.c:l3e_from_paddr Unexecuted instantiation: mem_sharing.c:l3e_from_paddr Unexecuted instantiation: multi.c:l3e_from_paddr Unexecuted instantiation: hap.c:l3e_from_paddr Unexecuted instantiation: nested_hap.c:l3e_from_paddr Unexecuted instantiation: nested_ept.c:l3e_from_paddr Unexecuted instantiation: nmi_int.c:l3e_from_paddr Unexecuted instantiation: op_model_p4.c:l3e_from_paddr Unexecuted instantiation: op_model_ppro.c:l3e_from_paddr Unexecuted instantiation: op_model_athlon.c:l3e_from_paddr Unexecuted instantiation: backtrace.c:l3e_from_paddr Unexecuted instantiation: callback.c:l3e_from_paddr Unexecuted instantiation: descriptor-tables.c:l3e_from_paddr Unexecuted instantiation: emul-gate-op.c:l3e_from_paddr Unexecuted instantiation: emul-inv-op.c:l3e_from_paddr Unexecuted instantiation: emul-priv-op.c:l3e_from_paddr Unexecuted instantiation: iret.c:l3e_from_paddr Unexecuted instantiation: misc-hypercalls.c:l3e_from_paddr Unexecuted instantiation: ro-page-fault.c:l3e_from_paddr Unexecuted instantiation: acpi_mmcfg.c:l3e_from_paddr Unexecuted instantiation: mmconf-fam10h.c:l3e_from_paddr Unexecuted instantiation: mmconfig_64.c:l3e_from_paddr |
146 | | static inline l4_pgentry_t l4e_from_paddr(paddr_t pa, unsigned int flags) |
147 | 4 | { |
148 | 4 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); |
149 | 4 | return (l4_pgentry_t) { pa | put_pte_flags(flags) }; |
150 | 4 | } Unexecuted instantiation: mmconfig-shared.c:l4e_from_paddr Unexecuted instantiation: mmconfig_64.c:l4e_from_paddr Unexecuted instantiation: mmconf-fam10h.c:l4e_from_paddr Unexecuted instantiation: acpi_mmcfg.c:l4e_from_paddr Unexecuted instantiation: ro-page-fault.c:l4e_from_paddr Unexecuted instantiation: misc-hypercalls.c:l4e_from_paddr Unexecuted instantiation: iret.c:l4e_from_paddr Unexecuted instantiation: emul-priv-op.c:l4e_from_paddr Unexecuted instantiation: emul-inv-op.c:l4e_from_paddr Unexecuted instantiation: emul-gate-op.c:l4e_from_paddr Unexecuted instantiation: descriptor-tables.c:l4e_from_paddr Unexecuted instantiation: callback.c:l4e_from_paddr Unexecuted instantiation: backtrace.c:l4e_from_paddr Unexecuted instantiation: op_model_athlon.c:l4e_from_paddr Unexecuted instantiation: op_model_ppro.c:l4e_from_paddr Unexecuted instantiation: op_model_p4.c:l4e_from_paddr Unexecuted instantiation: nmi_int.c:l4e_from_paddr Unexecuted instantiation: nested_ept.c:l4e_from_paddr Unexecuted instantiation: nested_hap.c:l4e_from_paddr Unexecuted instantiation: hap.c:l4e_from_paddr Unexecuted instantiation: multi.c:l4e_from_paddr Unexecuted instantiation: mem_sharing.c:l4e_from_paddr Unexecuted instantiation: mem_paging.c:l4e_from_paddr Unexecuted instantiation: guest_walk.c:l4e_from_paddr Unexecuted instantiation: altp2m.c:l4e_from_paddr Unexecuted instantiation: p2m-pod.c:l4e_from_paddr Unexecuted instantiation: p2m-ept.c:l4e_from_paddr Unexecuted instantiation: p2m-pt.c:l4e_from_paddr Unexecuted instantiation: p2m.c:l4e_from_paddr Unexecuted instantiation: paging.c:l4e_from_paddr Unexecuted instantiation: vvmx.c:l4e_from_paddr Unexecuted instantiation: vmx.c:l4e_from_paddr Unexecuted instantiation: vmcs.c:l4e_from_paddr Unexecuted instantiation: realmode.c:l4e_from_paddr Unexecuted instantiation: vmcb.c:l4e_from_paddr Unexecuted instantiation: svmdebug.c:l4e_from_paddr Unexecuted instantiation: svm.c:l4e_from_paddr Unexecuted instantiation: nestedsvm.c:l4e_from_paddr Unexecuted instantiation: intr.c:l4e_from_paddr Unexecuted instantiation: vpt.c:l4e_from_paddr Unexecuted instantiation: vpic.c:l4e_from_paddr Unexecuted instantiation: vmsi.c:l4e_from_paddr Unexecuted instantiation: vlapic.c:l4e_from_paddr Unexecuted instantiation: viridian.c:l4e_from_paddr Unexecuted instantiation: vioapic.c:l4e_from_paddr Unexecuted instantiation: stdvga.c:l4e_from_paddr Unexecuted instantiation: save.c:l4e_from_paddr Unexecuted instantiation: rtc.c:l4e_from_paddr Unexecuted instantiation: pmtimer.c:l4e_from_paddr Unexecuted instantiation: nestedhvm.c:l4e_from_paddr Unexecuted instantiation: mtrr.c:l4e_from_paddr Unexecuted instantiation: ioreq.c:l4e_from_paddr Unexecuted instantiation: intercept.c:l4e_from_paddr Unexecuted instantiation: i8254.c:l4e_from_paddr Unexecuted instantiation: hvm.c:l4e_from_paddr Unexecuted instantiation: emulate.c:l4e_from_paddr Unexecuted instantiation: dm.c:l4e_from_paddr Unexecuted instantiation: asid.c:l4e_from_paddr Unexecuted instantiation: probe.c:l4e_from_paddr Unexecuted instantiation: delivery.c:l4e_from_paddr Unexecuted instantiation: default.c:l4e_from_paddr Unexecuted instantiation: x2apic.c:l4e_from_paddr Unexecuted instantiation: bigsmp.c:l4e_from_paddr Unexecuted instantiation: main.c:l4e_from_paddr Unexecuted instantiation: generic.c:l4e_from_paddr Unexecuted instantiation: vmce.c:l4e_from_paddr Unexecuted instantiation: util.c:l4e_from_paddr Unexecuted instantiation: non-fatal.c:l4e_from_paddr Unexecuted instantiation: mce_intel.c:l4e_from_paddr Unexecuted instantiation: mce-apei.c:l4e_from_paddr Unexecuted instantiation: mce.c:l4e_from_paddr Unexecuted instantiation: mctelem.c:l4e_from_paddr Unexecuted instantiation: barrier.c:l4e_from_paddr Unexecuted instantiation: mcaction.c:l4e_from_paddr Unexecuted instantiation: mce_amd.c:l4e_from_paddr Unexecuted instantiation: amd_nonfatal.c:l4e_from_paddr Unexecuted instantiation: vpmu_intel.c:l4e_from_paddr Unexecuted instantiation: vpmu_amd.c:l4e_from_paddr Unexecuted instantiation: vpmu.c:l4e_from_paddr Unexecuted instantiation: mwait-idle.c:l4e_from_paddr Unexecuted instantiation: intel_cacheinfo.c:l4e_from_paddr Unexecuted instantiation: intel.c:l4e_from_paddr Unexecuted instantiation: common.c:l4e_from_paddr Unexecuted instantiation: centaur.c:l4e_from_paddr Unexecuted instantiation: amd.c:l4e_from_paddr Unexecuted instantiation: powernow.c:l4e_from_paddr Unexecuted instantiation: cpuidle_menu.c:l4e_from_paddr Unexecuted instantiation: cpu_idle.c:l4e_from_paddr Unexecuted instantiation: suspend.c:l4e_from_paddr Unexecuted instantiation: power.c:l4e_from_paddr Unexecuted instantiation: lib.c:l4e_from_paddr Unexecuted instantiation: xstate.c:l4e_from_paddr Unexecuted instantiation: hpet.c:l4e_from_paddr Unexecuted instantiation: tboot.c:l4e_from_paddr Unexecuted instantiation: x86_emulate.c:l4e_from_paddr Unexecuted instantiation: usercopy.c:l4e_from_paddr Unexecuted instantiation: traps.c:l4e_from_paddr Unexecuted instantiation: srat.c:l4e_from_paddr Unexecuted instantiation: smpboot.c:l4e_from_paddr Unexecuted instantiation: setup.c:l4e_from_paddr Unexecuted instantiation: psr.c:l4e_from_paddr Unexecuted instantiation: platform_hypercall.c:l4e_from_paddr Unexecuted instantiation: physdev.c:l4e_from_paddr Unexecuted instantiation: percpu.c:l4e_from_paddr Unexecuted instantiation: nmi.c:l4e_from_paddr Unexecuted instantiation: mpparse.c:l4e_from_paddr Line | Count | Source | 147 | 4 | { | 148 | 4 | ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0); | 149 | 4 | return (l4_pgentry_t) { pa | put_pte_flags(flags) }; | 150 | 4 | } |
Unexecuted instantiation: microcode.c:l4e_from_paddr Unexecuted instantiation: microcode_intel.c:l4e_from_paddr Unexecuted instantiation: microcode_amd.c:l4e_from_paddr Unexecuted instantiation: machine_kexec.c:l4e_from_paddr Unexecuted instantiation: ioport_emulate.c:l4e_from_paddr Unexecuted instantiation: msr.c:l4e_from_paddr Unexecuted instantiation: io_apic.c:l4e_from_paddr Unexecuted instantiation: i8259.c:l4e_from_paddr Unexecuted instantiation: i387.c:l4e_from_paddr Unexecuted instantiation: hypercall.c:l4e_from_paddr Unexecuted instantiation: flushtlb.c:l4e_from_paddr Unexecuted instantiation: extable.c:l4e_from_paddr Unexecuted instantiation: e820.c:l4e_from_paddr Unexecuted instantiation: domain_page.c:l4e_from_paddr Unexecuted instantiation: delay.c:l4e_from_paddr Unexecuted instantiation: debug.c:l4e_from_paddr Unexecuted instantiation: crash.c:l4e_from_paddr Unexecuted instantiation: compat.c:l4e_from_paddr Unexecuted instantiation: cpuid.c:l4e_from_paddr Unexecuted instantiation: apic.c:l4e_from_paddr Unexecuted instantiation: xsm_core.c:l4e_from_paddr Unexecuted instantiation: vesa.c:l4e_from_paddr Unexecuted instantiation: vga.c:l4e_from_paddr Unexecuted instantiation: apei-io.c:l4e_from_paddr Unexecuted instantiation: apei-base.c:l4e_from_paddr Unexecuted instantiation: hest.c:l4e_from_paddr Unexecuted instantiation: erst.c:l4e_from_paddr Unexecuted instantiation: utglobal.c:l4e_from_paddr Unexecuted instantiation: tbutils.c:l4e_from_paddr Unexecuted instantiation: reboot.c:l4e_from_paddr Unexecuted instantiation: hwregs.c:l4e_from_paddr Unexecuted instantiation: pmstat.c:l4e_from_paddr Unexecuted instantiation: osl.c:l4e_from_paddr Unexecuted instantiation: numa.c:l4e_from_paddr Unexecuted instantiation: iommu_guest.c:l4e_from_paddr Unexecuted instantiation: iommu_cmd.c:l4e_from_paddr Unexecuted instantiation: iommu_intr.c:l4e_from_paddr Unexecuted instantiation: pci_amd_iommu.c:l4e_from_paddr Unexecuted instantiation: iommu_map.c:l4e_from_paddr Unexecuted instantiation: iommu_init.c:l4e_from_paddr Unexecuted instantiation: ats.c:l4e_from_paddr Unexecuted instantiation: vtd.c:l4e_from_paddr Unexecuted instantiation: quirks.c:l4e_from_paddr Unexecuted instantiation: intremap.c:l4e_from_paddr Unexecuted instantiation: qinval.c:l4e_from_paddr Unexecuted instantiation: utils.c:l4e_from_paddr Unexecuted instantiation: dmar.c:l4e_from_paddr Unexecuted instantiation: io.c:l4e_from_paddr Unexecuted instantiation: iommu.c:l4e_from_paddr Unexecuted instantiation: msix.c:l4e_from_paddr Unexecuted instantiation: msi.c:l4e_from_paddr Unexecuted instantiation: header.c:l4e_from_paddr Unexecuted instantiation: vpci.c:l4e_from_paddr Unexecuted instantiation: pci.c:l4e_from_paddr Unexecuted instantiation: utility.c:l4e_from_paddr Unexecuted instantiation: cpufreq_misc_governors.c:l4e_from_paddr Unexecuted instantiation: cpufreq_ondemand.c:l4e_from_paddr Unexecuted instantiation: cpufreq.c:l4e_from_paddr Unexecuted instantiation: serial.c:l4e_from_paddr Unexecuted instantiation: ehci-dbgp.c:l4e_from_paddr Unexecuted instantiation: ns16550.c:l4e_from_paddr Unexecuted instantiation: console.c:l4e_from_paddr Unexecuted instantiation: libelf-dominfo.c:l4e_from_paddr Unexecuted instantiation: libelf-loader.c:l4e_from_paddr Unexecuted instantiation: libelf-tools.c:l4e_from_paddr Unexecuted instantiation: stub.c:l4e_from_paddr Unexecuted instantiation: llvm.c:l4e_from_paddr Unexecuted instantiation: tmem_control.c:l4e_from_paddr Unexecuted instantiation: tmem_xen.c:l4e_from_paddr Unexecuted instantiation: tmem.c:l4e_from_paddr Unexecuted instantiation: xmalloc_tlsf.c:l4e_from_paddr Unexecuted instantiation: xenoprof.c:l4e_from_paddr Unexecuted instantiation: wait.c:l4e_from_paddr Unexecuted instantiation: vsprintf.c:l4e_from_paddr Unexecuted instantiation: vmap.c:l4e_from_paddr Unexecuted instantiation: vm_event.c:l4e_from_paddr Unexecuted instantiation: virtual_region.c:l4e_from_paddr Unexecuted instantiation: trace.c:l4e_from_paddr Unexecuted instantiation: timer.c:l4e_from_paddr Unexecuted instantiation: time.c:l4e_from_paddr Unexecuted instantiation: tasklet.c:l4e_from_paddr Unexecuted instantiation: sysctl.c:l4e_from_paddr Unexecuted instantiation: symbols.c:l4e_from_paddr Unexecuted instantiation: stop_machine.c:l4e_from_paddr Unexecuted instantiation: spinlock.c:l4e_from_paddr Unexecuted instantiation: smp.c:l4e_from_paddr Unexecuted instantiation: softirq.c:l4e_from_paddr Unexecuted instantiation: shutdown.c:l4e_from_paddr Unexecuted instantiation: schedule.c:l4e_from_paddr Unexecuted instantiation: sched_null.c:l4e_from_paddr Unexecuted instantiation: sched_rt.c:l4e_from_paddr Unexecuted instantiation: sched_credit2.c:l4e_from_paddr Unexecuted instantiation: sched_credit.c:l4e_from_paddr Unexecuted instantiation: sched_arinc653.c:l4e_from_paddr Unexecuted instantiation: rwlock.c:l4e_from_paddr Unexecuted instantiation: rcupdate.c:l4e_from_paddr Unexecuted instantiation: radix-tree.c:l4e_from_paddr Unexecuted instantiation: rangeset.c:l4e_from_paddr Unexecuted instantiation: random.c:l4e_from_paddr Unexecuted instantiation: preempt.c:l4e_from_paddr Unexecuted instantiation: pdx.c:l4e_from_paddr Unexecuted instantiation: page_alloc.c:l4e_from_paddr Unexecuted instantiation: notifier.c:l4e_from_paddr Unexecuted instantiation: multicall.c:l4e_from_paddr Unexecuted instantiation: monitor.c:l4e_from_paddr Unexecuted instantiation: memory.c:l4e_from_paddr Unexecuted instantiation: mem_access.c:l4e_from_paddr Unexecuted instantiation: kimage.c:l4e_from_paddr Unexecuted instantiation: kexec.c:l4e_from_paddr Unexecuted instantiation: keyhandler.c:l4e_from_paddr Unexecuted instantiation: kernel.c:l4e_from_paddr Unexecuted instantiation: irq.c:l4e_from_paddr Unexecuted instantiation: guestcopy.c:l4e_from_paddr Unexecuted instantiation: grant_table.c:l4e_from_paddr Unexecuted instantiation: event_fifo.c:l4e_from_paddr Unexecuted instantiation: event_channel.c:l4e_from_paddr Unexecuted instantiation: event_2l.c:l4e_from_paddr Unexecuted instantiation: domain.c:l4e_from_paddr Unexecuted instantiation: domctl.c:l4e_from_paddr Unexecuted instantiation: cpupool.c:l4e_from_paddr Unexecuted instantiation: cpu.c:l4e_from_paddr Unexecuted instantiation: core_parking.c:l4e_from_paddr |
151 | | #endif /* !__ASSEMBLY__ */ |
152 | | |
153 | | /* Construct a pte from its direct integer representation. */ |
154 | 0 | #define l1e_from_intpte(intpte) ((l1_pgentry_t) { (intpte_t)(intpte) }) |
155 | 0 | #define l2e_from_intpte(intpte) ((l2_pgentry_t) { (intpte_t)(intpte) }) |
156 | 0 | #define l3e_from_intpte(intpte) ((l3_pgentry_t) { (intpte_t)(intpte) }) |
157 | 0 | #define l4e_from_intpte(intpte) ((l4_pgentry_t) { (intpte_t)(intpte) }) |
158 | | |
159 | | /* Construct a pte from a page pointer and access flags. */ |
160 | 24 | #define l1e_from_page(page, flags) l1e_from_pfn(__page_to_mfn(page), (flags)) |
161 | 1 | #define l2e_from_page(page, flags) l2e_from_pfn(__page_to_mfn(page), (flags)) |
162 | 1 | #define l3e_from_page(page, flags) l3e_from_pfn(__page_to_mfn(page), (flags)) |
163 | 12 | #define l4e_from_page(page, flags) l4e_from_pfn(__page_to_mfn(page), (flags)) |
164 | | |
165 | | /* Add extra flags to an existing pte. */ |
166 | 0 | #define l1e_add_flags(x, flags) ((x).l1 |= put_pte_flags(flags)) |
167 | 24 | #define l2e_add_flags(x, flags) ((x).l2 |= put_pte_flags(flags)) |
168 | 0 | #define l3e_add_flags(x, flags) ((x).l3 |= put_pte_flags(flags)) |
169 | 1 | #define l4e_add_flags(x, flags) ((x).l4 |= put_pte_flags(flags)) |
170 | | |
171 | | /* Remove flags from an existing pte. */ |
172 | 0 | #define l1e_remove_flags(x, flags) ((x).l1 &= ~put_pte_flags(flags)) |
173 | | #define l2e_remove_flags(x, flags) ((x).l2 &= ~put_pte_flags(flags)) |
174 | 0 | #define l3e_remove_flags(x, flags) ((x).l3 &= ~put_pte_flags(flags)) |
175 | | #define l4e_remove_flags(x, flags) ((x).l4 &= ~put_pte_flags(flags)) |
176 | | |
177 | | /* Flip flags in an existing L1 PTE. */ |
178 | 0 | #define l1e_flip_flags(x, flags) ((x).l1 ^= put_pte_flags(flags)) |
179 | | |
180 | | /* Check if a pte's page mapping or significant access flags have changed. */ |
181 | | #define l1e_has_changed(x,y,flags) \ |
182 | 0 | ( !!(((x).l1 ^ (y).l1) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) ) |
183 | | #define l2e_has_changed(x,y,flags) \ |
184 | 0 | ( !!(((x).l2 ^ (y).l2) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) ) |
185 | | #define l3e_has_changed(x,y,flags) \ |
186 | 0 | ( !!(((x).l3 ^ (y).l3) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) ) |
187 | | #define l4e_has_changed(x,y,flags) \ |
188 | 0 | ( !!(((x).l4 ^ (y).l4) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) ) |
189 | | |
190 | | /* Pagetable walking. */ |
191 | 4.95k | #define l2e_to_l1e(x) ((l1_pgentry_t *)__va(l2e_get_paddr(x))) |
192 | 9.36k | #define l3e_to_l2e(x) ((l2_pgentry_t *)__va(l3e_get_paddr(x))) |
193 | 14.0k | #define l4e_to_l3e(x) ((l3_pgentry_t *)__va(l4e_get_paddr(x))) |
194 | | |
195 | 11 | #define map_l1t_from_l2e(x) (l1_pgentry_t *)map_domain_page(l2e_get_mfn(x)) |
196 | 11 | #define map_l2t_from_l3e(x) (l2_pgentry_t *)map_domain_page(l3e_get_mfn(x)) |
197 | 0 | #define map_l3t_from_l4e(x) (l3_pgentry_t *)map_domain_page(l4e_get_mfn(x)) |
198 | | |
199 | | /* Given a virtual address, get an entry offset into a page table. */ |
200 | | #define l1_table_offset(a) \ |
201 | 509k | (((a) >> L1_PAGETABLE_SHIFT) & (L1_PAGETABLE_ENTRIES - 1)) |
202 | | #define l2_table_offset(a) \ |
203 | 739k | (((a) >> L2_PAGETABLE_SHIFT) & (L2_PAGETABLE_ENTRIES - 1)) |
204 | | #define l3_table_offset(a) \ |
205 | 743k | (((a) >> L3_PAGETABLE_SHIFT) & (L3_PAGETABLE_ENTRIES - 1)) |
206 | | #define l4_table_offset(a) \ |
207 | 742k | (((a) >> L4_PAGETABLE_SHIFT) & (L4_PAGETABLE_ENTRIES - 1)) |
208 | | |
209 | | /* Convert a pointer to a page-table entry into pagetable slot index. */ |
210 | | #define pgentry_ptr_to_slot(_p) \ |
211 | 0 | (((unsigned long)(_p) & ~PAGE_MASK) / sizeof(*(_p))) |
212 | | |
213 | | #ifndef __ASSEMBLY__ |
214 | | |
215 | | /* Page-table type. */ |
216 | | typedef struct { u64 pfn; } pagetable_t; |
217 | 0 | #define pagetable_get_paddr(x) ((paddr_t)(x).pfn << PAGE_SHIFT) |
218 | 0 | #define pagetable_get_page(x) __mfn_to_page((x).pfn) |
219 | 23 | #define pagetable_get_pfn(x) ((x).pfn) |
220 | 7.59M | #define pagetable_get_mfn(x) _mfn(((x).pfn)) |
221 | 97 | #define pagetable_is_null(x) ((x).pfn == 0) |
222 | 0 | #define pagetable_from_pfn(pfn) ((pagetable_t) { (pfn) }) |
223 | 23 | #define pagetable_from_mfn(mfn) ((pagetable_t) { mfn_x(mfn) }) |
224 | 0 | #define pagetable_from_page(pg) pagetable_from_pfn(__page_to_mfn(pg)) |
225 | | #define pagetable_from_paddr(p) pagetable_from_pfn((p)>>PAGE_SHIFT) |
226 | 0 | #define pagetable_null() pagetable_from_pfn(0) |
227 | | |
228 | | void clear_page_sse2(void *); |
229 | | void copy_page_sse2(void *, const void *); |
230 | | |
231 | 1.54k | #define clear_page(_p) clear_page_sse2(_p) |
232 | 0 | #define copy_page(_t, _f) copy_page_sse2(_t, _f) |
233 | | |
234 | | /* Convert between Xen-heap virtual addresses and machine addresses. */ |
235 | 52 | #define __pa(x) (virt_to_maddr(x)) |
236 | 28.4k | #define __va(x) (maddr_to_virt(x)) |
237 | | |
238 | | /* Convert between Xen-heap virtual addresses and machine frame numbers. */ |
239 | 4 | #define __virt_to_mfn(va) (virt_to_maddr(va) >> PAGE_SHIFT) |
240 | 43.7M | #define __mfn_to_virt(mfn) (maddr_to_virt((paddr_t)(mfn) << PAGE_SHIFT)) |
241 | | |
242 | | /* Convert between machine frame numbers and page-info structures. */ |
243 | 3.69M | #define __mfn_to_page(mfn) (frame_table + pfn_to_pdx(mfn)) |
244 | 30.6M | #define __page_to_mfn(pg) pdx_to_pfn((unsigned long)((pg) - frame_table)) |
245 | | |
246 | | /* Convert between machine addresses and page-info structures. */ |
247 | 0 | #define __maddr_to_page(ma) __mfn_to_page((ma) >> PAGE_SHIFT) |
248 | 12.4M | #define __page_to_maddr(pg) ((paddr_t)__page_to_mfn(pg) << PAGE_SHIFT) |
249 | | |
250 | | /* Convert between frame number and address formats. */ |
251 | 425k | #define __pfn_to_paddr(pfn) ((paddr_t)(pfn) << PAGE_SHIFT) |
252 | 31.1M | #define __paddr_to_pfn(pa) ((unsigned long)((pa) >> PAGE_SHIFT)) |
253 | 365k | #define gfn_to_gaddr(gfn) __pfn_to_paddr(gfn_x(gfn)) |
254 | 8.52k | #define gaddr_to_gfn(ga) _gfn(__paddr_to_pfn(ga)) |
255 | 0 | #define mfn_to_maddr(mfn) __pfn_to_paddr(mfn_x(mfn)) |
256 | 0 | #define maddr_to_mfn(ma) _mfn(__paddr_to_pfn(ma)) |
257 | | |
258 | | /* |
259 | | * We define non-underscored wrappers for above conversion functions. These are |
260 | | * overridden in various source files while underscored versions remain intact. |
261 | | */ |
262 | 14.1M | #define mfn_valid(mfn) __mfn_valid(mfn_x(mfn)) |
263 | 4 | #define virt_to_mfn(va) __virt_to_mfn(va) |
264 | 43.7M | #define mfn_to_virt(mfn) __mfn_to_virt(mfn) |
265 | 218k | #define virt_to_maddr(va) __virt_to_maddr((unsigned long)(va)) |
266 | 43.7M | #define maddr_to_virt(ma) __maddr_to_virt((unsigned long)(ma)) |
267 | 1.71M | #define mfn_to_page(mfn) __mfn_to_page(mfn) |
268 | 16.9M | #define page_to_mfn(pg) __page_to_mfn(pg) |
269 | 0 | #define maddr_to_page(ma) __maddr_to_page(ma) |
270 | 12.4M | #define page_to_maddr(pg) __page_to_maddr(pg) |
271 | 12 | #define virt_to_page(va) __virt_to_page(va) |
272 | 197 | #define page_to_virt(pg) __page_to_virt(pg) |
273 | 60.2k | #define pfn_to_paddr(pfn) __pfn_to_paddr(pfn) |
274 | 31.1M | #define paddr_to_pfn(pa) __paddr_to_pfn(pa) |
275 | 12.4M | #define paddr_to_pdx(pa) pfn_to_pdx(paddr_to_pfn(pa)) |
276 | | #define vmap_to_mfn(va) l1e_get_pfn(*virt_to_xen_l1e((unsigned long)(va))) |
277 | 0 | #define vmap_to_page(va) mfn_to_page(vmap_to_mfn(va)) |
278 | | |
279 | | #endif /* !defined(__ASSEMBLY__) */ |
280 | | |
281 | | /* Where to find each level of the linear mapping */ |
282 | 0 | #define __linear_l1_table ((l1_pgentry_t *)(LINEAR_PT_VIRT_START)) |
283 | | #define __linear_l2_table \ |
284 | 0 | ((l2_pgentry_t *)(__linear_l1_table + l1_linear_offset(LINEAR_PT_VIRT_START))) |
285 | | #define __linear_l3_table \ |
286 | 0 | ((l3_pgentry_t *)(__linear_l2_table + l2_linear_offset(LINEAR_PT_VIRT_START))) |
287 | | #define __linear_l4_table \ |
288 | 0 | ((l4_pgentry_t *)(__linear_l3_table + l3_linear_offset(LINEAR_PT_VIRT_START))) |
289 | | |
290 | | |
291 | | #ifndef __ASSEMBLY__ |
292 | | extern root_pgentry_t idle_pg_table[ROOT_PAGETABLE_ENTRIES]; |
293 | | extern l2_pgentry_t *compat_idle_pg_table_l2; |
294 | | extern unsigned int m2p_compat_vstart; |
295 | | extern l2_pgentry_t l2_xenmap[L2_PAGETABLE_ENTRIES], |
296 | | l2_bootmap[4*L2_PAGETABLE_ENTRIES]; |
297 | | extern l3_pgentry_t l3_bootmap[L3_PAGETABLE_ENTRIES]; |
298 | | extern l2_pgentry_t l2_identmap[4*L2_PAGETABLE_ENTRIES]; |
299 | | extern l1_pgentry_t l1_fixmap[L1_PAGETABLE_ENTRIES]; |
300 | | void paging_init(void); |
301 | | void efi_update_l4_pgtable(unsigned int l4idx, l4_pgentry_t); |
302 | | #endif /* !defined(__ASSEMBLY__) */ |
303 | | |
304 | 8 | #define _PAGE_NONE _AC(0x000,U) |
305 | 1.88M | #define _PAGE_PRESENT _AC(0x001,U) |
306 | 964k | #define _PAGE_RW _AC(0x002,U) |
307 | 1.68M | #define _PAGE_USER _AC(0x004,U) |
308 | 225k | #define _PAGE_PWT _AC(0x008,U) |
309 | 225k | #define _PAGE_PCD _AC(0x010,U) |
310 | 1.83M | #define _PAGE_ACCESSED _AC(0x020,U) |
311 | 1.83M | #define _PAGE_DIRTY _AC(0x040,U) |
312 | 452k | #define _PAGE_PAT _AC(0x080,U) |
313 | 2.94M | #define _PAGE_PSE _AC(0x080,U) |
314 | 739k | #define _PAGE_GLOBAL _AC(0x100,U) |
315 | 1.29k | #define _PAGE_AVAIL0 _AC(0x200,U) |
316 | | #define _PAGE_AVAIL1 _AC(0x400,U) |
317 | | #define _PAGE_AVAIL2 _AC(0x800,U) |
318 | 1 | #define _PAGE_AVAIL _AC(0xE00,U) |
319 | 451k | #define _PAGE_PSE_PAT _AC(0x1000,U) |
320 | 1 | #define _PAGE_AVAIL_HIGH (_AC(0x7ff, U) << 12) |
321 | 8.16k | #define _PAGE_NX (cpu_has_nx ? _PAGE_NX_BIT : 0) |
322 | | |
323 | 28 | #define PAGE_CACHE_ATTRS (_PAGE_PAT | _PAGE_PCD | _PAGE_PWT) |
324 | | |
325 | | /* |
326 | | * Debug option: Ensure that granted mappings are not implicitly unmapped. |
327 | | * WARNING: This will need to be disabled to run OSes that use the spare PTE |
328 | | * bits themselves (e.g., *BSD). |
329 | | */ |
330 | | #ifdef NDEBUG |
331 | | #undef _PAGE_GNTTAB |
332 | | #endif |
333 | | #ifndef _PAGE_GNTTAB |
334 | | #define _PAGE_GNTTAB 0 |
335 | | #endif |
336 | | |
337 | 8.11k | #define __PAGE_HYPERVISOR_RO (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_NX) |
338 | 8.11k | #define __PAGE_HYPERVISOR_RW (__PAGE_HYPERVISOR_RO | \ |
339 | 8.11k | _PAGE_DIRTY | _PAGE_RW) |
340 | 55 | #define __PAGE_HYPERVISOR_RX (_PAGE_PRESENT | _PAGE_ACCESSED) |
341 | 42 | #define __PAGE_HYPERVISOR (__PAGE_HYPERVISOR_RX | \ |
342 | 42 | _PAGE_DIRTY | _PAGE_RW) |
343 | 38 | #define __PAGE_HYPERVISOR_UCMINUS (__PAGE_HYPERVISOR | _PAGE_PCD) |
344 | 1 | #define __PAGE_HYPERVISOR_UC (__PAGE_HYPERVISOR | _PAGE_PCD | _PAGE_PWT) |
345 | | |
346 | 1.29k | #define MAP_SMALL_PAGES _PAGE_AVAIL0 /* don't use superpages mappings */ |
347 | | |
348 | | #ifndef __ASSEMBLY__ |
349 | | |
350 | | /* Allocator functions for Xen pagetables. */ |
351 | | void *alloc_xen_pagetable(void); |
352 | | void free_xen_pagetable(void *v); |
353 | | l1_pgentry_t *virt_to_xen_l1e(unsigned long v); |
354 | | |
355 | | /* Convert between PAT/PCD/PWT embedded in PTE flags and 3-bit cacheattr. */ |
356 | | static inline unsigned int pte_flags_to_cacheattr(unsigned int flags) |
357 | 0 | { |
358 | 0 | return ((flags >> 5) & 4) | ((flags >> 3) & 3); |
359 | 0 | } Unexecuted instantiation: mmconfig-shared.c:pte_flags_to_cacheattr Unexecuted instantiation: mmconfig_64.c:pte_flags_to_cacheattr Unexecuted instantiation: mmconf-fam10h.c:pte_flags_to_cacheattr Unexecuted instantiation: acpi_mmcfg.c:pte_flags_to_cacheattr Unexecuted instantiation: ro-page-fault.c:pte_flags_to_cacheattr Unexecuted instantiation: misc-hypercalls.c:pte_flags_to_cacheattr Unexecuted instantiation: iret.c:pte_flags_to_cacheattr Unexecuted instantiation: emul-priv-op.c:pte_flags_to_cacheattr Unexecuted instantiation: emul-inv-op.c:pte_flags_to_cacheattr Unexecuted instantiation: emul-gate-op.c:pte_flags_to_cacheattr Unexecuted instantiation: descriptor-tables.c:pte_flags_to_cacheattr Unexecuted instantiation: callback.c:pte_flags_to_cacheattr Unexecuted instantiation: backtrace.c:pte_flags_to_cacheattr Unexecuted instantiation: op_model_athlon.c:pte_flags_to_cacheattr Unexecuted instantiation: op_model_ppro.c:pte_flags_to_cacheattr Unexecuted instantiation: op_model_p4.c:pte_flags_to_cacheattr Unexecuted instantiation: nmi_int.c:pte_flags_to_cacheattr Unexecuted instantiation: nested_ept.c:pte_flags_to_cacheattr Unexecuted instantiation: nested_hap.c:pte_flags_to_cacheattr Unexecuted instantiation: hap.c:pte_flags_to_cacheattr Unexecuted instantiation: multi.c:pte_flags_to_cacheattr Unexecuted instantiation: mem_sharing.c:pte_flags_to_cacheattr Unexecuted instantiation: mem_paging.c:pte_flags_to_cacheattr Unexecuted instantiation: guest_walk.c:pte_flags_to_cacheattr Unexecuted instantiation: altp2m.c:pte_flags_to_cacheattr Unexecuted instantiation: p2m-pod.c:pte_flags_to_cacheattr Unexecuted instantiation: p2m-ept.c:pte_flags_to_cacheattr Unexecuted instantiation: p2m-pt.c:pte_flags_to_cacheattr Unexecuted instantiation: p2m.c:pte_flags_to_cacheattr Unexecuted instantiation: paging.c:pte_flags_to_cacheattr Unexecuted instantiation: vvmx.c:pte_flags_to_cacheattr Unexecuted instantiation: vmx.c:pte_flags_to_cacheattr Unexecuted instantiation: vmcs.c:pte_flags_to_cacheattr Unexecuted instantiation: realmode.c:pte_flags_to_cacheattr Unexecuted instantiation: vmcb.c:pte_flags_to_cacheattr Unexecuted instantiation: svmdebug.c:pte_flags_to_cacheattr Unexecuted instantiation: svm.c:pte_flags_to_cacheattr Unexecuted instantiation: nestedsvm.c:pte_flags_to_cacheattr Unexecuted instantiation: intr.c:pte_flags_to_cacheattr Unexecuted instantiation: vpt.c:pte_flags_to_cacheattr Unexecuted instantiation: vpic.c:pte_flags_to_cacheattr Unexecuted instantiation: vmsi.c:pte_flags_to_cacheattr Unexecuted instantiation: vlapic.c:pte_flags_to_cacheattr Unexecuted instantiation: viridian.c:pte_flags_to_cacheattr Unexecuted instantiation: vioapic.c:pte_flags_to_cacheattr Unexecuted instantiation: stdvga.c:pte_flags_to_cacheattr Unexecuted instantiation: save.c:pte_flags_to_cacheattr Unexecuted instantiation: rtc.c:pte_flags_to_cacheattr Unexecuted instantiation: pmtimer.c:pte_flags_to_cacheattr Unexecuted instantiation: nestedhvm.c:pte_flags_to_cacheattr Unexecuted instantiation: mtrr.c:pte_flags_to_cacheattr Unexecuted instantiation: ioreq.c:pte_flags_to_cacheattr Unexecuted instantiation: intercept.c:pte_flags_to_cacheattr Unexecuted instantiation: i8254.c:pte_flags_to_cacheattr Unexecuted instantiation: hvm.c:pte_flags_to_cacheattr Unexecuted instantiation: emulate.c:pte_flags_to_cacheattr Unexecuted instantiation: dm.c:pte_flags_to_cacheattr Unexecuted instantiation: probe.c:pte_flags_to_cacheattr Unexecuted instantiation: delivery.c:pte_flags_to_cacheattr Unexecuted instantiation: default.c:pte_flags_to_cacheattr Unexecuted instantiation: x2apic.c:pte_flags_to_cacheattr Unexecuted instantiation: bigsmp.c:pte_flags_to_cacheattr Unexecuted instantiation: main.c:pte_flags_to_cacheattr Unexecuted instantiation: generic.c:pte_flags_to_cacheattr Unexecuted instantiation: vmce.c:pte_flags_to_cacheattr Unexecuted instantiation: util.c:pte_flags_to_cacheattr Unexecuted instantiation: non-fatal.c:pte_flags_to_cacheattr Unexecuted instantiation: mce_intel.c:pte_flags_to_cacheattr Unexecuted instantiation: mce-apei.c:pte_flags_to_cacheattr Unexecuted instantiation: mce.c:pte_flags_to_cacheattr Unexecuted instantiation: mctelem.c:pte_flags_to_cacheattr Unexecuted instantiation: barrier.c:pte_flags_to_cacheattr Unexecuted instantiation: mcaction.c:pte_flags_to_cacheattr Unexecuted instantiation: mce_amd.c:pte_flags_to_cacheattr Unexecuted instantiation: amd_nonfatal.c:pte_flags_to_cacheattr Unexecuted instantiation: vpmu_intel.c:pte_flags_to_cacheattr Unexecuted instantiation: vpmu_amd.c:pte_flags_to_cacheattr Unexecuted instantiation: vpmu.c:pte_flags_to_cacheattr Unexecuted instantiation: mwait-idle.c:pte_flags_to_cacheattr Unexecuted instantiation: intel_cacheinfo.c:pte_flags_to_cacheattr Unexecuted instantiation: intel.c:pte_flags_to_cacheattr Unexecuted instantiation: common.c:pte_flags_to_cacheattr Unexecuted instantiation: centaur.c:pte_flags_to_cacheattr Unexecuted instantiation: amd.c:pte_flags_to_cacheattr Unexecuted instantiation: powernow.c:pte_flags_to_cacheattr Unexecuted instantiation: cpuidle_menu.c:pte_flags_to_cacheattr Unexecuted instantiation: cpu_idle.c:pte_flags_to_cacheattr Unexecuted instantiation: suspend.c:pte_flags_to_cacheattr Unexecuted instantiation: power.c:pte_flags_to_cacheattr Unexecuted instantiation: lib.c:pte_flags_to_cacheattr Unexecuted instantiation: xstate.c:pte_flags_to_cacheattr Unexecuted instantiation: hpet.c:pte_flags_to_cacheattr Unexecuted instantiation: tboot.c:pte_flags_to_cacheattr Unexecuted instantiation: x86_emulate.c:pte_flags_to_cacheattr Unexecuted instantiation: usercopy.c:pte_flags_to_cacheattr Unexecuted instantiation: traps.c:pte_flags_to_cacheattr Unexecuted instantiation: srat.c:pte_flags_to_cacheattr Unexecuted instantiation: smpboot.c:pte_flags_to_cacheattr Unexecuted instantiation: setup.c:pte_flags_to_cacheattr Unexecuted instantiation: psr.c:pte_flags_to_cacheattr Unexecuted instantiation: platform_hypercall.c:pte_flags_to_cacheattr Unexecuted instantiation: physdev.c:pte_flags_to_cacheattr Unexecuted instantiation: percpu.c:pte_flags_to_cacheattr Unexecuted instantiation: nmi.c:pte_flags_to_cacheattr Unexecuted instantiation: mpparse.c:pte_flags_to_cacheattr Unexecuted instantiation: mm.c:pte_flags_to_cacheattr Unexecuted instantiation: microcode.c:pte_flags_to_cacheattr Unexecuted instantiation: microcode_intel.c:pte_flags_to_cacheattr Unexecuted instantiation: microcode_amd.c:pte_flags_to_cacheattr Unexecuted instantiation: machine_kexec.c:pte_flags_to_cacheattr Unexecuted instantiation: ioport_emulate.c:pte_flags_to_cacheattr Unexecuted instantiation: msr.c:pte_flags_to_cacheattr Unexecuted instantiation: io_apic.c:pte_flags_to_cacheattr Unexecuted instantiation: i8259.c:pte_flags_to_cacheattr Unexecuted instantiation: i387.c:pte_flags_to_cacheattr Unexecuted instantiation: hypercall.c:pte_flags_to_cacheattr Unexecuted instantiation: flushtlb.c:pte_flags_to_cacheattr Unexecuted instantiation: extable.c:pte_flags_to_cacheattr Unexecuted instantiation: e820.c:pte_flags_to_cacheattr Unexecuted instantiation: domain_page.c:pte_flags_to_cacheattr Unexecuted instantiation: delay.c:pte_flags_to_cacheattr Unexecuted instantiation: debug.c:pte_flags_to_cacheattr Unexecuted instantiation: crash.c:pte_flags_to_cacheattr Unexecuted instantiation: compat.c:pte_flags_to_cacheattr Unexecuted instantiation: cpuid.c:pte_flags_to_cacheattr Unexecuted instantiation: apic.c:pte_flags_to_cacheattr Unexecuted instantiation: xsm_core.c:pte_flags_to_cacheattr Unexecuted instantiation: vesa.c:pte_flags_to_cacheattr Unexecuted instantiation: vga.c:pte_flags_to_cacheattr Unexecuted instantiation: apei-io.c:pte_flags_to_cacheattr Unexecuted instantiation: apei-base.c:pte_flags_to_cacheattr Unexecuted instantiation: hest.c:pte_flags_to_cacheattr Unexecuted instantiation: erst.c:pte_flags_to_cacheattr Unexecuted instantiation: utglobal.c:pte_flags_to_cacheattr Unexecuted instantiation: tbutils.c:pte_flags_to_cacheattr Unexecuted instantiation: reboot.c:pte_flags_to_cacheattr Unexecuted instantiation: hwregs.c:pte_flags_to_cacheattr Unexecuted instantiation: pmstat.c:pte_flags_to_cacheattr Unexecuted instantiation: osl.c:pte_flags_to_cacheattr Unexecuted instantiation: numa.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu_guest.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu_cmd.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu_intr.c:pte_flags_to_cacheattr Unexecuted instantiation: pci_amd_iommu.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu_map.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu_init.c:pte_flags_to_cacheattr Unexecuted instantiation: ats.c:pte_flags_to_cacheattr Unexecuted instantiation: vtd.c:pte_flags_to_cacheattr Unexecuted instantiation: quirks.c:pte_flags_to_cacheattr Unexecuted instantiation: intremap.c:pte_flags_to_cacheattr Unexecuted instantiation: qinval.c:pte_flags_to_cacheattr Unexecuted instantiation: utils.c:pte_flags_to_cacheattr Unexecuted instantiation: dmar.c:pte_flags_to_cacheattr Unexecuted instantiation: io.c:pte_flags_to_cacheattr Unexecuted instantiation: iommu.c:pte_flags_to_cacheattr Unexecuted instantiation: msix.c:pte_flags_to_cacheattr Unexecuted instantiation: msi.c:pte_flags_to_cacheattr Unexecuted instantiation: header.c:pte_flags_to_cacheattr Unexecuted instantiation: vpci.c:pte_flags_to_cacheattr Unexecuted instantiation: pci.c:pte_flags_to_cacheattr Unexecuted instantiation: utility.c:pte_flags_to_cacheattr Unexecuted instantiation: cpufreq_misc_governors.c:pte_flags_to_cacheattr Unexecuted instantiation: cpufreq_ondemand.c:pte_flags_to_cacheattr Unexecuted instantiation: cpufreq.c:pte_flags_to_cacheattr Unexecuted instantiation: serial.c:pte_flags_to_cacheattr Unexecuted instantiation: ehci-dbgp.c:pte_flags_to_cacheattr Unexecuted instantiation: ns16550.c:pte_flags_to_cacheattr Unexecuted instantiation: console.c:pte_flags_to_cacheattr Unexecuted instantiation: libelf-dominfo.c:pte_flags_to_cacheattr Unexecuted instantiation: libelf-loader.c:pte_flags_to_cacheattr Unexecuted instantiation: libelf-tools.c:pte_flags_to_cacheattr Unexecuted instantiation: llvm.c:pte_flags_to_cacheattr Unexecuted instantiation: tmem_control.c:pte_flags_to_cacheattr Unexecuted instantiation: tmem_xen.c:pte_flags_to_cacheattr Unexecuted instantiation: tmem.c:pte_flags_to_cacheattr Unexecuted instantiation: xmalloc_tlsf.c:pte_flags_to_cacheattr Unexecuted instantiation: xenoprof.c:pte_flags_to_cacheattr Unexecuted instantiation: wait.c:pte_flags_to_cacheattr Unexecuted instantiation: vsprintf.c:pte_flags_to_cacheattr Unexecuted instantiation: vmap.c:pte_flags_to_cacheattr Unexecuted instantiation: vm_event.c:pte_flags_to_cacheattr Unexecuted instantiation: virtual_region.c:pte_flags_to_cacheattr Unexecuted instantiation: trace.c:pte_flags_to_cacheattr Unexecuted instantiation: timer.c:pte_flags_to_cacheattr Unexecuted instantiation: time.c:pte_flags_to_cacheattr Unexecuted instantiation: tasklet.c:pte_flags_to_cacheattr Unexecuted instantiation: sysctl.c:pte_flags_to_cacheattr Unexecuted instantiation: symbols.c:pte_flags_to_cacheattr Unexecuted instantiation: stop_machine.c:pte_flags_to_cacheattr Unexecuted instantiation: spinlock.c:pte_flags_to_cacheattr Unexecuted instantiation: smp.c:pte_flags_to_cacheattr Unexecuted instantiation: softirq.c:pte_flags_to_cacheattr Unexecuted instantiation: shutdown.c:pte_flags_to_cacheattr Unexecuted instantiation: schedule.c:pte_flags_to_cacheattr Unexecuted instantiation: sched_null.c:pte_flags_to_cacheattr Unexecuted instantiation: sched_rt.c:pte_flags_to_cacheattr Unexecuted instantiation: sched_credit2.c:pte_flags_to_cacheattr Unexecuted instantiation: sched_credit.c:pte_flags_to_cacheattr Unexecuted instantiation: sched_arinc653.c:pte_flags_to_cacheattr Unexecuted instantiation: rwlock.c:pte_flags_to_cacheattr Unexecuted instantiation: rcupdate.c:pte_flags_to_cacheattr Unexecuted instantiation: radix-tree.c:pte_flags_to_cacheattr Unexecuted instantiation: rangeset.c:pte_flags_to_cacheattr Unexecuted instantiation: random.c:pte_flags_to_cacheattr Unexecuted instantiation: preempt.c:pte_flags_to_cacheattr Unexecuted instantiation: pdx.c:pte_flags_to_cacheattr Unexecuted instantiation: page_alloc.c:pte_flags_to_cacheattr Unexecuted instantiation: notifier.c:pte_flags_to_cacheattr Unexecuted instantiation: multicall.c:pte_flags_to_cacheattr Unexecuted instantiation: monitor.c:pte_flags_to_cacheattr Unexecuted instantiation: memory.c:pte_flags_to_cacheattr Unexecuted instantiation: mem_access.c:pte_flags_to_cacheattr Unexecuted instantiation: kimage.c:pte_flags_to_cacheattr Unexecuted instantiation: kexec.c:pte_flags_to_cacheattr Unexecuted instantiation: keyhandler.c:pte_flags_to_cacheattr Unexecuted instantiation: kernel.c:pte_flags_to_cacheattr Unexecuted instantiation: irq.c:pte_flags_to_cacheattr Unexecuted instantiation: guestcopy.c:pte_flags_to_cacheattr Unexecuted instantiation: grant_table.c:pte_flags_to_cacheattr Unexecuted instantiation: event_fifo.c:pte_flags_to_cacheattr Unexecuted instantiation: event_channel.c:pte_flags_to_cacheattr Unexecuted instantiation: event_2l.c:pte_flags_to_cacheattr Unexecuted instantiation: domain.c:pte_flags_to_cacheattr Unexecuted instantiation: domctl.c:pte_flags_to_cacheattr Unexecuted instantiation: cpupool.c:pte_flags_to_cacheattr Unexecuted instantiation: cpu.c:pte_flags_to_cacheattr Unexecuted instantiation: core_parking.c:pte_flags_to_cacheattr Unexecuted instantiation: stub.c:pte_flags_to_cacheattr Unexecuted instantiation: asid.c:pte_flags_to_cacheattr |
360 | | static inline unsigned int cacheattr_to_pte_flags(unsigned int cacheattr) |
361 | 0 | { |
362 | 0 | return ((cacheattr & 4) << 5) | ((cacheattr & 3) << 3); |
363 | 0 | } Unexecuted instantiation: mmconfig-shared.c:cacheattr_to_pte_flags Unexecuted instantiation: mmconfig_64.c:cacheattr_to_pte_flags Unexecuted instantiation: mmconf-fam10h.c:cacheattr_to_pte_flags Unexecuted instantiation: acpi_mmcfg.c:cacheattr_to_pte_flags Unexecuted instantiation: ro-page-fault.c:cacheattr_to_pte_flags Unexecuted instantiation: misc-hypercalls.c:cacheattr_to_pte_flags Unexecuted instantiation: iret.c:cacheattr_to_pte_flags Unexecuted instantiation: emul-priv-op.c:cacheattr_to_pte_flags Unexecuted instantiation: emul-inv-op.c:cacheattr_to_pte_flags Unexecuted instantiation: emul-gate-op.c:cacheattr_to_pte_flags Unexecuted instantiation: descriptor-tables.c:cacheattr_to_pte_flags Unexecuted instantiation: callback.c:cacheattr_to_pte_flags Unexecuted instantiation: backtrace.c:cacheattr_to_pte_flags Unexecuted instantiation: op_model_athlon.c:cacheattr_to_pte_flags Unexecuted instantiation: op_model_ppro.c:cacheattr_to_pte_flags Unexecuted instantiation: op_model_p4.c:cacheattr_to_pte_flags Unexecuted instantiation: nmi_int.c:cacheattr_to_pte_flags Unexecuted instantiation: nested_ept.c:cacheattr_to_pte_flags Unexecuted instantiation: nested_hap.c:cacheattr_to_pte_flags Unexecuted instantiation: hap.c:cacheattr_to_pte_flags Unexecuted instantiation: multi.c:cacheattr_to_pte_flags Unexecuted instantiation: mem_sharing.c:cacheattr_to_pte_flags Unexecuted instantiation: mem_paging.c:cacheattr_to_pte_flags Unexecuted instantiation: guest_walk.c:cacheattr_to_pte_flags Unexecuted instantiation: altp2m.c:cacheattr_to_pte_flags Unexecuted instantiation: p2m-pod.c:cacheattr_to_pte_flags Unexecuted instantiation: p2m-ept.c:cacheattr_to_pte_flags Unexecuted instantiation: p2m-pt.c:cacheattr_to_pte_flags Unexecuted instantiation: p2m.c:cacheattr_to_pte_flags Unexecuted instantiation: paging.c:cacheattr_to_pte_flags Unexecuted instantiation: vvmx.c:cacheattr_to_pte_flags Unexecuted instantiation: vmx.c:cacheattr_to_pte_flags Unexecuted instantiation: vmcs.c:cacheattr_to_pte_flags Unexecuted instantiation: realmode.c:cacheattr_to_pte_flags Unexecuted instantiation: vmcb.c:cacheattr_to_pte_flags Unexecuted instantiation: svmdebug.c:cacheattr_to_pte_flags Unexecuted instantiation: svm.c:cacheattr_to_pte_flags Unexecuted instantiation: nestedsvm.c:cacheattr_to_pte_flags Unexecuted instantiation: intr.c:cacheattr_to_pte_flags Unexecuted instantiation: vpt.c:cacheattr_to_pte_flags Unexecuted instantiation: vpic.c:cacheattr_to_pte_flags Unexecuted instantiation: vmsi.c:cacheattr_to_pte_flags Unexecuted instantiation: vlapic.c:cacheattr_to_pte_flags Unexecuted instantiation: viridian.c:cacheattr_to_pte_flags Unexecuted instantiation: vioapic.c:cacheattr_to_pte_flags Unexecuted instantiation: stdvga.c:cacheattr_to_pte_flags Unexecuted instantiation: save.c:cacheattr_to_pte_flags Unexecuted instantiation: rtc.c:cacheattr_to_pte_flags Unexecuted instantiation: pmtimer.c:cacheattr_to_pte_flags Unexecuted instantiation: nestedhvm.c:cacheattr_to_pte_flags Unexecuted instantiation: mtrr.c:cacheattr_to_pte_flags Unexecuted instantiation: ioreq.c:cacheattr_to_pte_flags Unexecuted instantiation: intercept.c:cacheattr_to_pte_flags Unexecuted instantiation: i8254.c:cacheattr_to_pte_flags Unexecuted instantiation: hvm.c:cacheattr_to_pte_flags Unexecuted instantiation: emulate.c:cacheattr_to_pte_flags Unexecuted instantiation: dm.c:cacheattr_to_pte_flags Unexecuted instantiation: asid.c:cacheattr_to_pte_flags Unexecuted instantiation: probe.c:cacheattr_to_pte_flags Unexecuted instantiation: delivery.c:cacheattr_to_pte_flags Unexecuted instantiation: default.c:cacheattr_to_pte_flags Unexecuted instantiation: x2apic.c:cacheattr_to_pte_flags Unexecuted instantiation: bigsmp.c:cacheattr_to_pte_flags Unexecuted instantiation: main.c:cacheattr_to_pte_flags Unexecuted instantiation: generic.c:cacheattr_to_pte_flags Unexecuted instantiation: vmce.c:cacheattr_to_pte_flags Unexecuted instantiation: util.c:cacheattr_to_pte_flags Unexecuted instantiation: non-fatal.c:cacheattr_to_pte_flags Unexecuted instantiation: mce_intel.c:cacheattr_to_pte_flags Unexecuted instantiation: mce-apei.c:cacheattr_to_pte_flags Unexecuted instantiation: mce.c:cacheattr_to_pte_flags Unexecuted instantiation: mctelem.c:cacheattr_to_pte_flags Unexecuted instantiation: barrier.c:cacheattr_to_pte_flags Unexecuted instantiation: mcaction.c:cacheattr_to_pte_flags Unexecuted instantiation: mce_amd.c:cacheattr_to_pte_flags Unexecuted instantiation: amd_nonfatal.c:cacheattr_to_pte_flags Unexecuted instantiation: vpmu_intel.c:cacheattr_to_pte_flags Unexecuted instantiation: vpmu_amd.c:cacheattr_to_pte_flags Unexecuted instantiation: vpmu.c:cacheattr_to_pte_flags Unexecuted instantiation: mwait-idle.c:cacheattr_to_pte_flags Unexecuted instantiation: intel_cacheinfo.c:cacheattr_to_pte_flags Unexecuted instantiation: intel.c:cacheattr_to_pte_flags Unexecuted instantiation: common.c:cacheattr_to_pte_flags Unexecuted instantiation: centaur.c:cacheattr_to_pte_flags Unexecuted instantiation: amd.c:cacheattr_to_pte_flags Unexecuted instantiation: powernow.c:cacheattr_to_pte_flags Unexecuted instantiation: cpuidle_menu.c:cacheattr_to_pte_flags Unexecuted instantiation: cpu_idle.c:cacheattr_to_pte_flags Unexecuted instantiation: suspend.c:cacheattr_to_pte_flags Unexecuted instantiation: power.c:cacheattr_to_pte_flags Unexecuted instantiation: lib.c:cacheattr_to_pte_flags Unexecuted instantiation: xstate.c:cacheattr_to_pte_flags Unexecuted instantiation: hpet.c:cacheattr_to_pte_flags Unexecuted instantiation: tboot.c:cacheattr_to_pte_flags Unexecuted instantiation: x86_emulate.c:cacheattr_to_pte_flags Unexecuted instantiation: usercopy.c:cacheattr_to_pte_flags Unexecuted instantiation: traps.c:cacheattr_to_pte_flags Unexecuted instantiation: srat.c:cacheattr_to_pte_flags Unexecuted instantiation: smpboot.c:cacheattr_to_pte_flags Unexecuted instantiation: setup.c:cacheattr_to_pte_flags Unexecuted instantiation: psr.c:cacheattr_to_pte_flags Unexecuted instantiation: platform_hypercall.c:cacheattr_to_pte_flags Unexecuted instantiation: physdev.c:cacheattr_to_pte_flags Unexecuted instantiation: percpu.c:cacheattr_to_pte_flags Unexecuted instantiation: nmi.c:cacheattr_to_pte_flags Unexecuted instantiation: mpparse.c:cacheattr_to_pte_flags Unexecuted instantiation: mm.c:cacheattr_to_pte_flags Unexecuted instantiation: microcode.c:cacheattr_to_pte_flags Unexecuted instantiation: microcode_intel.c:cacheattr_to_pte_flags Unexecuted instantiation: microcode_amd.c:cacheattr_to_pte_flags Unexecuted instantiation: machine_kexec.c:cacheattr_to_pte_flags Unexecuted instantiation: ioport_emulate.c:cacheattr_to_pte_flags Unexecuted instantiation: msr.c:cacheattr_to_pte_flags Unexecuted instantiation: io_apic.c:cacheattr_to_pte_flags Unexecuted instantiation: i8259.c:cacheattr_to_pte_flags Unexecuted instantiation: i387.c:cacheattr_to_pte_flags Unexecuted instantiation: hypercall.c:cacheattr_to_pte_flags Unexecuted instantiation: flushtlb.c:cacheattr_to_pte_flags Unexecuted instantiation: extable.c:cacheattr_to_pte_flags Unexecuted instantiation: e820.c:cacheattr_to_pte_flags Unexecuted instantiation: domain_page.c:cacheattr_to_pte_flags Unexecuted instantiation: delay.c:cacheattr_to_pte_flags Unexecuted instantiation: debug.c:cacheattr_to_pte_flags Unexecuted instantiation: crash.c:cacheattr_to_pte_flags Unexecuted instantiation: compat.c:cacheattr_to_pte_flags Unexecuted instantiation: cpuid.c:cacheattr_to_pte_flags Unexecuted instantiation: apic.c:cacheattr_to_pte_flags Unexecuted instantiation: xsm_core.c:cacheattr_to_pte_flags Unexecuted instantiation: vesa.c:cacheattr_to_pte_flags Unexecuted instantiation: vga.c:cacheattr_to_pte_flags Unexecuted instantiation: apei-io.c:cacheattr_to_pte_flags Unexecuted instantiation: apei-base.c:cacheattr_to_pte_flags Unexecuted instantiation: hest.c:cacheattr_to_pte_flags Unexecuted instantiation: erst.c:cacheattr_to_pte_flags Unexecuted instantiation: utglobal.c:cacheattr_to_pte_flags Unexecuted instantiation: tbutils.c:cacheattr_to_pte_flags Unexecuted instantiation: reboot.c:cacheattr_to_pte_flags Unexecuted instantiation: hwregs.c:cacheattr_to_pte_flags Unexecuted instantiation: pmstat.c:cacheattr_to_pte_flags Unexecuted instantiation: osl.c:cacheattr_to_pte_flags Unexecuted instantiation: numa.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu_guest.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu_cmd.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu_intr.c:cacheattr_to_pte_flags Unexecuted instantiation: pci_amd_iommu.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu_map.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu_init.c:cacheattr_to_pte_flags Unexecuted instantiation: ats.c:cacheattr_to_pte_flags Unexecuted instantiation: vtd.c:cacheattr_to_pte_flags Unexecuted instantiation: quirks.c:cacheattr_to_pte_flags Unexecuted instantiation: intremap.c:cacheattr_to_pte_flags Unexecuted instantiation: qinval.c:cacheattr_to_pte_flags Unexecuted instantiation: utils.c:cacheattr_to_pte_flags Unexecuted instantiation: dmar.c:cacheattr_to_pte_flags Unexecuted instantiation: io.c:cacheattr_to_pte_flags Unexecuted instantiation: iommu.c:cacheattr_to_pte_flags Unexecuted instantiation: msix.c:cacheattr_to_pte_flags Unexecuted instantiation: msi.c:cacheattr_to_pte_flags Unexecuted instantiation: header.c:cacheattr_to_pte_flags Unexecuted instantiation: vpci.c:cacheattr_to_pte_flags Unexecuted instantiation: pci.c:cacheattr_to_pte_flags Unexecuted instantiation: utility.c:cacheattr_to_pte_flags Unexecuted instantiation: cpufreq_misc_governors.c:cacheattr_to_pte_flags Unexecuted instantiation: cpufreq_ondemand.c:cacheattr_to_pte_flags Unexecuted instantiation: cpufreq.c:cacheattr_to_pte_flags Unexecuted instantiation: serial.c:cacheattr_to_pte_flags Unexecuted instantiation: ehci-dbgp.c:cacheattr_to_pte_flags Unexecuted instantiation: ns16550.c:cacheattr_to_pte_flags Unexecuted instantiation: console.c:cacheattr_to_pte_flags Unexecuted instantiation: libelf-dominfo.c:cacheattr_to_pte_flags Unexecuted instantiation: libelf-loader.c:cacheattr_to_pte_flags Unexecuted instantiation: libelf-tools.c:cacheattr_to_pte_flags Unexecuted instantiation: llvm.c:cacheattr_to_pte_flags Unexecuted instantiation: tmem_control.c:cacheattr_to_pte_flags Unexecuted instantiation: tmem_xen.c:cacheattr_to_pte_flags Unexecuted instantiation: tmem.c:cacheattr_to_pte_flags Unexecuted instantiation: xmalloc_tlsf.c:cacheattr_to_pte_flags Unexecuted instantiation: xenoprof.c:cacheattr_to_pte_flags Unexecuted instantiation: wait.c:cacheattr_to_pte_flags Unexecuted instantiation: vsprintf.c:cacheattr_to_pte_flags Unexecuted instantiation: vmap.c:cacheattr_to_pte_flags Unexecuted instantiation: vm_event.c:cacheattr_to_pte_flags Unexecuted instantiation: virtual_region.c:cacheattr_to_pte_flags Unexecuted instantiation: trace.c:cacheattr_to_pte_flags Unexecuted instantiation: timer.c:cacheattr_to_pte_flags Unexecuted instantiation: time.c:cacheattr_to_pte_flags Unexecuted instantiation: tasklet.c:cacheattr_to_pte_flags Unexecuted instantiation: sysctl.c:cacheattr_to_pte_flags Unexecuted instantiation: symbols.c:cacheattr_to_pte_flags Unexecuted instantiation: stop_machine.c:cacheattr_to_pte_flags Unexecuted instantiation: spinlock.c:cacheattr_to_pte_flags Unexecuted instantiation: smp.c:cacheattr_to_pte_flags Unexecuted instantiation: softirq.c:cacheattr_to_pte_flags Unexecuted instantiation: shutdown.c:cacheattr_to_pte_flags Unexecuted instantiation: schedule.c:cacheattr_to_pte_flags Unexecuted instantiation: sched_null.c:cacheattr_to_pte_flags Unexecuted instantiation: sched_rt.c:cacheattr_to_pte_flags Unexecuted instantiation: sched_credit2.c:cacheattr_to_pte_flags Unexecuted instantiation: sched_credit.c:cacheattr_to_pte_flags Unexecuted instantiation: sched_arinc653.c:cacheattr_to_pte_flags Unexecuted instantiation: rwlock.c:cacheattr_to_pte_flags Unexecuted instantiation: rcupdate.c:cacheattr_to_pte_flags Unexecuted instantiation: radix-tree.c:cacheattr_to_pte_flags Unexecuted instantiation: rangeset.c:cacheattr_to_pte_flags Unexecuted instantiation: random.c:cacheattr_to_pte_flags Unexecuted instantiation: preempt.c:cacheattr_to_pte_flags Unexecuted instantiation: pdx.c:cacheattr_to_pte_flags Unexecuted instantiation: page_alloc.c:cacheattr_to_pte_flags Unexecuted instantiation: notifier.c:cacheattr_to_pte_flags Unexecuted instantiation: multicall.c:cacheattr_to_pte_flags Unexecuted instantiation: monitor.c:cacheattr_to_pte_flags Unexecuted instantiation: memory.c:cacheattr_to_pte_flags Unexecuted instantiation: mem_access.c:cacheattr_to_pte_flags Unexecuted instantiation: kimage.c:cacheattr_to_pte_flags Unexecuted instantiation: kexec.c:cacheattr_to_pte_flags Unexecuted instantiation: keyhandler.c:cacheattr_to_pte_flags Unexecuted instantiation: kernel.c:cacheattr_to_pte_flags Unexecuted instantiation: irq.c:cacheattr_to_pte_flags Unexecuted instantiation: guestcopy.c:cacheattr_to_pte_flags Unexecuted instantiation: grant_table.c:cacheattr_to_pte_flags Unexecuted instantiation: event_fifo.c:cacheattr_to_pte_flags Unexecuted instantiation: event_channel.c:cacheattr_to_pte_flags Unexecuted instantiation: event_2l.c:cacheattr_to_pte_flags Unexecuted instantiation: domain.c:cacheattr_to_pte_flags Unexecuted instantiation: domctl.c:cacheattr_to_pte_flags Unexecuted instantiation: cpupool.c:cacheattr_to_pte_flags Unexecuted instantiation: cpu.c:cacheattr_to_pte_flags Unexecuted instantiation: core_parking.c:cacheattr_to_pte_flags Unexecuted instantiation: stub.c:cacheattr_to_pte_flags |
364 | | |
365 | | /* return true if permission increased */ |
366 | | static inline bool_t |
367 | | perms_strictly_increased(uint32_t old_flags, uint32_t new_flags) |
368 | | /* Given the flags of two entries, are the new flags a strict |
369 | | * increase in rights over the old ones? */ |
370 | 0 | { |
371 | 0 | uint32_t of = old_flags & (_PAGE_PRESENT|_PAGE_RW|_PAGE_USER|_PAGE_NX_BIT); |
372 | 0 | uint32_t nf = new_flags & (_PAGE_PRESENT|_PAGE_RW|_PAGE_USER|_PAGE_NX_BIT); |
373 | 0 | /* Flip the NX bit, since it's the only one that decreases rights; |
374 | 0 | * we calculate as if it were an "X" bit. */ |
375 | 0 | of ^= _PAGE_NX_BIT; |
376 | 0 | nf ^= _PAGE_NX_BIT; |
377 | 0 | /* If the changed bits are all set in the new flags, then rights strictly |
378 | 0 | * increased between old and new. */ |
379 | 0 | return ((of | (of ^ nf)) == nf); |
380 | 0 | } Unexecuted instantiation: stub.c:perms_strictly_increased Unexecuted instantiation: core_parking.c:perms_strictly_increased Unexecuted instantiation: cpu.c:perms_strictly_increased Unexecuted instantiation: cpupool.c:perms_strictly_increased Unexecuted instantiation: domctl.c:perms_strictly_increased Unexecuted instantiation: domain.c:perms_strictly_increased Unexecuted instantiation: event_2l.c:perms_strictly_increased Unexecuted instantiation: event_channel.c:perms_strictly_increased Unexecuted instantiation: event_fifo.c:perms_strictly_increased Unexecuted instantiation: grant_table.c:perms_strictly_increased Unexecuted instantiation: guestcopy.c:perms_strictly_increased Unexecuted instantiation: irq.c:perms_strictly_increased Unexecuted instantiation: kernel.c:perms_strictly_increased Unexecuted instantiation: keyhandler.c:perms_strictly_increased Unexecuted instantiation: kexec.c:perms_strictly_increased Unexecuted instantiation: kimage.c:perms_strictly_increased Unexecuted instantiation: mem_access.c:perms_strictly_increased Unexecuted instantiation: memory.c:perms_strictly_increased Unexecuted instantiation: monitor.c:perms_strictly_increased Unexecuted instantiation: multicall.c:perms_strictly_increased Unexecuted instantiation: notifier.c:perms_strictly_increased Unexecuted instantiation: page_alloc.c:perms_strictly_increased Unexecuted instantiation: pdx.c:perms_strictly_increased Unexecuted instantiation: preempt.c:perms_strictly_increased Unexecuted instantiation: random.c:perms_strictly_increased Unexecuted instantiation: rangeset.c:perms_strictly_increased Unexecuted instantiation: radix-tree.c:perms_strictly_increased Unexecuted instantiation: rcupdate.c:perms_strictly_increased Unexecuted instantiation: rwlock.c:perms_strictly_increased Unexecuted instantiation: sched_arinc653.c:perms_strictly_increased Unexecuted instantiation: sched_credit.c:perms_strictly_increased Unexecuted instantiation: sched_credit2.c:perms_strictly_increased Unexecuted instantiation: sched_rt.c:perms_strictly_increased Unexecuted instantiation: sched_null.c:perms_strictly_increased Unexecuted instantiation: schedule.c:perms_strictly_increased Unexecuted instantiation: shutdown.c:perms_strictly_increased Unexecuted instantiation: softirq.c:perms_strictly_increased Unexecuted instantiation: smp.c:perms_strictly_increased Unexecuted instantiation: spinlock.c:perms_strictly_increased Unexecuted instantiation: stop_machine.c:perms_strictly_increased Unexecuted instantiation: symbols.c:perms_strictly_increased Unexecuted instantiation: sysctl.c:perms_strictly_increased Unexecuted instantiation: tasklet.c:perms_strictly_increased Unexecuted instantiation: time.c:perms_strictly_increased Unexecuted instantiation: timer.c:perms_strictly_increased Unexecuted instantiation: trace.c:perms_strictly_increased Unexecuted instantiation: virtual_region.c:perms_strictly_increased Unexecuted instantiation: vm_event.c:perms_strictly_increased Unexecuted instantiation: vmap.c:perms_strictly_increased Unexecuted instantiation: vsprintf.c:perms_strictly_increased Unexecuted instantiation: wait.c:perms_strictly_increased Unexecuted instantiation: xenoprof.c:perms_strictly_increased Unexecuted instantiation: xmalloc_tlsf.c:perms_strictly_increased Unexecuted instantiation: tmem.c:perms_strictly_increased Unexecuted instantiation: tmem_xen.c:perms_strictly_increased Unexecuted instantiation: tmem_control.c:perms_strictly_increased Unexecuted instantiation: llvm.c:perms_strictly_increased Unexecuted instantiation: libelf-tools.c:perms_strictly_increased Unexecuted instantiation: libelf-loader.c:perms_strictly_increased Unexecuted instantiation: libelf-dominfo.c:perms_strictly_increased Unexecuted instantiation: console.c:perms_strictly_increased Unexecuted instantiation: ns16550.c:perms_strictly_increased Unexecuted instantiation: ehci-dbgp.c:perms_strictly_increased Unexecuted instantiation: serial.c:perms_strictly_increased Unexecuted instantiation: cpufreq.c:perms_strictly_increased Unexecuted instantiation: cpufreq_ondemand.c:perms_strictly_increased Unexecuted instantiation: cpufreq_misc_governors.c:perms_strictly_increased Unexecuted instantiation: utility.c:perms_strictly_increased Unexecuted instantiation: pci.c:perms_strictly_increased Unexecuted instantiation: vpci.c:perms_strictly_increased Unexecuted instantiation: header.c:perms_strictly_increased Unexecuted instantiation: msi.c:perms_strictly_increased Unexecuted instantiation: msix.c:perms_strictly_increased Unexecuted instantiation: iommu.c:perms_strictly_increased Unexecuted instantiation: io.c:perms_strictly_increased Unexecuted instantiation: dmar.c:perms_strictly_increased Unexecuted instantiation: utils.c:perms_strictly_increased Unexecuted instantiation: qinval.c:perms_strictly_increased Unexecuted instantiation: intremap.c:perms_strictly_increased Unexecuted instantiation: quirks.c:perms_strictly_increased Unexecuted instantiation: vtd.c:perms_strictly_increased Unexecuted instantiation: ats.c:perms_strictly_increased Unexecuted instantiation: iommu_init.c:perms_strictly_increased Unexecuted instantiation: iommu_map.c:perms_strictly_increased Unexecuted instantiation: pci_amd_iommu.c:perms_strictly_increased Unexecuted instantiation: iommu_intr.c:perms_strictly_increased Unexecuted instantiation: iommu_cmd.c:perms_strictly_increased Unexecuted instantiation: iommu_guest.c:perms_strictly_increased Unexecuted instantiation: numa.c:perms_strictly_increased Unexecuted instantiation: osl.c:perms_strictly_increased Unexecuted instantiation: pmstat.c:perms_strictly_increased Unexecuted instantiation: hwregs.c:perms_strictly_increased Unexecuted instantiation: reboot.c:perms_strictly_increased Unexecuted instantiation: tbutils.c:perms_strictly_increased Unexecuted instantiation: utglobal.c:perms_strictly_increased Unexecuted instantiation: erst.c:perms_strictly_increased Unexecuted instantiation: hest.c:perms_strictly_increased Unexecuted instantiation: apei-base.c:perms_strictly_increased Unexecuted instantiation: apei-io.c:perms_strictly_increased Unexecuted instantiation: vga.c:perms_strictly_increased Unexecuted instantiation: vesa.c:perms_strictly_increased Unexecuted instantiation: xsm_core.c:perms_strictly_increased Unexecuted instantiation: apic.c:perms_strictly_increased Unexecuted instantiation: cpuid.c:perms_strictly_increased Unexecuted instantiation: compat.c:perms_strictly_increased Unexecuted instantiation: crash.c:perms_strictly_increased Unexecuted instantiation: debug.c:perms_strictly_increased Unexecuted instantiation: delay.c:perms_strictly_increased Unexecuted instantiation: domain_page.c:perms_strictly_increased Unexecuted instantiation: e820.c:perms_strictly_increased Unexecuted instantiation: extable.c:perms_strictly_increased Unexecuted instantiation: flushtlb.c:perms_strictly_increased Unexecuted instantiation: hypercall.c:perms_strictly_increased Unexecuted instantiation: i387.c:perms_strictly_increased Unexecuted instantiation: i8259.c:perms_strictly_increased Unexecuted instantiation: io_apic.c:perms_strictly_increased Unexecuted instantiation: msr.c:perms_strictly_increased Unexecuted instantiation: ioport_emulate.c:perms_strictly_increased Unexecuted instantiation: machine_kexec.c:perms_strictly_increased Unexecuted instantiation: microcode_amd.c:perms_strictly_increased Unexecuted instantiation: microcode_intel.c:perms_strictly_increased Unexecuted instantiation: microcode.c:perms_strictly_increased Unexecuted instantiation: mm.c:perms_strictly_increased Unexecuted instantiation: mpparse.c:perms_strictly_increased Unexecuted instantiation: nmi.c:perms_strictly_increased Unexecuted instantiation: percpu.c:perms_strictly_increased Unexecuted instantiation: physdev.c:perms_strictly_increased Unexecuted instantiation: platform_hypercall.c:perms_strictly_increased Unexecuted instantiation: psr.c:perms_strictly_increased Unexecuted instantiation: setup.c:perms_strictly_increased Unexecuted instantiation: smpboot.c:perms_strictly_increased Unexecuted instantiation: srat.c:perms_strictly_increased Unexecuted instantiation: traps.c:perms_strictly_increased Unexecuted instantiation: usercopy.c:perms_strictly_increased Unexecuted instantiation: x86_emulate.c:perms_strictly_increased Unexecuted instantiation: tboot.c:perms_strictly_increased Unexecuted instantiation: hpet.c:perms_strictly_increased Unexecuted instantiation: xstate.c:perms_strictly_increased Unexecuted instantiation: lib.c:perms_strictly_increased Unexecuted instantiation: power.c:perms_strictly_increased Unexecuted instantiation: suspend.c:perms_strictly_increased Unexecuted instantiation: cpu_idle.c:perms_strictly_increased Unexecuted instantiation: cpuidle_menu.c:perms_strictly_increased Unexecuted instantiation: powernow.c:perms_strictly_increased Unexecuted instantiation: amd.c:perms_strictly_increased Unexecuted instantiation: centaur.c:perms_strictly_increased Unexecuted instantiation: common.c:perms_strictly_increased Unexecuted instantiation: intel.c:perms_strictly_increased Unexecuted instantiation: intel_cacheinfo.c:perms_strictly_increased Unexecuted instantiation: mwait-idle.c:perms_strictly_increased Unexecuted instantiation: vpmu.c:perms_strictly_increased Unexecuted instantiation: vpmu_amd.c:perms_strictly_increased Unexecuted instantiation: vpmu_intel.c:perms_strictly_increased Unexecuted instantiation: amd_nonfatal.c:perms_strictly_increased Unexecuted instantiation: mce_amd.c:perms_strictly_increased Unexecuted instantiation: mcaction.c:perms_strictly_increased Unexecuted instantiation: barrier.c:perms_strictly_increased Unexecuted instantiation: mctelem.c:perms_strictly_increased Unexecuted instantiation: mce.c:perms_strictly_increased Unexecuted instantiation: mce-apei.c:perms_strictly_increased Unexecuted instantiation: mce_intel.c:perms_strictly_increased Unexecuted instantiation: non-fatal.c:perms_strictly_increased Unexecuted instantiation: util.c:perms_strictly_increased Unexecuted instantiation: vmce.c:perms_strictly_increased Unexecuted instantiation: generic.c:perms_strictly_increased Unexecuted instantiation: main.c:perms_strictly_increased Unexecuted instantiation: bigsmp.c:perms_strictly_increased Unexecuted instantiation: x2apic.c:perms_strictly_increased Unexecuted instantiation: default.c:perms_strictly_increased Unexecuted instantiation: delivery.c:perms_strictly_increased Unexecuted instantiation: probe.c:perms_strictly_increased Unexecuted instantiation: asid.c:perms_strictly_increased Unexecuted instantiation: dm.c:perms_strictly_increased Unexecuted instantiation: emulate.c:perms_strictly_increased Unexecuted instantiation: hvm.c:perms_strictly_increased Unexecuted instantiation: i8254.c:perms_strictly_increased Unexecuted instantiation: intercept.c:perms_strictly_increased Unexecuted instantiation: ioreq.c:perms_strictly_increased Unexecuted instantiation: mtrr.c:perms_strictly_increased Unexecuted instantiation: nestedhvm.c:perms_strictly_increased Unexecuted instantiation: pmtimer.c:perms_strictly_increased Unexecuted instantiation: rtc.c:perms_strictly_increased Unexecuted instantiation: save.c:perms_strictly_increased Unexecuted instantiation: stdvga.c:perms_strictly_increased Unexecuted instantiation: vioapic.c:perms_strictly_increased Unexecuted instantiation: viridian.c:perms_strictly_increased Unexecuted instantiation: vlapic.c:perms_strictly_increased Unexecuted instantiation: vmsi.c:perms_strictly_increased Unexecuted instantiation: vpic.c:perms_strictly_increased Unexecuted instantiation: vpt.c:perms_strictly_increased Unexecuted instantiation: intr.c:perms_strictly_increased Unexecuted instantiation: nestedsvm.c:perms_strictly_increased Unexecuted instantiation: svm.c:perms_strictly_increased Unexecuted instantiation: svmdebug.c:perms_strictly_increased Unexecuted instantiation: vmcb.c:perms_strictly_increased Unexecuted instantiation: realmode.c:perms_strictly_increased Unexecuted instantiation: vmcs.c:perms_strictly_increased Unexecuted instantiation: vmx.c:perms_strictly_increased Unexecuted instantiation: vvmx.c:perms_strictly_increased Unexecuted instantiation: paging.c:perms_strictly_increased Unexecuted instantiation: p2m.c:perms_strictly_increased Unexecuted instantiation: p2m-pt.c:perms_strictly_increased Unexecuted instantiation: p2m-ept.c:perms_strictly_increased Unexecuted instantiation: p2m-pod.c:perms_strictly_increased Unexecuted instantiation: altp2m.c:perms_strictly_increased Unexecuted instantiation: guest_walk.c:perms_strictly_increased Unexecuted instantiation: mem_paging.c:perms_strictly_increased Unexecuted instantiation: mem_sharing.c:perms_strictly_increased Unexecuted instantiation: multi.c:perms_strictly_increased Unexecuted instantiation: hap.c:perms_strictly_increased Unexecuted instantiation: nested_hap.c:perms_strictly_increased Unexecuted instantiation: nested_ept.c:perms_strictly_increased Unexecuted instantiation: nmi_int.c:perms_strictly_increased Unexecuted instantiation: op_model_p4.c:perms_strictly_increased Unexecuted instantiation: op_model_ppro.c:perms_strictly_increased Unexecuted instantiation: op_model_athlon.c:perms_strictly_increased Unexecuted instantiation: backtrace.c:perms_strictly_increased Unexecuted instantiation: callback.c:perms_strictly_increased Unexecuted instantiation: descriptor-tables.c:perms_strictly_increased Unexecuted instantiation: emul-gate-op.c:perms_strictly_increased Unexecuted instantiation: emul-inv-op.c:perms_strictly_increased Unexecuted instantiation: emul-priv-op.c:perms_strictly_increased Unexecuted instantiation: iret.c:perms_strictly_increased Unexecuted instantiation: misc-hypercalls.c:perms_strictly_increased Unexecuted instantiation: ro-page-fault.c:perms_strictly_increased Unexecuted instantiation: acpi_mmcfg.c:perms_strictly_increased Unexecuted instantiation: mmconf-fam10h.c:perms_strictly_increased Unexecuted instantiation: mmconfig_64.c:perms_strictly_increased Unexecuted instantiation: mmconfig-shared.c:perms_strictly_increased |
381 | | |
382 | | static inline void invalidate_icache(void) |
383 | 0 | { |
384 | 0 | /* |
385 | 0 | * There is nothing to be done here as icaches are sufficiently |
386 | 0 | * coherent on x86. |
387 | 0 | */ |
388 | 0 | } Unexecuted instantiation: mmconfig-shared.c:invalidate_icache Unexecuted instantiation: mmconfig_64.c:invalidate_icache Unexecuted instantiation: mmconf-fam10h.c:invalidate_icache Unexecuted instantiation: acpi_mmcfg.c:invalidate_icache Unexecuted instantiation: ro-page-fault.c:invalidate_icache Unexecuted instantiation: misc-hypercalls.c:invalidate_icache Unexecuted instantiation: iret.c:invalidate_icache Unexecuted instantiation: emul-priv-op.c:invalidate_icache Unexecuted instantiation: emul-inv-op.c:invalidate_icache Unexecuted instantiation: emul-gate-op.c:invalidate_icache Unexecuted instantiation: descriptor-tables.c:invalidate_icache Unexecuted instantiation: callback.c:invalidate_icache Unexecuted instantiation: backtrace.c:invalidate_icache Unexecuted instantiation: op_model_athlon.c:invalidate_icache Unexecuted instantiation: op_model_ppro.c:invalidate_icache Unexecuted instantiation: op_model_p4.c:invalidate_icache Unexecuted instantiation: nmi_int.c:invalidate_icache Unexecuted instantiation: nested_ept.c:invalidate_icache Unexecuted instantiation: nested_hap.c:invalidate_icache Unexecuted instantiation: hap.c:invalidate_icache Unexecuted instantiation: multi.c:invalidate_icache Unexecuted instantiation: mem_sharing.c:invalidate_icache Unexecuted instantiation: mem_paging.c:invalidate_icache Unexecuted instantiation: guest_walk.c:invalidate_icache Unexecuted instantiation: altp2m.c:invalidate_icache Unexecuted instantiation: p2m-pod.c:invalidate_icache Unexecuted instantiation: p2m-ept.c:invalidate_icache Unexecuted instantiation: p2m-pt.c:invalidate_icache Unexecuted instantiation: p2m.c:invalidate_icache Unexecuted instantiation: paging.c:invalidate_icache Unexecuted instantiation: vvmx.c:invalidate_icache Unexecuted instantiation: vmx.c:invalidate_icache Unexecuted instantiation: vmcs.c:invalidate_icache Unexecuted instantiation: realmode.c:invalidate_icache Unexecuted instantiation: vmcb.c:invalidate_icache Unexecuted instantiation: svmdebug.c:invalidate_icache Unexecuted instantiation: svm.c:invalidate_icache Unexecuted instantiation: nestedsvm.c:invalidate_icache Unexecuted instantiation: intr.c:invalidate_icache Unexecuted instantiation: vpt.c:invalidate_icache Unexecuted instantiation: vpic.c:invalidate_icache Unexecuted instantiation: vmsi.c:invalidate_icache Unexecuted instantiation: vlapic.c:invalidate_icache Unexecuted instantiation: viridian.c:invalidate_icache Unexecuted instantiation: vioapic.c:invalidate_icache Unexecuted instantiation: stdvga.c:invalidate_icache Unexecuted instantiation: save.c:invalidate_icache Unexecuted instantiation: rtc.c:invalidate_icache Unexecuted instantiation: pmtimer.c:invalidate_icache Unexecuted instantiation: nestedhvm.c:invalidate_icache Unexecuted instantiation: mtrr.c:invalidate_icache Unexecuted instantiation: ioreq.c:invalidate_icache Unexecuted instantiation: intercept.c:invalidate_icache Unexecuted instantiation: i8254.c:invalidate_icache Unexecuted instantiation: hvm.c:invalidate_icache Unexecuted instantiation: emulate.c:invalidate_icache Unexecuted instantiation: dm.c:invalidate_icache Unexecuted instantiation: asid.c:invalidate_icache Unexecuted instantiation: probe.c:invalidate_icache Unexecuted instantiation: delivery.c:invalidate_icache Unexecuted instantiation: default.c:invalidate_icache Unexecuted instantiation: x2apic.c:invalidate_icache Unexecuted instantiation: bigsmp.c:invalidate_icache Unexecuted instantiation: main.c:invalidate_icache Unexecuted instantiation: generic.c:invalidate_icache Unexecuted instantiation: vmce.c:invalidate_icache Unexecuted instantiation: util.c:invalidate_icache Unexecuted instantiation: non-fatal.c:invalidate_icache Unexecuted instantiation: mce_intel.c:invalidate_icache Unexecuted instantiation: mce-apei.c:invalidate_icache Unexecuted instantiation: mce.c:invalidate_icache Unexecuted instantiation: mctelem.c:invalidate_icache Unexecuted instantiation: barrier.c:invalidate_icache Unexecuted instantiation: mcaction.c:invalidate_icache Unexecuted instantiation: mce_amd.c:invalidate_icache Unexecuted instantiation: amd_nonfatal.c:invalidate_icache Unexecuted instantiation: vpmu_intel.c:invalidate_icache Unexecuted instantiation: vpmu_amd.c:invalidate_icache Unexecuted instantiation: vpmu.c:invalidate_icache Unexecuted instantiation: mwait-idle.c:invalidate_icache Unexecuted instantiation: intel_cacheinfo.c:invalidate_icache Unexecuted instantiation: intel.c:invalidate_icache Unexecuted instantiation: common.c:invalidate_icache Unexecuted instantiation: centaur.c:invalidate_icache Unexecuted instantiation: amd.c:invalidate_icache Unexecuted instantiation: powernow.c:invalidate_icache Unexecuted instantiation: cpuidle_menu.c:invalidate_icache Unexecuted instantiation: cpu_idle.c:invalidate_icache Unexecuted instantiation: suspend.c:invalidate_icache Unexecuted instantiation: power.c:invalidate_icache Unexecuted instantiation: lib.c:invalidate_icache Unexecuted instantiation: xstate.c:invalidate_icache Unexecuted instantiation: hpet.c:invalidate_icache Unexecuted instantiation: tboot.c:invalidate_icache Unexecuted instantiation: x86_emulate.c:invalidate_icache Unexecuted instantiation: usercopy.c:invalidate_icache Unexecuted instantiation: traps.c:invalidate_icache Unexecuted instantiation: srat.c:invalidate_icache Unexecuted instantiation: smpboot.c:invalidate_icache Unexecuted instantiation: setup.c:invalidate_icache Unexecuted instantiation: psr.c:invalidate_icache Unexecuted instantiation: platform_hypercall.c:invalidate_icache Unexecuted instantiation: physdev.c:invalidate_icache Unexecuted instantiation: percpu.c:invalidate_icache Unexecuted instantiation: nmi.c:invalidate_icache Unexecuted instantiation: mpparse.c:invalidate_icache Unexecuted instantiation: mm.c:invalidate_icache Unexecuted instantiation: microcode.c:invalidate_icache Unexecuted instantiation: microcode_intel.c:invalidate_icache Unexecuted instantiation: microcode_amd.c:invalidate_icache Unexecuted instantiation: machine_kexec.c:invalidate_icache Unexecuted instantiation: ioport_emulate.c:invalidate_icache Unexecuted instantiation: msr.c:invalidate_icache Unexecuted instantiation: io_apic.c:invalidate_icache Unexecuted instantiation: i8259.c:invalidate_icache Unexecuted instantiation: i387.c:invalidate_icache Unexecuted instantiation: hypercall.c:invalidate_icache Unexecuted instantiation: flushtlb.c:invalidate_icache Unexecuted instantiation: extable.c:invalidate_icache Unexecuted instantiation: e820.c:invalidate_icache Unexecuted instantiation: domain_page.c:invalidate_icache Unexecuted instantiation: delay.c:invalidate_icache Unexecuted instantiation: debug.c:invalidate_icache Unexecuted instantiation: crash.c:invalidate_icache Unexecuted instantiation: compat.c:invalidate_icache Unexecuted instantiation: cpuid.c:invalidate_icache Unexecuted instantiation: apic.c:invalidate_icache Unexecuted instantiation: xsm_core.c:invalidate_icache Unexecuted instantiation: vesa.c:invalidate_icache Unexecuted instantiation: vga.c:invalidate_icache Unexecuted instantiation: apei-io.c:invalidate_icache Unexecuted instantiation: apei-base.c:invalidate_icache Unexecuted instantiation: hest.c:invalidate_icache Unexecuted instantiation: erst.c:invalidate_icache Unexecuted instantiation: utglobal.c:invalidate_icache Unexecuted instantiation: tbutils.c:invalidate_icache Unexecuted instantiation: reboot.c:invalidate_icache Unexecuted instantiation: hwregs.c:invalidate_icache Unexecuted instantiation: pmstat.c:invalidate_icache Unexecuted instantiation: osl.c:invalidate_icache Unexecuted instantiation: numa.c:invalidate_icache Unexecuted instantiation: iommu_guest.c:invalidate_icache Unexecuted instantiation: iommu_cmd.c:invalidate_icache Unexecuted instantiation: iommu_intr.c:invalidate_icache Unexecuted instantiation: pci_amd_iommu.c:invalidate_icache Unexecuted instantiation: iommu_map.c:invalidate_icache Unexecuted instantiation: iommu_init.c:invalidate_icache Unexecuted instantiation: ats.c:invalidate_icache Unexecuted instantiation: vtd.c:invalidate_icache Unexecuted instantiation: quirks.c:invalidate_icache Unexecuted instantiation: intremap.c:invalidate_icache Unexecuted instantiation: qinval.c:invalidate_icache Unexecuted instantiation: utils.c:invalidate_icache Unexecuted instantiation: dmar.c:invalidate_icache Unexecuted instantiation: io.c:invalidate_icache Unexecuted instantiation: iommu.c:invalidate_icache Unexecuted instantiation: msix.c:invalidate_icache Unexecuted instantiation: msi.c:invalidate_icache Unexecuted instantiation: header.c:invalidate_icache Unexecuted instantiation: vpci.c:invalidate_icache Unexecuted instantiation: pci.c:invalidate_icache Unexecuted instantiation: utility.c:invalidate_icache Unexecuted instantiation: cpufreq_misc_governors.c:invalidate_icache Unexecuted instantiation: cpufreq_ondemand.c:invalidate_icache Unexecuted instantiation: cpufreq.c:invalidate_icache Unexecuted instantiation: serial.c:invalidate_icache Unexecuted instantiation: ehci-dbgp.c:invalidate_icache Unexecuted instantiation: ns16550.c:invalidate_icache Unexecuted instantiation: console.c:invalidate_icache Unexecuted instantiation: libelf-dominfo.c:invalidate_icache Unexecuted instantiation: libelf-loader.c:invalidate_icache Unexecuted instantiation: libelf-tools.c:invalidate_icache Unexecuted instantiation: llvm.c:invalidate_icache Unexecuted instantiation: tmem_control.c:invalidate_icache Unexecuted instantiation: tmem_xen.c:invalidate_icache Unexecuted instantiation: tmem.c:invalidate_icache Unexecuted instantiation: xmalloc_tlsf.c:invalidate_icache Unexecuted instantiation: xenoprof.c:invalidate_icache Unexecuted instantiation: wait.c:invalidate_icache Unexecuted instantiation: vsprintf.c:invalidate_icache Unexecuted instantiation: vmap.c:invalidate_icache Unexecuted instantiation: vm_event.c:invalidate_icache Unexecuted instantiation: virtual_region.c:invalidate_icache Unexecuted instantiation: trace.c:invalidate_icache Unexecuted instantiation: timer.c:invalidate_icache Unexecuted instantiation: time.c:invalidate_icache Unexecuted instantiation: tasklet.c:invalidate_icache Unexecuted instantiation: sysctl.c:invalidate_icache Unexecuted instantiation: symbols.c:invalidate_icache Unexecuted instantiation: stop_machine.c:invalidate_icache Unexecuted instantiation: spinlock.c:invalidate_icache Unexecuted instantiation: smp.c:invalidate_icache Unexecuted instantiation: softirq.c:invalidate_icache Unexecuted instantiation: shutdown.c:invalidate_icache Unexecuted instantiation: schedule.c:invalidate_icache Unexecuted instantiation: sched_null.c:invalidate_icache Unexecuted instantiation: sched_rt.c:invalidate_icache Unexecuted instantiation: sched_credit2.c:invalidate_icache Unexecuted instantiation: sched_credit.c:invalidate_icache Unexecuted instantiation: sched_arinc653.c:invalidate_icache Unexecuted instantiation: rwlock.c:invalidate_icache Unexecuted instantiation: rcupdate.c:invalidate_icache Unexecuted instantiation: radix-tree.c:invalidate_icache Unexecuted instantiation: rangeset.c:invalidate_icache Unexecuted instantiation: random.c:invalidate_icache Unexecuted instantiation: preempt.c:invalidate_icache Unexecuted instantiation: pdx.c:invalidate_icache Unexecuted instantiation: page_alloc.c:invalidate_icache Unexecuted instantiation: notifier.c:invalidate_icache Unexecuted instantiation: multicall.c:invalidate_icache Unexecuted instantiation: monitor.c:invalidate_icache Unexecuted instantiation: memory.c:invalidate_icache Unexecuted instantiation: mem_access.c:invalidate_icache Unexecuted instantiation: kimage.c:invalidate_icache Unexecuted instantiation: kexec.c:invalidate_icache Unexecuted instantiation: keyhandler.c:invalidate_icache Unexecuted instantiation: kernel.c:invalidate_icache Unexecuted instantiation: irq.c:invalidate_icache Unexecuted instantiation: guestcopy.c:invalidate_icache Unexecuted instantiation: grant_table.c:invalidate_icache Unexecuted instantiation: event_fifo.c:invalidate_icache Unexecuted instantiation: event_channel.c:invalidate_icache Unexecuted instantiation: event_2l.c:invalidate_icache Unexecuted instantiation: domain.c:invalidate_icache Unexecuted instantiation: domctl.c:invalidate_icache Unexecuted instantiation: cpupool.c:invalidate_icache Unexecuted instantiation: cpu.c:invalidate_icache Unexecuted instantiation: core_parking.c:invalidate_icache Unexecuted instantiation: stub.c:invalidate_icache |
389 | | |
390 | | #endif /* !__ASSEMBLY__ */ |
391 | | |
392 | 36 | #define PAGE_ALIGN(x) (((x) + PAGE_SIZE - 1) & PAGE_MASK) |
393 | | |
394 | | #endif /* __X86_PAGE_H__ */ |
395 | | |
396 | | /* |
397 | | * Local variables: |
398 | | * mode: C |
399 | | * c-file-style: "BSD" |
400 | | * c-basic-offset: 4 |
401 | | * tab-width: 4 |
402 | | * indent-tabs-mode: nil |
403 | | * End: |
404 | | */ |