Back to index

glibc  2.9
Defines | Enumerations | Functions
dl-procinfo.h File Reference
#include <ldsodefs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _DL_HWCAP_COUNT   7
#define _DL_PLATFORMS_COUNT   4
#define _DL_FIRST_PLATFORM   32
#define _DL_HWCAP_PLATFORM
#define HWCAP_IMPORTANT
#define _dl_procinfo(word)   -1

Enumerations

enum  {
  HWCAP_S390_ESAN3 = 1 << 0, HWCAP_S390_ZARCH = 1 << 1, HWCAP_S390_STFLE = 1 << 2, HWCAP_S390_MSA = 1 << 3,
  HWCAP_S390_LDISP = 1 << 4, HWCAP_S390_EIMM = 1 << 5, HWCAP_S390_DFP = 1 << 6
}

Functions

static const char * __attribute__ ((unused)) _dl_hwcap_string(int idx)
static int __attribute__ ((unused, always_inline)) _dl_string_hwcap(const char *str)

Define Documentation

#define _DL_FIRST_PLATFORM   32

Definition at line 30 of file dl-procinfo.h.

#define _DL_HWCAP_COUNT   7

Definition at line 25 of file dl-procinfo.h.

Value:
(((1ULL << _DL_PLATFORMS_COUNT) - 1) \
                             << _DL_FIRST_PLATFORM)

Definition at line 32 of file dl-procinfo.h.

#define _DL_PLATFORMS_COUNT   4

Definition at line 27 of file dl-procinfo.h.

#define _dl_procinfo (   word)    -1

Definition at line 54 of file dl-procinfo.h.

#define HWCAP_IMPORTANT
Value:

Definition at line 50 of file dl-procinfo.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
HWCAP_S390_ESAN3 
HWCAP_S390_ZARCH 
HWCAP_S390_STFLE 
HWCAP_S390_MSA 
HWCAP_S390_LDISP 
HWCAP_S390_EIMM 
HWCAP_S390_DFP 

Definition at line 39 of file dl-procinfo.h.

{
  HWCAP_S390_ESAN3 = 1 << 0,
  HWCAP_S390_ZARCH = 1 << 1,
  HWCAP_S390_STFLE = 1 << 2,
  HWCAP_S390_MSA = 1 << 3,
  HWCAP_S390_LDISP = 1 << 4,
  HWCAP_S390_EIMM = 1 << 5,
  HWCAP_S390_DFP = 1 << 6,
};

Function Documentation

static const char* __attribute__ ( (unused)  ) [inline, static]

Definition at line 57 of file dl-procinfo.h.

{
  return GLRO(dl_s390_cap_flags)[idx];
};
static int __attribute__ ( (unused, always_inline)  ) const [inline, static]

Definition at line 71 of file dl-procinfo.h.

{
  int i;

  for (i = 0; i < _DL_HWCAP_COUNT; i++)
    {
      if (strcmp (str, GLRO(dl_s390_cap_flags)[i]) == 0)
       return i;
    }
  return -1;
};