Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
paravirt_patch.h File Reference
#include <linux/stringify.h>
#include <asm/intrinsics.h>

Go to the source code of this file.

Data Structures

struct  paravirt_patch_site_bundle
 
struct  paravirt_patch_bundle_elem
 
struct  paravirt_patch_site_inst
 
struct  paravirt_patch_site_branch
 
struct  paravirt_patch_branch_target
 

Macros

#define paravirt_alt_bundle(instr, privop)
 
#define paravirt_alt_inst(instr, privop)
 
#define paravirt_patch_apply_bundle(start, end)   do { } while (0)
 
#define paravirt_patch_apply_inst(start, end)   do { } while (0)
 
#define paravirt_patch_apply()   do { } while (0)
 

Functions

void __paravirt_patch_apply_branch (unsigned long tag, unsigned long type, const struct paravirt_patch_branch_target *entries, unsigned int nr_entries)
 
void paravirt_patch_reloc_br (unsigned long tag, const void *target)
 
void paravirt_patch_reloc_brl (unsigned long tag, const void *target)
 

Macro Definition Documentation

#define paravirt_alt_bundle (   instr,
  privop 
)
Value:
"\t998:\n" \
"\t" instr "\n" \
"\t999:\n" \
"\t.pushsection .paravirt_bundles, \"a\"\n" \
"\t.popsection\n" \
"\t.xdata8 \".paravirt_bundles\", 998b, 999b, " \
__stringify(privop) "\n"

Definition at line 51 of file paravirt_patch.h.

#define paravirt_alt_inst (   instr,
  privop 
)
Value:
"\t[998:]\n" \
"\t" instr "\n" \
"\t[999:]\n" \
"\t.pushsection .paravirt_insts, \"a\"\n" \
"\t.popsection\n" \
"\t.xdata8 \".paravirt_insts\", 998b, 999b, " \
__stringify(privop) "\n"

Definition at line 74 of file paravirt_patch.h.

#define paravirt_patch_apply (   void)    do { } while (0)

Definition at line 128 of file paravirt_patch.h.

#define paravirt_patch_apply_bundle (   start,
  end 
)    do { } while (0)

Definition at line 126 of file paravirt_patch.h.

#define paravirt_patch_apply_inst (   start,
  end 
)    do { } while (0)

Definition at line 127 of file paravirt_patch.h.

Function Documentation

void __paravirt_patch_apply_branch ( unsigned long  tag,
unsigned long  type,
const struct paravirt_patch_branch_target entries,
unsigned int  nr_entries 
)

Definition at line 450 of file paravirt_patch.c.

void paravirt_patch_reloc_br ( unsigned long  tag,
const void target 
)

Definition at line 428 of file paravirt_patch.c.

void paravirt_patch_reloc_brl ( unsigned long  tag,
const void target 
)

Definition at line 378 of file paravirt_patch.c.