iPXE
Data Fields
spcr_table Struct Reference

A Serial Port Console Redirection table. More...

#include <spcr.h>

Data Fields

struct acpi_header acpi
 ACPI header. More...
 
uint8_t type
 Interface type. More...
 
uint8_t reserved_a [3]
 Reserved. More...
 
struct acpi_address base
 Base address. More...
 
uint8_t reserved_b [6]
 Reserved. More...
 
uint8_t baud
 Baud rate. More...
 
uint8_t parity
 Parity. More...
 
uint8_t stop
 Stop bits. More...
 
uint8_t flow
 Flow control. More...
 
uint8_t terminal
 Terminal type. More...
 
uint8_t lang
 Language. More...
 
uint16_t pci_device_id
 PCI device ID. More...
 
uint16_t pci_vendor_id
 PCI vendor ID. More...
 
uint8_t pci_bus
 PCI bus number. More...
 
uint8_t pci_dev
 PCI device number. More...
 
uint8_t pci_func
 PCI function number. More...
 
uint8_t reserved_c [4]
 Reserved. More...
 
uint8_t pci_segment
 PCI segment. More...
 
uint32_t clock
 Clock frequency. More...
 
uint32_t precise
 Precise baud rate. More...
 
uint8_t reserved_d [4]
 Reserved. More...
 

Detailed Description

A Serial Port Console Redirection table.

Definition at line 19 of file spcr.h.

Field Documentation

◆ acpi

struct acpi_header spcr_table::acpi

ACPI header.

Definition at line 21 of file spcr.h.

Referenced by spcr_console().

◆ type

uint8_t spcr_table::type

Interface type.

Definition at line 23 of file spcr.h.

Referenced by spcr_console().

◆ reserved_a

uint8_t spcr_table::reserved_a[3]

Reserved.

Definition at line 25 of file spcr.h.

◆ base

struct acpi_address spcr_table::base

Base address.

Definition at line 27 of file spcr.h.

Referenced by spcr_16550(), and spcr_console().

◆ reserved_b

uint8_t spcr_table::reserved_b[6]

Reserved.

Definition at line 29 of file spcr.h.

◆ baud

uint8_t spcr_table::baud

Baud rate.

0: leave unchanged 1: 2400 = 115200 / 48 (not defined in standard) 2: 4800 = 115200 / 24 (not defined in standard) 3: 9600 = 115200 / 12 4: 19200 = 115200 / 6 5: 38400 = 115200 / 3 (not defined in standard) 6: 57600 = 115200 / 2 7: 115200 = 115200 / 1

Definition at line 41 of file spcr.h.

Referenced by spcr_console().

◆ parity

uint8_t spcr_table::parity

Parity.

Definition at line 43 of file spcr.h.

◆ stop

uint8_t spcr_table::stop

Stop bits.

Definition at line 45 of file spcr.h.

◆ flow

uint8_t spcr_table::flow

Flow control.

Definition at line 47 of file spcr.h.

◆ terminal

uint8_t spcr_table::terminal

Terminal type.

Definition at line 49 of file spcr.h.

◆ lang

uint8_t spcr_table::lang

Language.

Definition at line 51 of file spcr.h.

◆ pci_device_id

uint16_t spcr_table::pci_device_id

PCI device ID.

Definition at line 53 of file spcr.h.

Referenced by spcr_console().

◆ pci_vendor_id

uint16_t spcr_table::pci_vendor_id

PCI vendor ID.

Definition at line 55 of file spcr.h.

Referenced by spcr_console().

◆ pci_bus

uint8_t spcr_table::pci_bus

PCI bus number.

Definition at line 57 of file spcr.h.

Referenced by spcr_console().

◆ pci_dev

uint8_t spcr_table::pci_dev

PCI device number.

Definition at line 59 of file spcr.h.

Referenced by spcr_console().

◆ pci_func

uint8_t spcr_table::pci_func

PCI function number.

Definition at line 61 of file spcr.h.

Referenced by spcr_console().

◆ reserved_c

uint8_t spcr_table::reserved_c[4]

Reserved.

Definition at line 63 of file spcr.h.

◆ pci_segment

uint8_t spcr_table::pci_segment

PCI segment.

Definition at line 65 of file spcr.h.

Referenced by spcr_console().

◆ clock

uint32_t spcr_table::clock

Clock frequency.

Definition at line 67 of file spcr.h.

Referenced by spcr_16550().

◆ precise

uint32_t spcr_table::precise

Precise baud rate.

Definition at line 69 of file spcr.h.

Referenced by spcr_console().

◆ reserved_d

uint8_t spcr_table::reserved_d[4]

Reserved.

Definition at line 71 of file spcr.h.


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