KVM-Nyx-fork/arch/powerpc/lib/test_code-patching.S
David Venhoff cfcea9ee67 Initial commit
Based off b80915eb99
and compacted into a single commit so that it will fit on the uni git server
2025-08-11 13:05:09 +02:00

21 lines
303 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2020 IBM Corporation
*/
#include <asm/ppc-opcode.h>
.text
#define globl(x) \
.globl x; \
x:
globl(code_patching_test1)
nop
nop
globl(end_code_patching_test1)
globl(code_patching_test1_expected)
.long OP_PREFIX << 26
.long 0x0000000