Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
acpi.h File Reference
#include <acpi/pdc_intel.h>
#include <asm/numa.h>
#include <asm/processor.h>
#include <asm/mmu.h>
#include <asm/mpspec.h>
#include <asm/realmode.h>

Go to the source code of this file.

Macros

#define COMPILER_DEPENDENT_INT64   long long
 
#define COMPILER_DEPENDENT_UINT64   unsigned long long
 
#define ACPI_SYSTEM_XFACE
 
#define ACPI_EXTERNAL_XFACE
 
#define ACPI_INTERNAL_XFACE
 
#define ACPI_INTERNAL_VAR_XFACE
 
#define ACPI_ASM_MACROS
 
#define BREAKPOINT3
 
#define ACPI_DISABLE_IRQS()   local_irq_disable()
 
#define ACPI_ENABLE_IRQS()   local_irq_enable()
 
#define ACPI_FLUSH_CPU_CACHE()   wbinvd()
 
#define ACPI_ACQUIRE_GLOBAL_LOCK(facs, Acq)   ((Acq) = __acpi_acquire_global_lock(&facs->global_lock))
 
#define ACPI_RELEASE_GLOBAL_LOCK(facs, Acq)   ((Acq) = __acpi_release_global_lock(&facs->global_lock))
 
#define ACPI_DIV_64_BY_32(n_hi, n_lo, d32, q32, r32)
 
#define ACPI_SHIFT_RIGHT_64(n_hi, n_lo)
 
#define acpi_lapic   0
 
#define acpi_ioapic   0
 
#define ARCH_HAS_POWER_INIT   1
 
#define acpi_unlazy_tlb(x)   leave_mm(x)
 

Functions

int __acpi_acquire_global_lock (unsigned int *lock)
 
int __acpi_release_global_lock (unsigned int *lock)
 

Macro Definition Documentation

#define ACPI_ACQUIRE_GLOBAL_LOCK (   facs,
  Acq 
)    ((Acq) = __acpi_acquire_global_lock(&facs->global_lock))

Definition at line 61 of file acpi.h.

#define ACPI_ASM_MACROS

Definition at line 52 of file acpi.h.

#define ACPI_DISABLE_IRQS ( )    local_irq_disable()

Definition at line 54 of file acpi.h.

#define ACPI_DIV_64_BY_32 (   n_hi,
  n_lo,
  d32,
  q32,
  r32 
)
Value:
asm("divl %2;" \
: "=a"(q32), "=d"(r32) \
: "r"(d32), \
"0"(n_lo), "1"(n_hi))

Definition at line 70 of file acpi.h.

#define ACPI_ENABLE_IRQS ( )    local_irq_enable()

Definition at line 55 of file acpi.h.

#define ACPI_EXTERNAL_XFACE

Definition at line 46 of file acpi.h.

#define ACPI_FLUSH_CPU_CACHE ( )    wbinvd()

Definition at line 56 of file acpi.h.

#define ACPI_INTERNAL_VAR_XFACE

Definition at line 48 of file acpi.h.

#define ACPI_INTERNAL_XFACE

Definition at line 47 of file acpi.h.

#define acpi_ioapic   0

Definition at line 174 of file acpi.h.

#define acpi_lapic   0

Definition at line 173 of file acpi.h.

#define ACPI_RELEASE_GLOBAL_LOCK (   facs,
  Acq 
)    ((Acq) = __acpi_release_global_lock(&facs->global_lock))

Definition at line 64 of file acpi.h.

#define ACPI_SHIFT_RIGHT_64 (   n_hi,
  n_lo 
)
Value:
asm("shrl $1,%2 ;" \
"rcrl $1,%3;" \
: "=r"(n_hi), "=r"(n_lo) \
: "0"(n_hi), "1"(n_lo))

Definition at line 77 of file acpi.h.

#define ACPI_SYSTEM_XFACE

Definition at line 45 of file acpi.h.

#define acpi_unlazy_tlb (   x)    leave_mm(x)

Definition at line 188 of file acpi.h.

#define ARCH_HAS_POWER_INIT   1

Definition at line 181 of file acpi.h.

#define BREAKPOINT3

Definition at line 53 of file acpi.h.

#define COMPILER_DEPENDENT_INT64   long long

Definition at line 34 of file acpi.h.

#define COMPILER_DEPENDENT_UINT64   unsigned long long

Definition at line 35 of file acpi.h.

Function Documentation

int __acpi_acquire_global_lock ( unsigned int lock)

Definition at line 1682 of file boot.c.

int __acpi_release_global_lock ( unsigned int lock)

Definition at line 1693 of file boot.c.