We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a5da8 commit 5884d15Copy full SHA for 5884d15
src/bin/bios.rs
@@ -137,24 +137,9 @@ fn bootloader_main(
137
);
138
139
/*
140
- // Enable support for the no-execute bit in page tables.
141
- enable_nxe_bit();
142
-
143
// Make sure that the kernel respects the write-protection bits, even when in ring 0.
144
enable_write_protect_bit();
145
146
- if cfg!(not(feature = "recursive_page_table")) {
147
- // unmap recursive entry
148
- rec_page_table
149
- .unmap(Page::<Size4KiB>::containing_address(
150
- recursive_page_table_addr,
151
- ))
152
- .expect("error deallocating recursive entry")
153
- .1
154
- .flush();
155
- mem::drop(rec_page_table);
156
- }
157
158
#[cfg(feature = "sse")]
159
sse::enable_sse();
160
0 commit comments