sstep.h (b2543f7b20bb2a551ed340447d7303f0ce4644f1) sstep.h (d955189ae42796621fb439e5e778ccaeebc2a1e7)
1/*
2 * Copyright (C) 2004 Paul Mackerras <paulus@au.ibm.com>, IBM
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 139 unchanged lines hidden (view full) ---

148 *
149 * Returns 1 if the instruction was emulated successfully,
150 * 0 if it could not be emulated, or -1 for an instruction that
151 * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
152 */
153extern int emulate_step(struct pt_regs *regs, unsigned int instr);
154
155extern void emulate_vsx_load(struct instruction_op *op, union vsx_reg *reg,
1/*
2 * Copyright (C) 2004 Paul Mackerras <paulus@au.ibm.com>, IBM
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 139 unchanged lines hidden (view full) ---

148 *
149 * Returns 1 if the instruction was emulated successfully,
150 * 0 if it could not be emulated, or -1 for an instruction that
151 * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
152 */
153extern int emulate_step(struct pt_regs *regs, unsigned int instr);
154
155extern void emulate_vsx_load(struct instruction_op *op, union vsx_reg *reg,
156 const void *mem);
157extern void emulate_vsx_store(struct instruction_op *op, const union vsx_reg *reg,
158 void *mem);
156 const void *mem, bool cross_endian);
157extern void emulate_vsx_store(struct instruction_op *op,
158 const union vsx_reg *reg, void *mem,
159 bool cross_endian);
159extern int emulate_dcbz(unsigned long ea, struct pt_regs *regs);
160extern int emulate_dcbz(unsigned long ea, struct pt_regs *regs);