diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
| commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
| tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-ia64/patch.h | |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-ia64/patch.h')
| -rw-r--r-- | include/asm-ia64/patch.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asm-ia64/patch.h b/include/asm-ia64/patch.h new file mode 100644 index 0000000000..4797f3535e --- /dev/null +++ b/include/asm-ia64/patch.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #ifndef _ASM_IA64_PATCH_H | ||
| 2 | #define _ASM_IA64_PATCH_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * Copyright (C) 2003 Hewlett-Packard Co | ||
| 6 | * David Mosberger-Tang <davidm@hpl.hp.com> | ||
| 7 | * | ||
| 8 | * There are a number of reasons for patching instructions. Rather than duplicating code | ||
| 9 | * all over the place, we put the common stuff here. Reasons for patching: in-kernel | ||
| 10 | * module-loader, virtual-to-physical patch-list, McKinley Errata 9 workaround, and gate | ||
| 11 | * shared library. Undoubtedly, some of these reasons will disappear and others will | ||
| 12 | * be added over time. | ||
| 13 | */ | ||
| 14 | #include <linux/elf.h> | ||
| 15 | #include <linux/types.h> | ||
| 16 | |||
| 17 | extern void ia64_patch (u64 insn_addr, u64 mask, u64 val); /* patch any insn slot */ | ||
| 18 | extern void ia64_patch_imm64 (u64 insn_addr, u64 val); /* patch "movl" w/abs. value*/ | ||
| 19 | extern void ia64_patch_imm60 (u64 insn_addr, u64 val); /* patch "brl" w/ip-rel value */ | ||
| 20 | |||
| 21 | extern void ia64_patch_mckinley_e9 (unsigned long start, unsigned long end); | ||
| 22 | extern void ia64_patch_vtop (unsigned long start, unsigned long end); | ||
| 23 | extern void ia64_patch_gate (void); | ||
| 24 | |||
| 25 | #endif /* _ASM_IA64_PATCH_H */ | ||
