mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
pmap_bootstrap_la57(): reload IDT
after the trip through protected mode. This is required by AMD64 ARM. Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
07f47e8850
commit
bbb00b1719
1 changed files with 1 additions and 0 deletions
|
|
@ -2263,6 +2263,7 @@ pmap_bootstrap_la57(void *arg __unused)
|
|||
ssdtosyssd(&gdt_segs[GPROC0_SEL],
|
||||
(struct system_segment_descriptor *)&__pcpu[0].pc_gdt[GPROC0_SEL]);
|
||||
ltr(GSEL(GPROC0_SEL, SEL_KPL));
|
||||
lidt(&r_idt);
|
||||
|
||||
if (bootverbose)
|
||||
printf("LA57 trampoline returned, CR4 %#lx\n", rcr4());
|
||||
|
|
|
|||
Loading…
Reference in a new issue