forked from luck/tmp_suning_uos_patched
7f30491ccd
After moving the the include files there were a few clean-ups: 1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h> 2) Some comments alerted maintainers to look at various header files to make matching updates if certain code were to be changed. Updated these comments to use the new include paths. 3) Some header files mentioned their own names in initial comments. Just deleted these self references. Signed-off-by: Tony Luck <tony.luck@intel.com>
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
#ifndef _ASM_IA64_PATCH_H
|
|
#define _ASM_IA64_PATCH_H
|
|
|
|
/*
|
|
* Copyright (C) 2003 Hewlett-Packard Co
|
|
* David Mosberger-Tang <davidm@hpl.hp.com>
|
|
*
|
|
* There are a number of reasons for patching instructions. Rather than duplicating code
|
|
* all over the place, we put the common stuff here. Reasons for patching: in-kernel
|
|
* module-loader, virtual-to-physical patch-list, McKinley Errata 9 workaround, and gate
|
|
* shared library. Undoubtedly, some of these reasons will disappear and others will
|
|
* be added over time.
|
|
*/
|
|
#include <linux/elf.h>
|
|
#include <linux/types.h>
|
|
|
|
extern void ia64_patch (u64 insn_addr, u64 mask, u64 val); /* patch any insn slot */
|
|
extern void ia64_patch_imm64 (u64 insn_addr, u64 val); /* patch "movl" w/abs. value*/
|
|
extern void ia64_patch_imm60 (u64 insn_addr, u64 val); /* patch "brl" w/ip-rel value */
|
|
|
|
extern void ia64_patch_mckinley_e9 (unsigned long start, unsigned long end);
|
|
extern void ia64_patch_vtop (unsigned long start, unsigned long end);
|
|
extern void ia64_patch_phys_stack_reg(unsigned long val);
|
|
extern void ia64_patch_rse (unsigned long start, unsigned long end);
|
|
extern void ia64_patch_gate (void);
|
|
|
|
#endif /* _ASM_IA64_PATCH_H */
|