| /freebsd/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-asid.c | 62 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 D | ptunit-mapped_section.c | 99 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 D | copyout_fast.S | 75 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 D | exception.S | 175 movl %eax, %cr3 272 movl %eax, %cr3 341 movl %cr3, %eax 346 movl %eax, %cr3 384 movl %cr3, %eax 389 movl %eax, %cr3 559 movl %eax, %cr3 578 movl %eax, %cr3
|
| H A D | vm86bios.S | 100 movl %cr3,%eax 120 4: movl %ecx,%cr3 /* new page tables */ 152 movl %eax,%cr3 /* install old page table */
|
| H A D | mpboot.S | 94 movl %eax, %cr3 113 movl %eax,%cr3
|
| /freebsd/sys/amd64/amd64/ |
| H A D | efirt_machdep.c | 325 uint64_t cr3; in efi_arch_enter() local 341 cr3 = VM_PAGE_TO_PHYS(efi_pmltop_page); in efi_arch_enter() 343 cr3 |= pmap_get_pcid(curpmap); in efi_arch_enter() 344 load_cr3(cr3); in efi_arch_enter() 360 uint64_t cr3; in efi_arch_leave() local 365 cr3 = curpmap->pm_cr3; in efi_arch_leave() 367 cr3 |= pmap_get_pcid(curpmap); in efi_arch_leave() 371 load_cr3(cr3); in efi_arch_leave()
|
| H A D | exception.S | 349 movq %cr3,%rax 354 movq %rax,%cr3 369 movq %cr3,%rax 437 movq %rax,%cr3 521 movq %rax,%cr3 596 movq %r9,%cr3 668 movq %cr3,%r13 672 movq %rax,%cr3 695 movq %r13,%cr3 712 movq %rax,%cr3 [all …]
|
| H A D | kexec_tramp.S | 74 movq %rdi, %cr3
|
| /freebsd/sys/dev/hyperv/vmbus/ |
| H A D | hyperv_mmu.c | 138 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 D | xen-x86_32.h | 168 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
|
| H A D | xen-x86_64.h | 219 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
|
| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_encoder.c | 408 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 D | pt_asid.c | 92 lcr3 = lhs->cr3; in pt_asid_match() 93 rcr3 = rhs->cr3; in pt_asid_match()
|
| H A D | pt_insn_decoder.c | 1458 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 D | hvm_vcpu.h | 41 uint32_t cr3; member 105 uint64_t cr3; member
|
| /freebsd/contrib/processor-trace/libipt/include/ |
| H A D | intel-pt.h | 689 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 D | bench.c | 50 static void cr3(void); 54 static void (*functions[])(void) = {&cr1, &cr2, &cr3, &rn1, &rw1, &rw2}; 119 cr3(void) in cr3() function
|
| /freebsd/stand/efi/loader/arch/amd64/ |
| H A D | amd64_tramp.S | 55 movq %r14,%cr3 /* Switch page tables. */
|
| /freebsd/stand/kboot/kboot/arch/amd64/ |
| H A D | amd64_tramp.S | 101 movq %rax, %cr3 /* set the page table */
|
| /freebsd/usr.sbin/bhyveload/ |
| H A D | bhyveload.c | 117 static uint64_t gdtbase, cr3, rsp; variable 484 cr3 = v; in cb_setcr() 524 if (cr3 == 0) in cb_exec() 528 error = vm_setup_freebsd_registers(vcpu, rip, cr3, gdtbase, in cb_exec()
|
| /freebsd/contrib/processor-trace/libipt/internal/include/ |
| H A D | pt_encoder.h | 89 extern int pt_encode_pip(struct pt_encoder *, uint64_t cr3, uint8_t flags);
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_thermal.c | 79 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/stand/efi/loader/arch/i386/ |
| H A D | amd64_tramp.S | 52 movl %eax, %cr3
|
| /freebsd/stand/i386/libi386/ |
| H A D | amd64_tramp.S | 90 movl %eax, %cr3
|