This is an example of how to use the SysIOMapReadByID function along with the IOMapReadByIDType structure.