For x86-64, to disable IO instructions in user mode requires a IO permission map being set up properly in TSS. Setting the IO map base field of TSS larger than the TSS works for 32-bit, but not 64-bit. This commit sets up a IO permission map usable for both 32-bit and 64-bit kernel and changes the TSS to use the mapping. The IO permission bitmap is appened to the bitfield generated tss_t, resulting the tss_io_t structure. |
||
|---|---|---|
| .. | ||
| arm | ||
| x86/arch | ||