Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
processor.h File Reference
#include <sysdep/faultinfo.h>
#include "processor_64.h"
#include <asm/user.h>
#include <asm/processor-generic.h>

Go to the source code of this file.

Macros

#define KSTK_EIP(tsk)   KSTK_REG(tsk, HOST_IP)
 
#define KSTK_ESP(tsk)   KSTK_REG(tsk, HOST_SP)
 
#define KSTK_EBP(tsk)   KSTK_REG(tsk, HOST_BP)
 
#define ARCH_IS_STACKGROW(address)   (address + 65536 + 32 * sizeof(unsigned long) >= UPT_SP(&current->thread.regs.regs))
 
#define cpu_relax()   rep_nop()
 

Macro Definition Documentation

#define ARCH_IS_STACKGROW (   address)    (address + 65536 + 32 * sizeof(unsigned long) >= UPT_SP(&current->thread.regs.regs))

Definition at line 17 of file processor.h.

#define cpu_relax (   void)    rep_nop()

Definition at line 28 of file processor.h.

#define KSTK_EBP (   tsk)    KSTK_REG(tsk, HOST_BP)

Definition at line 15 of file processor.h.

#define KSTK_EIP (   tsk)    KSTK_REG(tsk, HOST_IP)

Definition at line 13 of file processor.h.

#define KSTK_ESP (   tsk)    KSTK_REG(tsk, HOST_SP)

Definition at line 14 of file processor.h.