Skip to content

Fixed ioperm calls in hwEnableIO

Brian Haslett requested to merge bphaslett/xserver:master into master

The iopl call isn't really necessary anymore, based on what I've read in the documentation and my own testing. This code still enables the first 1024 I/O ports, and uses /proc/ioports to find and disable the proper port ranges for keyboard controller(s) and timer chip(s). Also updated the error message. Tested on Ubuntu 19.04.

Merge request reports