-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various minor cleanups: - use 16bit source registers when assigning segment registers to have matching register sizes - don't obfuscate CR0 initialization, make it plain obvious we're enabling protected mode - do the same for CR4 initalization, make it obvious we're setting it to PSE|PAE - drop the unneded CLD, as we've fully assigned RFLAGS already with the POPF Signed-off-by: Mathias Krause <[email protected]>
- Loading branch information
1 parent
84841e2
commit 2b9f827
Showing
1 changed file
with
19 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters