mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 19:00:17 +02:00
Effectively NFC today while we don't allow installing LDT entries, but is required to have signal handlers execute in the correct bitness if 32-bit code segments are enabled. Nothing too crazy, just that four segments are stuffed in to the `REG_CSGSFS` data value, and then CS/SS gets restored on restore. FS and GS are ignored in this instance because edge case behaviour where those don't get reset on signal entry, so if they get changed then it is on the userspace application to fix it. Gets another change out of my stashes.