Home
last modified time | relevance | path

Searched refs:cr3 (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-asid.c62 ptu_uint_eq(asid.cr3, pt_asid_no_cr3); in from_user_default()
78 ptu_uint_eq(asid.cr3, pt_asid_no_cr3); in from_user_small()
90 user.cr3 = 0x4200ull; in from_user_big()
96 ptu_uint_eq(asid.cr3, 0x4200ull); in from_user_big()
108 user.cr3 = 0x4200ull; in from_user()
114 ptu_uint_eq(asid.cr3, 0x4200ull); in from_user()
126 user.cr3 = 0x4200ull; in from_user_cr3()
132 ptu_uint_eq(asid.cr3, 0x4200ull); in from_user_cr3()
181 ptu_uint_eq(user.cr3, 0xccccccccccccccccull); in to_user_small()
194 asid.cr3 = 0x4200ull; in to_user_big()
[all …]
H A Dptunit-mapped_section.c99 asid.cr3 = 0xa00000ull; in asid()
106 ptu_uint_eq(pasid->cr3, asid.cr3); in asid()
121 ptu_uint_eq(pasid->cr3, pt_asid_no_cr3); in asid_null()
/freebsd/sys/i386/i386/
H A Dcopyout_fast.S75 movl %edx,%cr3
80 movl %ebx,%cr3
108 movl %edx,%cr3
113 movl %ebx,%cr3
156 movl %eax,%cr3
158 movl %ebx,%cr3
185 movl %eax,%cr3
187 movl %ebx,%cr3
211 movl %eax,%cr3
213 movl %ebx,%cr3
[all …]
H A Dexception.S175 movl %eax, %cr3
238 * The special case there is the kernel mode with user %cr3 and
272 movl %eax, %cr3
331 * The exception handler must be ready to execute with wrong %cr3.
332 * We save original %cr3 in frame->tf_err, similarly to NMI and MCE
341 movl %cr3, %eax
346 movl %eax, %cr3
375 * Save %cr3 into tf_err. There is no good place to put it.
376 * Always reload %cr3, since we might have interrupted the
384 movl %cr3,
[all...]
H A Dvm86bios.S100 movl %cr3,%eax
120 4: movl %ecx,%cr3 /* new page tables */
152 movl %eax,%cr3 /* install old page table */
H A Dmpboot.S94 movl %eax, %cr3
113 movl %eax,%cr3
/freebsd/sys/amd64/amd64/
H A Defirt_machdep.c291 uint64_t cr3; in efi_arch_enter() local
307 cr3 = VM_PAGE_TO_PHYS(efi_pmltop_page); in efi_arch_enter()
309 cr3 |= pmap_get_pcid(curpmap); in efi_arch_enter()
310 load_cr3(cr3); in efi_arch_enter()
324 uint64_t cr3; in efi_arch_leave() local
327 cr3 = curpmap->pm_cr3; in efi_arch_leave()
329 cr3 |= pmap_get_pcid(curpmap); in efi_arch_leave()
333 load_cr3(cr3); in efi_arch_leave()
H A Dexception.S349 movq %cr3,%rax
354 movq %rax,%cr3
369 movq %cr3,%rax
437 movq %rax,%cr3
529 movq %rax,%cr3
604 movq %r9,%cr3
676 movq %cr3,%r13
680 movq %rax,%cr3
703 movq %r13,%cr3
720 movq %rax,%cr3
[all …]
/freebsd/sys/dev/hyperv/vmbus/
H A Dhyperv_mmu.c138 uint64_t cr3; in hv_vm_tlb_flush() local
181 cr3 = pmap->pm_cr3; in hv_vm_tlb_flush()
189 flush->address_space = cr3; in hv_vm_tlb_flush()
259 uint64_t cr3; in hv_flush_tlb_others_ex() local
264 cr3 = pmap->pm_cr3; in hv_flush_tlb_others_ex()
270 flush->address_space = cr3; in hv_flush_tlb_others_ex()
/freebsd/sys/contrib/xen/arch-x86/
H A Dxen-x86_32.h168 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
H A Dxen-x86_64.h219 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_encoder.c408 uint64_t cr3; in pt_enc_next() local
414 cr3 = packet->payload.pip.cr3; in pt_enc_next()
415 cr3 >>= pt_pl_pip_shl; in pt_enc_next()
416 cr3 <<= pt_pl_pip_shr; in pt_enc_next()
419 cr3 |= (uint64_t) pt_pl_pip_nr; in pt_enc_next()
423 pos = pt_encode_int(pos, cr3, pt_pl_pip_size); in pt_enc_next()
789 int pt_encode_pip(struct pt_encoder *encoder, uint64_t cr3, uint8_t flags) in pt_encode_pip() argument
794 packet.payload.pip.cr3 = cr3; in pt_encode_pip()
H A Dpt_asid.c92 lcr3 = lhs->cr3; in pt_asid_match()
93 rcr3 = rhs->cr3; in pt_asid_match()
H A Dpt_insn_decoder.c1458 uint64_t cr3; in pt_insn_process_paging() local
1464 cr3 = decoder->event.variant.paging.cr3; in pt_insn_process_paging()
1465 if (decoder->asid.cr3 != cr3) { in pt_insn_process_paging()
1470 decoder->asid.cr3 = cr3; in pt_insn_process_paging()
/freebsd/sys/contrib/xen/hvm/
H A Dhvm_vcpu.h41 uint32_t cr3; member
105 uint64_t cr3; member
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h689 uint64_t cr3; member
1253 uint64_t cr3; member
1273 uint64_t cr3; member
1668 uint64_t cr3; member
1684 asid->cr3 = pt_asid_no_cr3; in pt_asid_init()
/freebsd/tools/test/stress2/tools/
H A Dbench.c50 static void cr3(void);
54 static void (*functions[])(void) = {&cr1, &cr2, &cr3, &rn1, &rw1, &rw2};
119 cr3(void) in cr3() function
/freebsd/stand/kboot/kboot/arch/amd64/
H A Damd64_tramp.S78 movq %rax, %cr3 /* set the page table */
/freebsd/stand/efi/loader/arch/amd64/
H A Damd64_tramp.S55 movq %r14,%cr3 /* Switch page tables. */
/freebsd/usr.sbin/bhyveload/
H A Dbhyveload.c117 static uint64_t gdtbase, cr3, rsp; variable
486 cr3 = v; in cb_setcr()
526 if (cr3 == 0) in cb_exec()
530 error = vm_setup_freebsd_registers(vcpu, rip, cr3, gdtbase, in cb_exec()
/freebsd/sys/dev/acpica/
H A Dacpi_thermal.c79 int cr3; member
286 offsetof(struct acpi_tz_softc, tz_zone.cr3), acpi_tz_temp_sysctl, "IK", in acpi_tz_attach()
427 acpi_tz_getparam(sc, "_CR3", &sc->tz_zone.cr3); in acpi_tz_establish()
445 acpi_tz_sanity(sc, &sc->tz_zone.cr3, "_CR3"); in acpi_tz_establish()
554 if (sc->tz_zone.cr3 != -1 && temp >= sc->tz_zone.cr3) in acpi_tz_monitor()
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_encoder.h89 extern int pt_encode_pip(struct pt_encoder *, uint64_t cr3, uint8_t flags);
/freebsd/stand/efi/loader/arch/i386/
H A Damd64_tramp.S52 movl %eax, %cr3
/freebsd/stand/i386/libi386/
H A Damd64_tramp.S90 movl %eax, %cr3
/freebsd/sys/amd64/vmm/amd/
H A Dvmcb.c186 *retval = state->cr3; in vmcb_read()
295 state->cr3 = val; in vmcb_write()

123