/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ICSWX api * * Copyright (C) 2015 IBM Corp. * * This provides the Initiate Coprocessor Store Word Indexed (ICSWX) * instruction. This instruction is used to communicate with PowerPC * coprocessors. This also provides definitions of the structures used * to communicate with the coprocessor. * * The RFC02130: Coprocessor Architecture document is the reference for * everything in this file unless otherwise noted.
*/ #ifndef _ARCH_POWERPC_INCLUDE_ASM_ICSWX_H_ #define _ARCH_POWERPC_INCLUDE_ASM_ICSWX_H_
/* Coprocessor Status Block field * ADDRESS address of CSB * C CCB is valid * AT 0 = addrs are virtual, 1 = addrs are phys * M enable perf monitor
*/ #define CRB_CSB_ADDRESS (0xfffffffffffffff0) #define CRB_CSB_C (0x0000000000000008) #define CRB_CSB_AT (0x0000000000000002) #define CRB_CSB_M (0x0000000000000001)
/* RFC02167 Initiate Coprocessor Instructions document * Chapter 8.2.1.1.1 RS * Chapter 8.2.3 Coprocessor Directive * Chapter 8.2.4 Execution * * The CCW must be converted to BE before passing to icswx()
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.