Xen Test Framework
Functions | Variables
io-apic.c File Reference

Basic x86 IO-APIC driver. More...

#include <xtf/lib.h>
#include <xen/errno.h>
#include <arch/io-apic.h>
+ Include dependency graph for io-apic.c:

Go to the source code of this file.

Functions

int ioapic_init (void)
 Discover and initialise the IO-APIC. More...
 
int ioapic_set_mask (unsigned int entry, bool mask)
 Set the mask bit on a redirection entry. More...
 

Variables

static unsigned int nr_entries
 

Detailed Description

Basic x86 IO-APIC driver.

Definition in file io-apic.c.

Function Documentation

◆ ioapic_init()

int ioapic_init ( void  )

Discover and initialise the IO-APIC.

May fail if there is no IO-APIC.

Definition at line 15 of file io-apic.c.

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

◆ ioapic_set_mask()

int ioapic_set_mask ( unsigned int  entry,
bool  mask 
)

Set the mask bit on a redirection entry.

Definition at line 29 of file io-apic.c.

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

Variable Documentation

◆ nr_entries

unsigned int nr_entries
static

Definition at line 13 of file io-apic.c.