coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pirq_routing.h File Reference
#include <stdint.h>
Include dependency graph for pirq_routing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  irq_info
 
struct  irq_routing_table
 

Macros

#define MAX_INTX_ENTRIES   4
 
#define PIRQ_SIGNATURE   (('$' << 0) + ('P' << 8) + ('I' << 16) + ('R' << 24))
 
#define PIRQ_VERSION   0x0100
 

Functions

unsigned long copy_pirq_routing_table (unsigned long addr, const struct irq_routing_table *routing_table)
 
unsigned long write_pirq_routing_table (unsigned long start)
 
void pirq_assign_irqs (const unsigned char pirq[CONFIG_MAX_PIRQ_LINKS])
 

Variables

struct irq_info __packed
 

Macro Definition Documentation

◆ MAX_INTX_ENTRIES

#define MAX_INTX_ENTRIES   4

Definition at line 13 of file pirq_routing.h.

◆ PIRQ_SIGNATURE

#define PIRQ_SIGNATURE   (('$' << 0) + ('P' << 8) + ('I' << 16) + ('R' << 24))

Definition at line 17 of file pirq_routing.h.

◆ PIRQ_VERSION

#define PIRQ_VERSION   0x0100

Definition at line 18 of file pirq_routing.h.

Function Documentation

◆ copy_pirq_routing_table()

unsigned long copy_pirq_routing_table ( unsigned long  addr,
const struct irq_routing_table routing_table 
)

Definition at line 172 of file pirq_routing.c.

References addr, ALIGN_UP, BIOS_INFO, CONFIG, memcpy(), pirq_route_irqs(), printk, irq_routing_table::size, and verify_copy_pirq_routing_table().

Referenced by write_pirq_routing_table().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pirq_assign_irqs()

void pirq_assign_irqs ( const unsigned char  pirq[CONFIG_MAX_PIRQ_LINKS])

Referenced by pirq_route_irqs().

Here is the caller graph for this function:

◆ write_pirq_routing_table()

unsigned long write_pirq_routing_table ( unsigned long  start)

Definition at line 28 of file irq_tables.c.

References addr, ALIGN_UP, BIOS_INFO, copy_pirq_routing_table(), intel_irq_routing_table, memset(), PCI_DEVFN, PIRQ_SIGNATURE, PIRQ_VERSION, printk, and write_pirq_info().

Referenced by write_pirq_table().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __packed