Searched refs:PT4 (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/stand/efi/loader/arch/amd64/
H A Delf64_freebsd.c77 static pml4_entry_t *PT4; variable
159 PT4 = (pml4_entry_t *)0x0000000040000000;
161 (EFI_PHYSICAL_ADDRESS *)&PT4);
162 bzero(PT4, 3 * EFI_PAGE_SIZE);
164 PT3 = &PT4[512];
174 PT4[i] = (pml4_entry_t)PT3;
175 PT4[i] |= PG_V | PG_RW;
197 trampoline(trampstack, efi_copy_finish, kernend, modulep, PT4,
/freebsd-12-stable/stand/i386/libi386/
H A Delf64_freebsd.c56 extern p4_entry_t PT4[];
87 bzero(PT4, PAGE_SIZE);
97 PT4[i] = (p4_entry_t)VTOP((uintptr_t)&PT3[0]);
98 PT4[i] |= PG_V | PG_RW;
H A Damd64_tramp.S47 .globl PT4
48 PT4: label
90 /* Set %cr3 for PT4 */
91 movl $VTOP(PT4), %eax
/freebsd-12-stable/stand/userboot/userboot/
H A Delf64_freebsd.c96 p4_entry_t PT4[512]; local
109 bzero(PT4, PAGE_SIZE);
115 * PT4 at 0x2000,
128 PT4[i] = (p4_entry_t) 0x3000;
129 PT4[i] |= PG_V | PG_RW;
150 CALLBACK(copyin, PT4, 0x2000, sizeof(PT4));
/freebsd-12-stable/sys/amd64/amd64/
H A Dxen-locore.S128 /* PT4[i] = VTOP(&PT3[0]) | PG_V | PG_RW | PG_U */
129 movl $VTOP(PT4), %ecx
162 /* Set %cr3 for PT4 */
163 movl $VTOP(PT4), %eax
201 PT4: label
/freebsd-12-stable/sys/x86/xen/
H A Dpv.c203 uint64_t *PT4 = (u_int64_t *)xenstack; local
237 PT4[i] = ((uint64_t)&PT3[0]) - KERNBASE;
238 PT4[i] |= PG_V | PG_RW | PG_U;
254 load_cr3(((uint64_t)&PT4[0]) - KERNBASE);

Completed in 124 milliseconds