Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tables.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/smp.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/irq.h>
#include <linux/errno.h>
#include <linux/acpi.h>
#include <linux/bootmem.h>

Go to the source code of this file.

Macros

#define PREFIX   "ACPI: "
 
#define ACPI_MAX_TABLES   128
 

Functions

void acpi_table_print_madt_entry (struct acpi_subtable_header *header)
 
int __init acpi_table_parse_entries (char *id, unsigned long table_size, int entry_id, acpi_table_entry_handler handler, unsigned int max_entries)
 
int __init acpi_table_parse_madt (enum acpi_madt_type id, acpi_table_entry_handler handler, unsigned int max_entries)
 
int __init acpi_table_parse (char *id, acpi_table_handler handler)
 
int __init acpi_table_init (void)
 
 early_param ("acpi_apic_instance", acpi_parse_apic_instance)
 

Macro Definition Documentation

#define ACPI_MAX_TABLES   128

Definition at line 38 of file tables.c.

#define PREFIX   "ACPI: "

Definition at line 36 of file tables.c.

Function Documentation

int __init acpi_table_init ( void  )

Definition at line 348 of file tables.c.

int __init acpi_table_parse ( char id,
acpi_table_handler  handler 
)

acpi_table_parse - find table with , run on it

: table id to find : handler to run

Scan the ACPI System Descriptor Table (STD) for a table matching , run on it. Return 0 if table found, return on if not.

Definition at line 288 of file tables.c.

int __init acpi_table_parse_entries ( char id,
unsigned long  table_size,
int  entry_id,
acpi_table_entry_handler  handler,
unsigned int  max_entries 
)

Definition at line 204 of file tables.c.

int __init acpi_table_parse_madt ( enum acpi_madt_type  id,
acpi_table_entry_handler  handler,
unsigned int  max_entries 
)

Definition at line 271 of file tables.c.

void acpi_table_print_madt_entry ( struct acpi_subtable_header header)

Definition at line 47 of file tables.c.

early_param ( "acpi_apic_instance"  ,
acpi_parse_apic_instance   
)