Back to index

glibc  2.9
Functions
rse.h File Reference
#include <features.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static __inline unsigned long ia64_rse_slot_num (unsigned long *addr)
static __inline unsigned long ia64_rse_is_rnat_slot (unsigned long *addr)
static __inline unsigned long * ia64_rse_rnat_addr (unsigned long *slot_addr)
static __inline unsigned long ia64_rse_num_regs (unsigned long *bspstore, unsigned long *bsp)
static __inline unsigned long * ia64_rse_skip_regs (unsigned long *addr, long num_regs)

Function Documentation

static __inline unsigned long ia64_rse_is_rnat_slot ( unsigned long *  addr) [static]

Definition at line 39 of file rse.h.

{
       return ia64_rse_slot_num (addr) == 0x3f;
}

Here is the call graph for this function:

static __inline unsigned long ia64_rse_num_regs ( unsigned long *  bspstore,
unsigned long *  bsp 
) [static]

Definition at line 58 of file rse.h.

{
       unsigned long slots = (bsp - bspstore);

       return slots - (ia64_rse_slot_num(bspstore) + slots)/0x40;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static __inline unsigned long* ia64_rse_rnat_addr ( unsigned long *  slot_addr) [static]

Definition at line 48 of file rse.h.

{
       return (unsigned long *) ((unsigned long) slot_addr | (0x3f << 3));
}

Here is the caller graph for this function:

static __inline unsigned long* ia64_rse_skip_regs ( unsigned long *  addr,
long  num_regs 
) [static]

Definition at line 69 of file rse.h.

{
       long delta = ia64_rse_slot_num(addr) + num_regs;

       if (num_regs < 0)
              delta -= 0x3e;
       return addr + num_regs + delta/0x3f;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static __inline unsigned long ia64_rse_slot_num ( unsigned long *  addr) [static]

Definition at line 31 of file rse.h.

{
       return (((unsigned long) addr) >> 3) & 0x3f;
}

Here is the caller graph for this function: