Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2024 16:20:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279501] linuxulator: amd64 Global Descriptor Table ABI incompatibility
Message-ID:  <bug-279501-227-t5FAKrzfQa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-279501-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279501-227-t5FAKrzfQa>