Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
boot.c File Reference
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/acpi_pmtmr.h>
#include <linux/efi.h>
#include <linux/cpumask.h>
#include <linux/module.h>
#include <linux/dmi.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <asm/pci_x86.h>
#include <asm/pgtable.h>
#include <asm/io_apic.h>
#include <asm/apic.h>
#include <asm/io.h>
#include <asm/mpspec.h>
#include <asm/smp.h>

Go to the source code of this file.

Macros

#define BAD_MADT_ENTRY(entry, end)
 
#define PREFIX   "ACPI: "
 
#define acpi_parse_hpet   NULL
 

Functions

 EXPORT_SYMBOL (acpi_disabled)
 
 EXPORT_SYMBOL (acpi_pci_disabled)
 
char *__init __acpi_map_table (unsigned long phys, unsigned long size)
 
void __init __acpi_unmap_table (char *map, unsigned long size)
 
void __init acpi_pic_sci_set_trigger (unsigned int irq, u16 trigger)
 
int acpi_gsi_to_irq (u32 gsi, unsigned int *irq)
 
 EXPORT_SYMBOL_GPL (acpi_gsi_to_irq)
 
int acpi_isa_irq_to_gsi (unsigned isa_irq, u32 *gsi)
 
int acpi_register_gsi (struct device *dev, u32 gsi, int trigger, int polarity)
 
void __init acpi_set_irq_model_pic (void)
 
void __init acpi_set_irq_model_ioapic (void)
 
int acpi_register_ioapic (acpi_handle handle, u64 phys_addr, u32 gsi_base)
 
 EXPORT_SYMBOL (acpi_register_ioapic)
 
int acpi_unregister_ioapic (acpi_handle handle, u32 gsi_base)
 
 EXPORT_SYMBOL (acpi_unregister_ioapic)
 
void __init acpi_boot_table_init (void)
 
int __init early_acpi_boot_init (void)
 
int __init acpi_boot_init (void)
 
 early_param ("acpi", parse_acpi)
 
 early_param ("pci", parse_pci)
 
int __init acpi_mps_check (void)
 
 early_param ("acpi_sci", setup_acpi_sci)
 
int __acpi_acquire_global_lock (unsigned int *lock)
 
int __acpi_release_global_lock (unsigned int *lock)
 

Variables

u32 acpi_rsdt_forced
 
int acpi_disabled
 
int acpi_noirq
 
int acpi_pci_disabled
 
int acpi_lapic
 
int acpi_ioapic
 
int acpi_strict
 
u8 acpi_sci_flags __initdata
 
enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_PIC
 
int(* __acpi_register_gsi )(struct device *dev, u32 gsi, int trigger, int polarity) = acpi_register_gsi_pic
 

Macro Definition Documentation

#define acpi_parse_hpet   NULL

Definition at line 826 of file boot.c.

#define BAD_MADT_ENTRY (   entry,
  end 
)
Value:
( \
(!entry) || (unsigned long)entry + sizeof(*entry) > end || \
((struct acpi_subtable_header *)entry)->length < sizeof(*entry))

Definition at line 57 of file boot.c.

#define PREFIX   "ACPI: "

Definition at line 61 of file boot.c.

Function Documentation

int __acpi_acquire_global_lock ( unsigned int lock)

Definition at line 1682 of file boot.c.

char* __init __acpi_map_table ( unsigned long  phys,
unsigned long  size 
)

Definition at line 155 of file boot.c.

int __acpi_release_global_lock ( unsigned int lock)

Definition at line 1693 of file boot.c.

void __init __acpi_unmap_table ( char map,
unsigned long  size 
)

Definition at line 163 of file boot.c.

int __init acpi_boot_init ( void  )

Definition at line 1553 of file boot.c.

void __init acpi_boot_table_init ( void  )

Definition at line 1503 of file boot.c.

int acpi_gsi_to_irq ( u32  gsi,
unsigned int irq 
)

Definition at line 515 of file boot.c.

int acpi_isa_irq_to_gsi ( unsigned  isa_irq,
u32 gsi 
)

Definition at line 528 of file boot.c.

int __init acpi_mps_check ( void  )

Definition at line 1630 of file boot.c.

void __init acpi_pic_sci_set_trigger ( unsigned int  irq,
u16  trigger 
)

Definition at line 479 of file boot.c.

int acpi_register_gsi ( struct device dev,
u32  gsi,
int  trigger,
int  polarity 
)

Definition at line 567 of file boot.c.

int acpi_register_ioapic ( acpi_handle  handle,
u64  phys_addr,
u32  gsi_base 
)

Definition at line 704 of file boot.c.

void __init acpi_set_irq_model_ioapic ( void  )

Definition at line 585 of file boot.c.

void __init acpi_set_irq_model_pic ( void  )

Definition at line 578 of file boot.c.

int acpi_unregister_ioapic ( acpi_handle  handle,
u32  gsi_base 
)

Definition at line 712 of file boot.c.

int __init early_acpi_boot_init ( void  )

Definition at line 1537 of file boot.c.

early_param ( "acpi"  ,
parse_acpi   
)
early_param ( "pci"  ,
parse_pci   
)
early_param ( "acpi_sci"  ,
setup_acpi_sci   
)
EXPORT_SYMBOL ( acpi_disabled  )
EXPORT_SYMBOL ( acpi_pci_disabled  )
EXPORT_SYMBOL ( acpi_register_ioapic  )
EXPORT_SYMBOL ( acpi_unregister_ioapic  )
EXPORT_SYMBOL_GPL ( acpi_gsi_to_irq  )

Variable Documentation

int(* __acpi_register_gsi)(struct device *dev, u32 gsi, int trigger, int polarity) = acpi_register_gsi_pic

Definition at line 560 of file boot.c.

int acpi_fix_pin2_polarity __initdata

Definition at line 71 of file boot.c.

int acpi_disabled

Definition at line 49 of file boot.c.

int acpi_ioapic

Definition at line 68 of file boot.c.

enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_PIC

Definition at line 93 of file boot.c.

int acpi_lapic

Definition at line 67 of file boot.c.

int acpi_noirq

Definition at line 63 of file boot.c.

int acpi_pci_disabled

Definition at line 64 of file boot.c.

u32 acpi_rsdt_forced

Definition at line 48 of file boot.c.

int acpi_strict

Definition at line 69 of file boot.c.