mbgtools-lx  4.2.8
PCPS_SHORT_PORT_RSRC Struct Reference

An I/O port resource used by a device. More...

#include <pcpsdev.h>

Data Fields

PCPS_SHORT_PORT_ADDR base
 
uint16_t num
 

Detailed Description

An I/O port resource used by a device.

This structure has originally been used to store information on an I/O address range. However, the 16 bits provided by PCPS_SHORT_PORT_ADDR may not be sufficient to hold an address on some target platforms, so this is only kept to maintain API compatibility when reporting I/O addresses to user space via PCPS_DEV_CFG and thus PCPS_DEV structures. A different structure is actually being used internally by the kernel drivers.

Definition at line 543 of file pcpsdev.h.

Field Documentation

◆ base

PCPS_SHORT_PORT_ADDR PCPS_SHORT_PORT_RSRC::base

Definition at line 545 of file pcpsdev.h.

Referenced by rsrc_port_to_cfg_port().

◆ num

uint16_t PCPS_SHORT_PORT_RSRC::num

Definition at line 546 of file pcpsdev.h.

Referenced by rsrc_port_to_cfg_port().


The documentation for this struct was generated from the following file: