[kernel] Add a request IOPL syscall

Using the new ability to modify user rflags, add a syscall for a process
to request its IOPL be changed.
This commit is contained in:
Justin C. Miller
2021-12-23 17:02:39 -08:00
parent fd93023440
commit cade24a7ce
2 changed files with 20 additions and 0 deletions

View File

@@ -26,4 +26,10 @@ object system : kobject {
param size size # Size of the area, in pages
param flags uint32 # Flags to apply to the created VMA
}
# Request the kernel change the IOPL for this process. The only values
# that make sense are 0 and 3.
method request_iopl {
param iopl uint # The IOPL to set for this process
}
}