Back to index

glibc  2.9
Defines | Functions
dl-procinfo.h File Reference
#include <ldsodefs.h>
#include <bits/wordsize.h>

Go to the source code of this file.

Defines

#define _DL_HWCAP_COUNT   8
#define HWCAP_IMPORTANT_V9   (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9)
#define HWCAP_IMPORTANT
#define _dl_platform_string(idx)   ""
#define _DL_HWCAP_PLATFORM   0
#define _dl_string_platform(str)   (-1)

Functions

static int __attribute__ ((unused)) _dl_procinfo(int word)
static int __attribute__ ((unused, always_inline)) _dl_string_hwcap(const char *str)

Define Documentation

#define _DL_HWCAP_COUNT   8

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

#define _DL_HWCAP_PLATFORM   0

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

#define _dl_platform_string (   idx)    ""

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

#define _dl_string_platform (   str)    (-1)

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

#define HWCAP_IMPORTANT
#define HWCAP_IMPORTANT_V9   (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9)

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


Function Documentation

static int __attribute__ ( (unused)  ) [inline, static]

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

{
  int i;

  _dl_printf ("AT_HWCAP:   ");

  for (i = 0; i < _DL_HWCAP_COUNT; ++i)
    if (word & (1 << i))
      _dl_printf (" %s", GLRO(dl_sparc_cap_flags)[i]);

  _dl_printf ("\n");

  return 0;
}
static int __attribute__ ( (unused, always_inline)  ) const [inline, static]

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

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