coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
logical_devices Struct Reference

A table describing the logical devices which are present on the supported Super I/O chips. More...

Collaboration diagram for logical_devices:
Collaboration graph

Data Fields

u8 superio_id
 
int devs [MAX_LOGICAL_DEVICES]
 

Detailed Description

A table describing the logical devices which are present on the supported Super I/O chips.

The first entry (superio_id) is the device ID of the Super I/O chip as stored in the (read-only) DEVICE_ID_REG register.

The second entry (devs) is the list of logical device IDs which are present on that particular Super I/O chip. A value of -1 means the device is not present on that chip.

Note: Do not list chips with different name but same device ID twice! The result would be that the init code would be executed twice!

Definition at line 101 of file superio.c.

Field Documentation

◆ devs

int logical_devices::devs[MAX_LOGICAL_DEVICES]

Definition at line 103 of file superio.c.

Referenced by enable_dev().

◆ superio_id

u8 logical_devices::superio_id

Definition at line 102 of file superio.c.


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