Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
real_mode: Fix long to protected mode transition
Going into real mode would crash when clearing EFER_LME, i.e., when transitioning from long to protected mode. This happened because paging was still enabled. Before disabling paging, we must also set the %ds. Signed-off-by: Johannes Wikner <[email protected]>
- Loading branch information