First post, by superfury
I've been reading https://pdos.csail.mit.edu/6.828/2014/readings/i386/c07.htm , the 80386 chapter on task switching, but nothing is said about Page Fault exceptions(#PF)? At which point does it occur, before and after loading the new TSS? So what (and WHEN) happens when a Page Fault occurs during saving or loading states and/or segment descriptors? Say a page fault due to (partly) paged out or read-only(using Paging) TSS(es) or GDT?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io