[Bug 279501] linuxulator: amd64 Global Descriptor Table ABI incompatibility

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jun 2024 16:20:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279501

--- Comment #1 from Theron Tarigo <theron.tarigo@gmail.com> ---
FreeBSD's GDT is defined in amd64/amd64/machdep.c .
A Linux GDT can be defined in amd64/linux/linux_machdep.c , to be created upon
linux64 module load.  The appropriate GDT would then be selected with lgdt upon
context switch to or from any linux process.

-- 
You are receiving this mail because:
You are the assignee for the bug.