Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
acenv.h File Reference

Go to the source code of this file.

Macros

#define ACPI_BINARY_SEMAPHORE   0
 
#define ACPI_OSL_MUTEX   1
 
#define DEBUGGER_SINGLE_THREADED   0
 
#define DEBUGGER_MULTI_THREADED   1
 
#define ACPI_USE_STANDARD_HEADERS
 
#define COMPILER_DEPENDENT_INT64   long long
 
#define COMPILER_DEPENDENT_UINT64   unsigned long long
 
#define ACPI_MUTEX_TYPE   ACPI_BINARY_SEMAPHORE
 
#define ACPI_INLINE
 
#define DEBUGGER_THREADING   DEBUGGER_MULTI_THREADED
 
#define ACPI_IS_ASCII(c)   ((c) < 0x80)
 
#define _VALIST
 
#define _AUPBND   (sizeof (acpi_native_int) - 1)
 
#define _ADNBND   (sizeof (acpi_native_int) - 1)
 
#define _bnd(X, bnd)   (((sizeof (X)) + (bnd)) & (~(bnd)))
 
#define va_arg(ap, T)   (*(T *)(((ap) += (_bnd (T, _AUPBND))) - (_bnd (T,_ADNBND))))
 
#define va_end(ap)   (void) 0
 
#define va_start(ap, A)   (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND))))
 
#define ACPI_STRSTR(s1, s2)   acpi_ut_strstr ((s1), (s2))
 
#define ACPI_STRCHR(s1, c)   acpi_ut_strchr ((s1), (c))
 
#define ACPI_STRLEN(s)   (acpi_size) acpi_ut_strlen ((s))
 
#define ACPI_STRCPY(d, s)   (void) acpi_ut_strcpy ((d), (s))
 
#define ACPI_STRNCPY(d, s, n)   (void) acpi_ut_strncpy ((d), (s), (acpi_size)(n))
 
#define ACPI_STRNCMP(d, s, n)   acpi_ut_strncmp ((d), (s), (acpi_size)(n))
 
#define ACPI_STRCMP(d, s)   acpi_ut_strcmp ((d), (s))
 
#define ACPI_STRCAT(d, s)   (void) acpi_ut_strcat ((d), (s))
 
#define ACPI_STRNCAT(d, s, n)   acpi_ut_strncat ((d), (s), (acpi_size)(n))
 
#define ACPI_STRTOUL(d, s, n)   acpi_ut_strtoul ((d), (s), (acpi_size)(n))
 
#define ACPI_MEMCMP(s1, s2, n)   acpi_ut_memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n))
 
#define ACPI_MEMCPY(d, s, n)   (void) acpi_ut_memcpy ((d), (s), (acpi_size)(n))
 
#define ACPI_MEMSET(d, v, n)   (void) acpi_ut_memset ((d), (v), (acpi_size)(n))
 
#define ACPI_TOUPPER(c)   acpi_ut_to_upper ((int) (c))
 
#define ACPI_TOLOWER(c)   acpi_ut_to_lower ((int) (c))
 
#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()
 
#define ACPI_ENABLE_IRQS()
 
#define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acq)
 
#define ACPI_RELEASE_GLOBAL_LOCK(Glptr, acq)
 

Typedefs

typedef charva_list
 

Macro Definition Documentation

#define _ADNBND   (sizeof (acpi_native_int) - 1)

Definition at line 295 of file acenv.h.

#define _AUPBND   (sizeof (acpi_native_int) - 1)

Definition at line 294 of file acenv.h.

#define _bnd (   X,
  bnd 
)    (((sizeof (X)) + (bnd)) & (~(bnd)))

Definition at line 300 of file acenv.h.

#define _VALIST

Definition at line 287 of file acenv.h.

#define ACPI_ACQUIRE_GLOBAL_LOCK (   Glptr,
  acq 
)

Definition at line 361 of file acenv.h.

#define ACPI_ASM_MACROS

Definition at line 357 of file acenv.h.

#define ACPI_BINARY_SEMAPHORE   0

Definition at line 49 of file acenv.h.

#define ACPI_DISABLE_IRQS ( )

Definition at line 359 of file acenv.h.

#define ACPI_ENABLE_IRQS ( )

Definition at line 360 of file acenv.h.

#define ACPI_EXTERNAL_XFACE

Definition at line 353 of file acenv.h.

#define ACPI_INLINE

Definition at line 199 of file acenv.h.

#define ACPI_INTERNAL_VAR_XFACE

Definition at line 355 of file acenv.h.

#define ACPI_INTERNAL_XFACE

Definition at line 354 of file acenv.h.

#define ACPI_IS_ASCII (   c)    ((c) < 0x80)

Definition at line 225 of file acenv.h.

#define ACPI_MEMCMP (   s1,
  s2,
  n 
)    acpi_ut_memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n))

Definition at line 317 of file acenv.h.

#define ACPI_MEMCPY (   d,
  s,
  n 
)    (void) acpi_ut_memcpy ((d), (s), (acpi_size)(n))

Definition at line 318 of file acenv.h.

#define ACPI_MEMSET (   d,
  v,
  n 
)    (void) acpi_ut_memset ((d), (v), (acpi_size)(n))

Definition at line 319 of file acenv.h.

#define ACPI_MUTEX_TYPE   ACPI_BINARY_SEMAPHORE

[End] no source code translation !

Definition at line 193 of file acenv.h.

#define ACPI_OSL_MUTEX   1

Definition at line 50 of file acenv.h.

#define ACPI_RELEASE_GLOBAL_LOCK (   Glptr,
  acq 
)

Definition at line 362 of file acenv.h.

#define ACPI_STRCAT (   d,
  s 
)    (void) acpi_ut_strcat ((d), (s))

Definition at line 314 of file acenv.h.

#define ACPI_STRCHR (   s1,
  c 
)    acpi_ut_strchr ((s1), (c))

Definition at line 308 of file acenv.h.

#define ACPI_STRCMP (   d,
  s 
)    acpi_ut_strcmp ((d), (s))

Definition at line 313 of file acenv.h.

#define ACPI_STRCPY (   d,
  s 
)    (void) acpi_ut_strcpy ((d), (s))

Definition at line 310 of file acenv.h.

#define ACPI_STRLEN (   s)    (acpi_size) acpi_ut_strlen ((s))

Definition at line 309 of file acenv.h.

#define ACPI_STRNCAT (   d,
  s,
  n 
)    acpi_ut_strncat ((d), (s), (acpi_size)(n))

Definition at line 315 of file acenv.h.

#define ACPI_STRNCMP (   d,
  s,
  n 
)    acpi_ut_strncmp ((d), (s), (acpi_size)(n))

Definition at line 312 of file acenv.h.

#define ACPI_STRNCPY (   d,
  s,
  n 
)    (void) acpi_ut_strncpy ((d), (s), (acpi_size)(n))

Definition at line 311 of file acenv.h.

#define ACPI_STRSTR (   s1,
  s2 
)    acpi_ut_strstr ((s1), (s2))

Definition at line 307 of file acenv.h.

#define ACPI_STRTOUL (   d,
  s,
  n 
)    acpi_ut_strtoul ((d), (s), (acpi_size)(n))

Definition at line 316 of file acenv.h.

#define ACPI_SYSTEM_XFACE

Definition at line 352 of file acenv.h.

#define ACPI_TOLOWER (   c)    acpi_ut_to_lower ((int) (c))

Definition at line 321 of file acenv.h.

#define ACPI_TOUPPER (   c)    acpi_ut_to_upper ((int) (c))

Definition at line 320 of file acenv.h.

#define ACPI_USE_STANDARD_HEADERS

[Begin] no source code translation

Definition at line 174 of file acenv.h.

#define BREAKPOINT3

Definition at line 358 of file acenv.h.

#define COMPILER_DEPENDENT_INT64   long long

Definition at line 176 of file acenv.h.

#define COMPILER_DEPENDENT_UINT64   unsigned long long

Definition at line 177 of file acenv.h.

#define DEBUGGER_MULTI_THREADED   1

Definition at line 55 of file acenv.h.

#define DEBUGGER_SINGLE_THREADED   0

Definition at line 54 of file acenv.h.

#define DEBUGGER_THREADING   DEBUGGER_MULTI_THREADED

Definition at line 215 of file acenv.h.

#define va_arg (   ap,
  T 
)    (*(T *)(((ap) += (_bnd (T, _AUPBND))) - (_bnd (T,_ADNBND))))

Definition at line 301 of file acenv.h.

#define va_end (   ap)    (void) 0

Definition at line 302 of file acenv.h.

#define va_start (   ap,
  A 
)    (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND))))

Definition at line 303 of file acenv.h.

Typedef Documentation

Definition at line 288 of file acenv.h.