root/arch/csky/abiv2/inc/abi/reg_ops.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. mfcr_hint
  2. mfcr_ccr2

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
   3 
   4 #ifndef __ABI_REG_OPS_H
   5 #define __ABI_REG_OPS_H
   6 #include <asm/reg_ops.h>
   7 
   8 static inline unsigned int mfcr_hint(void)
   9 {
  10         return mfcr("cr31");
  11 }
  12 
  13 static inline unsigned int mfcr_ccr2(void)
  14 {
  15         return mfcr("cr23");
  16 }
  17 #endif /* __ABI_REG_OPS_H */

/* [<][>][^][v][top][bottom][index][help] */