Real Mode: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m small typos |
|||
Line 84: | Line 84: | ||
#* Turn off maskable interrupts using CLI. |
#* Turn off maskable interrupts using CLI. |
||
#* Disable [[NMI]] (optional). |
#* Disable [[NMI]] (optional). |
||
#* Restore the hardware to default configuration. |
|||
#** Remap IRQs to their default real mode vectors. |
|||
#** Restore the input devices to their default settings. |
|||
#** Revert any other hardware configuration, if modified. |
|||
# Turn off [[Paging|paging]]: |
# Turn off [[Paging|paging]]: |
||
#* Transfer control to a 1:1 page. |
#* Transfer control to a 1:1 page. i.e identity mapped. |
||
#* Ensure that the [[GDT]] and [[IDT]] are in a 1:1 page. |
#* Ensure that the [[GDT]] and [[IDT]] are in a 1:1 page. |
||
#* Clear the PG-flag in the zeroth control register. |
#* Clear the PG-flag in the zeroth control register. |