iPXE
Data Structures | Macros | Enumerations | Functions
spcr.h File Reference

ACPI Serial Port Console Redirection (SPCR) More...

#include <stdint.h>
#include <ipxe/acpi.h>

Go to the source code of this file.

Data Structures

struct  spcr_table
 A Serial Port Console Redirection table. More...
 

Macros

#define SPCR_SIGNATURE   ACPI_SIGNATURE ( 'S', 'P', 'C', 'R' )
 Serial Port Console Redirection table signature. More...
 
#define SPCR_TYPE_16550   0x0000
 16550-compatible More...
 
#define SPCR_TYPE_16450   0x0001
 16450-compatible More...
 
#define SPCR_TYPE_16550_GAS   0x0012
 16550-compatible More...
 

Enumerations

enum  spcr_baud {
  SPCR_BAUD_2400 = 1, SPCR_BAUD_4800 = 2, SPCR_BAUD_9600 = 3, SPCR_BAUD_19200 = 4,
  SPCR_BAUD_38400 = 5, SPCR_BAUD_57600 = 6, SPCR_BAUD_115200 = 7, SPCR_BAUD_MAX
}
 SPCR baud rates. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Detailed Description

ACPI Serial Port Console Redirection (SPCR)

Definition in file spcr.h.

Macro Definition Documentation

◆ SPCR_SIGNATURE

#define SPCR_SIGNATURE   ACPI_SIGNATURE ( 'S', 'P', 'C', 'R' )

Serial Port Console Redirection table signature.

Definition at line 16 of file spcr.h.

◆ SPCR_TYPE_16550

#define SPCR_TYPE_16550   0x0000

16550-compatible

Definition at line 75 of file spcr.h.

◆ SPCR_TYPE_16450

#define SPCR_TYPE_16450   0x0001

16450-compatible

Definition at line 76 of file spcr.h.

◆ SPCR_TYPE_16550_GAS

#define SPCR_TYPE_16550_GAS   0x0012

16550-compatible

Definition at line 77 of file spcr.h.

Enumeration Type Documentation

◆ spcr_baud

enum spcr_baud

SPCR baud rates.

Enumerator
SPCR_BAUD_2400 
SPCR_BAUD_4800 
SPCR_BAUD_9600 
SPCR_BAUD_19200 
SPCR_BAUD_38400 
SPCR_BAUD_57600 
SPCR_BAUD_115200 
SPCR_BAUD_MAX 

Definition at line 80 of file spcr.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )