Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mipsmtregs.h File Reference
#include <asm/mipsregs.h>
#include <asm/war.h>

Go to the source code of this file.

Macros

#define read_c0_mvpcontrol()   __read_32bit_c0_register($0, 1)
 
#define write_c0_mvpcontrol(val)   __write_32bit_c0_register($0, 1, val)
 
#define read_c0_mvpconf0()   __read_32bit_c0_register($0, 2)
 
#define read_c0_mvpconf1()   __read_32bit_c0_register($0, 3)
 
#define read_c0_vpecontrol()   __read_32bit_c0_register($1, 1)
 
#define write_c0_vpecontrol(val)   __write_32bit_c0_register($1, 1, val)
 
#define read_c0_vpeconf0()   __read_32bit_c0_register($1, 2)
 
#define write_c0_vpeconf0(val)   __write_32bit_c0_register($1, 2, val)
 
#define read_c0_vpeconf1()   __read_32bit_c0_register($1, 3)
 
#define write_c0_vpeconf1(val)   __write_32bit_c0_register($1, 3, val)
 
#define read_c0_tcstatus()   __read_32bit_c0_register($2, 1)
 
#define write_c0_tcstatus(val)   __write_32bit_c0_register($2, 1, val)
 
#define read_c0_tcbind()   __read_32bit_c0_register($2, 2)
 
#define read_c0_tccontext()   __read_32bit_c0_register($2, 5)
 
#define write_c0_tccontext(val)   __write_32bit_c0_register($2, 5, val)
 
#define MVPCONTROL_EVP   (_ULCAST_(1))
 
#define MVPCONTROL_VPC_SHIFT   1
 
#define MVPCONTROL_VPC   (_ULCAST_(1) << MVPCONTROL_VPC_SHIFT)
 
#define MVPCONTROL_STLB_SHIFT   2
 
#define MVPCONTROL_STLB   (_ULCAST_(1) << MVPCONTROL_STLB_SHIFT)
 
#define MVPCONF0_PTC_SHIFT   0
 
#define MVPCONF0_PTC   ( _ULCAST_(0xff))
 
#define MVPCONF0_PVPE_SHIFT   10
 
#define MVPCONF0_PVPE   ( _ULCAST_(0xf) << MVPCONF0_PVPE_SHIFT)
 
#define MVPCONF0_TCA_SHIFT   15
 
#define MVPCONF0_TCA   ( _ULCAST_(1) << MVPCONF0_TCA_SHIFT)
 
#define MVPCONF0_PTLBE_SHIFT   16
 
#define MVPCONF0_PTLBE   (_ULCAST_(0x3ff) << MVPCONF0_PTLBE_SHIFT)
 
#define MVPCONF0_TLBS_SHIFT   29
 
#define MVPCONF0_TLBS   (_ULCAST_(1) << MVPCONF0_TLBS_SHIFT)
 
#define MVPCONF0_M_SHIFT   31
 
#define MVPCONF0_M   (_ULCAST_(0x1) << MVPCONF0_M_SHIFT)
 
#define CONFIG3_MT_SHIFT   2
 
#define CONFIG3_MT   (_ULCAST_(1) << CONFIG3_MT_SHIFT)
 
#define VPECONTROL_TARGTC   (_ULCAST_(0xff))
 
#define VPECONTROL_TE_SHIFT   15
 
#define VPECONTROL_TE   (_ULCAST_(1) << VPECONTROL_TE_SHIFT)
 
#define VPECONTROL_EXCPT_SHIFT   16
 
#define VPECONTROL_EXCPT   (_ULCAST_(0x7) << VPECONTROL_EXCPT_SHIFT)
 
#define THREX_TU   0
 
#define THREX_TO   1
 
#define THREX_IYQ   2
 
#define THREX_GSX   3
 
#define THREX_YSCH   4
 
#define THREX_GSSCH   5
 
#define VPECONTROL_GSI_SHIFT   20
 
#define VPECONTROL_GSI   (_ULCAST_(1) << VPECONTROL_GSI_SHIFT)
 
#define VPECONTROL_YSI_SHIFT   21
 
#define VPECONTROL_YSI   (_ULCAST_(1) << VPECONTROL_YSI_SHIFT)
 
#define VPECONF0_VPA_SHIFT   0
 
#define VPECONF0_VPA   (_ULCAST_(1) << VPECONF0_VPA_SHIFT)
 
#define VPECONF0_MVP_SHIFT   1
 
#define VPECONF0_MVP   (_ULCAST_(1) << VPECONF0_MVP_SHIFT)
 
#define VPECONF0_XTC_SHIFT   21
 
#define VPECONF0_XTC   (_ULCAST_(0xff) << VPECONF0_XTC_SHIFT)
 
#define VPECONF1_NCP1_SHIFT   0
 
#define VPECONF1_NCP1   (_ULCAST_(0xff) << VPECONF1_NCP1_SHIFT)
 
#define VPECONF1_NCP2_SHIFT   10
 
#define VPECONF1_NCP2   (_ULCAST_(0xff) << VPECONF1_NCP2_SHIFT)
 
#define VPECONF1_NCX_SHIFT   20
 
#define VPECONF1_NCX   (_ULCAST_(0xff) << VPECONF1_NCX_SHIFT)
 
#define TCSTATUS_TASID   (_ULCAST_(0xff))
 
#define TCSTATUS_IXMT_SHIFT   10
 
#define TCSTATUS_IXMT   (_ULCAST_(1) << TCSTATUS_IXMT_SHIFT)
 
#define TCSTATUS_TKSU_SHIFT   11
 
#define TCSTATUS_TKSU   (_ULCAST_(3) << TCSTATUS_TKSU_SHIFT)
 
#define TCSTATUS_A_SHIFT   13
 
#define TCSTATUS_A   (_ULCAST_(1) << TCSTATUS_A_SHIFT)
 
#define TCSTATUS_DA_SHIFT   15
 
#define TCSTATUS_DA   (_ULCAST_(1) << TCSTATUS_DA_SHIFT)
 
#define TCSTATUS_DT_SHIFT   20
 
#define TCSTATUS_DT   (_ULCAST_(1) << TCSTATUS_DT_SHIFT)
 
#define TCSTATUS_TDS_SHIFT   21
 
#define TCSTATUS_TDS   (_ULCAST_(1) << TCSTATUS_TDS_SHIFT)
 
#define TCSTATUS_TSST_SHIFT   22
 
#define TCSTATUS_TSST   (_ULCAST_(1) << TCSTATUS_TSST_SHIFT)
 
#define TCSTATUS_RNST_SHIFT   23
 
#define TCSTATUS_RNST   (_ULCAST_(3) << TCSTATUS_RNST_SHIFT)
 
#define TC_RUNNING   0
 
#define TC_WAITING   1
 
#define TC_YIELDING   2
 
#define TC_GATED   3
 
#define TCSTATUS_TMX_SHIFT   27
 
#define TCSTATUS_TMX   (_ULCAST_(1) << TCSTATUS_TMX_SHIFT)
 
#define TCBIND_CURVPE_SHIFT   0
 
#define TCBIND_CURVPE   (_ULCAST_(0xf))
 
#define TCBIND_CURTC_SHIFT   21
 
#define TCBIND_CURTC   (_ULCAST_(0xff) << TCBIND_CURTC_SHIFT)
 
#define TCHALT_H   (_ULCAST_(1))
 
#define EVPE_ENABLE   MVPCONTROL_EVP
 
#define EMT_ENABLE   VPECONTROL_TE
 
#define mftc0(rt, sel)
 
#define mftgpr(rt)
 
#define mftr(rt, u, sel)
 
#define mttgpr(rd, v)
 
#define mttc0(rd, sel, v)
 
#define mttr(rd, u, sel, v)
 
#define settc(tc)
 
#define read_vpe_c0_vpecontrol()   mftc0(1, 1)
 
#define write_vpe_c0_vpecontrol(val)   mttc0(1, 1, val)
 
#define read_vpe_c0_vpeconf0()   mftc0(1, 2)
 
#define write_vpe_c0_vpeconf0(val)   mttc0(1, 2, val)
 
#define read_vpe_c0_vpeconf1()   mftc0(1, 3)
 
#define write_vpe_c0_vpeconf1(val)   mttc0(1, 3, val)
 
#define read_vpe_c0_count()   mftc0(9, 0)
 
#define write_vpe_c0_count(val)   mttc0(9, 0, val)
 
#define read_vpe_c0_status()   mftc0(12, 0)
 
#define write_vpe_c0_status(val)   mttc0(12, 0, val)
 
#define read_vpe_c0_cause()   mftc0(13, 0)
 
#define write_vpe_c0_cause(val)   mttc0(13, 0, val)
 
#define read_vpe_c0_config()   mftc0(16, 0)
 
#define write_vpe_c0_config(val)   mttc0(16, 0, val)
 
#define read_vpe_c0_config1()   mftc0(16, 1)
 
#define write_vpe_c0_config1(val)   mttc0(16, 1, val)
 
#define read_vpe_c0_config7()   mftc0(16, 7)
 
#define write_vpe_c0_config7(val)   mttc0(16, 7, val)
 
#define read_vpe_c0_ebase()   mftc0(15, 1)
 
#define write_vpe_c0_ebase(val)   mttc0(15, 1, val)
 
#define write_vpe_c0_compare(val)   mttc0(11, 0, val)
 
#define read_vpe_c0_badvaddr()   mftc0(8, 0)
 
#define read_vpe_c0_epc()   mftc0(14, 0)
 
#define write_vpe_c0_epc(val)   mttc0(14, 0, val)
 
#define read_tc_c0_tcstatus()   mftc0(2, 1)
 
#define write_tc_c0_tcstatus(val)   mttc0(2, 1, val)
 
#define read_tc_c0_tcbind()   mftc0(2, 2)
 
#define write_tc_c0_tcbind(val)   mttc0(2, 2, val)
 
#define read_tc_c0_tcrestart()   mftc0(2, 3)
 
#define write_tc_c0_tcrestart(val)   mttc0(2, 3, val)
 
#define read_tc_c0_tchalt()   mftc0(2, 4)
 
#define write_tc_c0_tchalt(val)   mttc0(2, 4, val)
 
#define read_tc_c0_tccontext()   mftc0(2, 5)
 
#define write_tc_c0_tccontext(val)   mttc0(2, 5, val)
 
#define read_tc_gpr_sp()   mftgpr(29)
 
#define write_tc_gpr_sp(val)   mttgpr(29, val)
 
#define read_tc_gpr_gp()   mftgpr(28)
 
#define write_tc_gpr_gp(val)   mttgpr(28, val)
 

Macro Definition Documentation

#define CONFIG3_MT   (_ULCAST_(1) << CONFIG3_MT_SHIFT)

Definition at line 98 of file mipsmtregs.h.

#define CONFIG3_MT_SHIFT   2

Definition at line 97 of file mipsmtregs.h.

#define EMT_ENABLE   VPECONTROL_TE

Definition at line 255 of file mipsmtregs.h.

#define EVPE_ENABLE   MVPCONTROL_EVP

Definition at line 214 of file mipsmtregs.h.

#define mftc0 (   rt,
  sel 
)
Value:
({ \
unsigned long __res; \
\
__asm__ __volatile__( \
" .set push \n" \
" .set mips32r2 \n" \
" .set noat \n" \
" # mftc0 $1, $" #rt ", " #sel " \n" \
" .word 0x41000800 | (" #rt " << 16) | " #sel " \n" \
" move %0, $1 \n" \
" .set pop \n" \
: "=r" (__res)); \
\
__res; \
})

Definition at line 271 of file mipsmtregs.h.

#define mftgpr (   rt)
Value:
({ \
unsigned long __res; \
\
__asm__ __volatile__( \
" .set push \n" \
" .set noat \n" \
" .set mips32r2 \n" \
" # mftgpr $1," #rt " \n" \
" .word 0x41000820 | (" #rt " << 16) \n" \
" move %0, $1 \n" \
" .set pop \n" \
: "=r" (__res)); \
\
__res; \
})

Definition at line 288 of file mipsmtregs.h.

#define mftr (   rt,
  u,
  sel 
)
Value:
({ \
unsigned long __res; \
\
__asm__ __volatile__( \
" mftr %0, " #rt ", " #u ", " #sel " \n" \
: "=r" (__res)); \
\
__res; \
})

Definition at line 305 of file mipsmtregs.h.

#define mttc0 (   rd,
  sel,
  v 
)
Value:
({ \
__asm__ __volatile__( \
" .set push \n" \
" .set mips32r2 \n" \
" .set noat \n" \
" move $1, %0 \n" \
" # mttc0 %0," #rd ", " #sel " \n" \
" .word 0x41810000 | (" #rd " << 11) | " #sel " \n" \
" .set pop \n" \
: \
: "r" (v)); \
})

Definition at line 329 of file mipsmtregs.h.

#define mttgpr (   rd,
  v 
)
Value:
do { \
__asm__ __volatile__( \
" .set push \n" \
" .set mips32r2 \n" \
" .set noat \n" \
" move $1, %0 \n" \
" # mttgpr $1, " #rd " \n" \
" .word 0x41810020 | (" #rd " << 11) \n" \
" .set pop \n" \
: : "r" (v)); \
} while (0)

Definition at line 316 of file mipsmtregs.h.

#define mttr (   rd,
  u,
  sel,
  v 
)
Value:
({ \
__asm__ __volatile__( \
"mttr %0," #rd ", " #u ", " #sel \
: : "r" (v)); \
})

Definition at line 344 of file mipsmtregs.h.

#define MVPCONF0_M   (_ULCAST_(0x1) << MVPCONF0_M_SHIFT)

Definition at line 93 of file mipsmtregs.h.

#define MVPCONF0_M_SHIFT   31

Definition at line 92 of file mipsmtregs.h.

#define MVPCONF0_PTC   ( _ULCAST_(0xff))

Definition at line 83 of file mipsmtregs.h.

#define MVPCONF0_PTC_SHIFT   0

Definition at line 82 of file mipsmtregs.h.

#define MVPCONF0_PTLBE   (_ULCAST_(0x3ff) << MVPCONF0_PTLBE_SHIFT)

Definition at line 89 of file mipsmtregs.h.

#define MVPCONF0_PTLBE_SHIFT   16

Definition at line 88 of file mipsmtregs.h.

#define MVPCONF0_PVPE   ( _ULCAST_(0xf) << MVPCONF0_PVPE_SHIFT)

Definition at line 85 of file mipsmtregs.h.

#define MVPCONF0_PVPE_SHIFT   10

Definition at line 84 of file mipsmtregs.h.

#define MVPCONF0_TCA   ( _ULCAST_(1) << MVPCONF0_TCA_SHIFT)

Definition at line 87 of file mipsmtregs.h.

#define MVPCONF0_TCA_SHIFT   15

Definition at line 86 of file mipsmtregs.h.

#define MVPCONF0_TLBS   (_ULCAST_(1) << MVPCONF0_TLBS_SHIFT)

Definition at line 91 of file mipsmtregs.h.

#define MVPCONF0_TLBS_SHIFT   29

Definition at line 90 of file mipsmtregs.h.

#define MVPCONTROL_EVP   (_ULCAST_(1))

Definition at line 72 of file mipsmtregs.h.

#define MVPCONTROL_STLB   (_ULCAST_(1) << MVPCONTROL_STLB_SHIFT)

Definition at line 78 of file mipsmtregs.h.

#define MVPCONTROL_STLB_SHIFT   2

Definition at line 77 of file mipsmtregs.h.

#define MVPCONTROL_VPC   (_ULCAST_(1) << MVPCONTROL_VPC_SHIFT)

Definition at line 75 of file mipsmtregs.h.

#define MVPCONTROL_VPC_SHIFT   1

Definition at line 74 of file mipsmtregs.h.

#define read_c0_mvpconf0 ( )    __read_32bit_c0_register($0, 2)

Definition at line 22 of file mipsmtregs.h.

#define read_c0_mvpconf1 ( )    __read_32bit_c0_register($0, 3)

Definition at line 23 of file mipsmtregs.h.

#define read_c0_mvpcontrol ( )    __read_32bit_c0_register($0, 1)

Definition at line 19 of file mipsmtregs.h.

#define read_c0_tcbind ( )    __read_32bit_c0_register($2, 2)

Definition at line 37 of file mipsmtregs.h.

#define read_c0_tccontext ( )    __read_32bit_c0_register($2, 5)

Definition at line 39 of file mipsmtregs.h.

#define read_c0_tcstatus ( )    __read_32bit_c0_register($2, 1)

Definition at line 34 of file mipsmtregs.h.

#define read_c0_vpeconf0 ( )    __read_32bit_c0_register($1, 2)

Definition at line 28 of file mipsmtregs.h.

#define read_c0_vpeconf1 ( )    __read_32bit_c0_register($1, 3)

Definition at line 31 of file mipsmtregs.h.

#define read_c0_vpecontrol ( )    __read_32bit_c0_register($1, 1)

Definition at line 25 of file mipsmtregs.h.

#define read_tc_c0_tcbind ( )    mftc0(2, 2)

Definition at line 389 of file mipsmtregs.h.

#define read_tc_c0_tccontext ( )    mftc0(2, 5)

Definition at line 395 of file mipsmtregs.h.

#define read_tc_c0_tchalt ( )    mftc0(2, 4)

Definition at line 393 of file mipsmtregs.h.

#define read_tc_c0_tcrestart ( )    mftc0(2, 3)

Definition at line 391 of file mipsmtregs.h.

#define read_tc_c0_tcstatus ( )    mftc0(2, 1)

Definition at line 387 of file mipsmtregs.h.

#define read_tc_gpr_gp ( )    mftgpr(28)

Definition at line 401 of file mipsmtregs.h.

#define read_tc_gpr_sp ( )    mftgpr(29)

Definition at line 399 of file mipsmtregs.h.

#define read_vpe_c0_badvaddr ( )    mftc0(8, 0)

Definition at line 381 of file mipsmtregs.h.

#define read_vpe_c0_cause ( )    mftc0(13, 0)

Definition at line 370 of file mipsmtregs.h.

#define read_vpe_c0_config ( )    mftc0(16, 0)

Definition at line 372 of file mipsmtregs.h.

#define read_vpe_c0_config1 ( )    mftc0(16, 1)

Definition at line 374 of file mipsmtregs.h.

#define read_vpe_c0_config7 ( )    mftc0(16, 7)

Definition at line 376 of file mipsmtregs.h.

#define read_vpe_c0_count ( )    mftc0(9, 0)

Definition at line 366 of file mipsmtregs.h.

#define read_vpe_c0_ebase ( )    mftc0(15, 1)

Definition at line 378 of file mipsmtregs.h.

#define read_vpe_c0_epc ( )    mftc0(14, 0)

Definition at line 382 of file mipsmtregs.h.

#define read_vpe_c0_status ( )    mftc0(12, 0)

Definition at line 368 of file mipsmtregs.h.

#define read_vpe_c0_vpeconf0 ( )    mftc0(1, 2)

Definition at line 362 of file mipsmtregs.h.

#define read_vpe_c0_vpeconf1 ( )    mftc0(1, 3)

Definition at line 364 of file mipsmtregs.h.

#define read_vpe_c0_vpecontrol ( )    mftc0(1, 1)

Definition at line 360 of file mipsmtregs.h.

#define settc (   tc)
Value:
do { \
write_c0_vpecontrol((read_c0_vpecontrol()&~VPECONTROL_TARGTC) | (tc)); \
ehb(); \
} while (0)

Definition at line 352 of file mipsmtregs.h.

#define TC_GATED   3

Definition at line 160 of file mipsmtregs.h.

#define TC_RUNNING   0

Definition at line 157 of file mipsmtregs.h.

#define TC_WAITING   1

Definition at line 158 of file mipsmtregs.h.

#define TC_YIELDING   2

Definition at line 159 of file mipsmtregs.h.

#define TCBIND_CURTC   (_ULCAST_(0xff) << TCBIND_CURTC_SHIFT)

Definition at line 172 of file mipsmtregs.h.

#define TCBIND_CURTC_SHIFT   21

Definition at line 170 of file mipsmtregs.h.

#define TCBIND_CURVPE   (_ULCAST_(0xf))

Definition at line 168 of file mipsmtregs.h.

#define TCBIND_CURVPE_SHIFT   0

Definition at line 167 of file mipsmtregs.h.

#define TCHALT_H   (_ULCAST_(1))

Definition at line 175 of file mipsmtregs.h.

#define TCSTATUS_A   (_ULCAST_(1) << TCSTATUS_A_SHIFT)

Definition at line 145 of file mipsmtregs.h.

#define TCSTATUS_A_SHIFT   13

Definition at line 144 of file mipsmtregs.h.

#define TCSTATUS_DA   (_ULCAST_(1) << TCSTATUS_DA_SHIFT)

Definition at line 147 of file mipsmtregs.h.

#define TCSTATUS_DA_SHIFT   15

Definition at line 146 of file mipsmtregs.h.

#define TCSTATUS_DT   (_ULCAST_(1) << TCSTATUS_DT_SHIFT)

Definition at line 149 of file mipsmtregs.h.

#define TCSTATUS_DT_SHIFT   20

Definition at line 148 of file mipsmtregs.h.

#define TCSTATUS_IXMT   (_ULCAST_(1) << TCSTATUS_IXMT_SHIFT)

Definition at line 141 of file mipsmtregs.h.

#define TCSTATUS_IXMT_SHIFT   10

Definition at line 140 of file mipsmtregs.h.

#define TCSTATUS_RNST   (_ULCAST_(3) << TCSTATUS_RNST_SHIFT)

Definition at line 155 of file mipsmtregs.h.

#define TCSTATUS_RNST_SHIFT   23

Definition at line 154 of file mipsmtregs.h.

#define TCSTATUS_TASID   (_ULCAST_(0xff))

Definition at line 139 of file mipsmtregs.h.

#define TCSTATUS_TDS   (_ULCAST_(1) << TCSTATUS_TDS_SHIFT)

Definition at line 151 of file mipsmtregs.h.

#define TCSTATUS_TDS_SHIFT   21

Definition at line 150 of file mipsmtregs.h.

#define TCSTATUS_TKSU   (_ULCAST_(3) << TCSTATUS_TKSU_SHIFT)

Definition at line 143 of file mipsmtregs.h.

#define TCSTATUS_TKSU_SHIFT   11

Definition at line 142 of file mipsmtregs.h.

#define TCSTATUS_TMX   (_ULCAST_(1) << TCSTATUS_TMX_SHIFT)

Definition at line 163 of file mipsmtregs.h.

#define TCSTATUS_TMX_SHIFT   27

Definition at line 162 of file mipsmtregs.h.

#define TCSTATUS_TSST   (_ULCAST_(1) << TCSTATUS_TSST_SHIFT)

Definition at line 153 of file mipsmtregs.h.

#define TCSTATUS_TSST_SHIFT   22

Definition at line 152 of file mipsmtregs.h.

#define THREX_GSSCH   5

Definition at line 115 of file mipsmtregs.h.

#define THREX_GSX   3

Definition at line 113 of file mipsmtregs.h.

#define THREX_IYQ   2

Definition at line 112 of file mipsmtregs.h.

#define THREX_TO   1

Definition at line 111 of file mipsmtregs.h.

#define THREX_TU   0

Definition at line 110 of file mipsmtregs.h.

#define THREX_YSCH   4

Definition at line 114 of file mipsmtregs.h.

#define VPECONF0_MVP   (_ULCAST_(1) << VPECONF0_MVP_SHIFT)

Definition at line 126 of file mipsmtregs.h.

#define VPECONF0_MVP_SHIFT   1

Definition at line 125 of file mipsmtregs.h.

#define VPECONF0_VPA   (_ULCAST_(1) << VPECONF0_VPA_SHIFT)

Definition at line 124 of file mipsmtregs.h.

#define VPECONF0_VPA_SHIFT   0

Definition at line 123 of file mipsmtregs.h.

#define VPECONF0_XTC   (_ULCAST_(0xff) << VPECONF0_XTC_SHIFT)

Definition at line 128 of file mipsmtregs.h.

#define VPECONF0_XTC_SHIFT   21

Definition at line 127 of file mipsmtregs.h.

#define VPECONF1_NCP1   (_ULCAST_(0xff) << VPECONF1_NCP1_SHIFT)

Definition at line 132 of file mipsmtregs.h.

#define VPECONF1_NCP1_SHIFT   0

Definition at line 131 of file mipsmtregs.h.

#define VPECONF1_NCP2   (_ULCAST_(0xff) << VPECONF1_NCP2_SHIFT)

Definition at line 134 of file mipsmtregs.h.

#define VPECONF1_NCP2_SHIFT   10

Definition at line 133 of file mipsmtregs.h.

#define VPECONF1_NCX   (_ULCAST_(0xff) << VPECONF1_NCX_SHIFT)

Definition at line 136 of file mipsmtregs.h.

#define VPECONF1_NCX_SHIFT   20

Definition at line 135 of file mipsmtregs.h.

#define VPECONTROL_EXCPT   (_ULCAST_(0x7) << VPECONTROL_EXCPT_SHIFT)

Definition at line 107 of file mipsmtregs.h.

#define VPECONTROL_EXCPT_SHIFT   16

Definition at line 106 of file mipsmtregs.h.

#define VPECONTROL_GSI   (_ULCAST_(1) << VPECONTROL_GSI_SHIFT)

Definition at line 118 of file mipsmtregs.h.

#define VPECONTROL_GSI_SHIFT   20

Definition at line 117 of file mipsmtregs.h.

#define VPECONTROL_TARGTC   (_ULCAST_(0xff))

Definition at line 102 of file mipsmtregs.h.

#define VPECONTROL_TE   (_ULCAST_(1) << VPECONTROL_TE_SHIFT)

Definition at line 105 of file mipsmtregs.h.

#define VPECONTROL_TE_SHIFT   15

Definition at line 104 of file mipsmtregs.h.

#define VPECONTROL_YSI   (_ULCAST_(1) << VPECONTROL_YSI_SHIFT)

Definition at line 120 of file mipsmtregs.h.

#define VPECONTROL_YSI_SHIFT   21

Definition at line 119 of file mipsmtregs.h.

#define write_c0_mvpcontrol (   val)    __write_32bit_c0_register($0, 1, val)

Definition at line 20 of file mipsmtregs.h.

#define write_c0_tccontext (   val)    __write_32bit_c0_register($2, 5, val)

Definition at line 40 of file mipsmtregs.h.

#define write_c0_tcstatus (   val)    __write_32bit_c0_register($2, 1, val)

Definition at line 35 of file mipsmtregs.h.

#define write_c0_vpeconf0 (   val)    __write_32bit_c0_register($1, 2, val)

Definition at line 29 of file mipsmtregs.h.

#define write_c0_vpeconf1 (   val)    __write_32bit_c0_register($1, 3, val)

Definition at line 32 of file mipsmtregs.h.

#define write_c0_vpecontrol (   val)    __write_32bit_c0_register($1, 1, val)

Definition at line 26 of file mipsmtregs.h.

#define write_tc_c0_tcbind (   val)    mttc0(2, 2, val)

Definition at line 390 of file mipsmtregs.h.

#define write_tc_c0_tccontext (   val)    mttc0(2, 5, val)

Definition at line 396 of file mipsmtregs.h.

#define write_tc_c0_tchalt (   val)    mttc0(2, 4, val)

Definition at line 394 of file mipsmtregs.h.

#define write_tc_c0_tcrestart (   val)    mttc0(2, 3, val)

Definition at line 392 of file mipsmtregs.h.

#define write_tc_c0_tcstatus (   val)    mttc0(2, 1, val)

Definition at line 388 of file mipsmtregs.h.

#define write_tc_gpr_gp (   val)    mttgpr(28, val)

Definition at line 402 of file mipsmtregs.h.

#define write_tc_gpr_sp (   val)    mttgpr(29, val)

Definition at line 400 of file mipsmtregs.h.

#define write_vpe_c0_cause (   val)    mttc0(13, 0, val)

Definition at line 371 of file mipsmtregs.h.

#define write_vpe_c0_compare (   val)    mttc0(11, 0, val)

Definition at line 380 of file mipsmtregs.h.

#define write_vpe_c0_config (   val)    mttc0(16, 0, val)

Definition at line 373 of file mipsmtregs.h.

#define write_vpe_c0_config1 (   val)    mttc0(16, 1, val)

Definition at line 375 of file mipsmtregs.h.

#define write_vpe_c0_config7 (   val)    mttc0(16, 7, val)

Definition at line 377 of file mipsmtregs.h.

#define write_vpe_c0_count (   val)    mttc0(9, 0, val)

Definition at line 367 of file mipsmtregs.h.

#define write_vpe_c0_ebase (   val)    mttc0(15, 1, val)

Definition at line 379 of file mipsmtregs.h.

#define write_vpe_c0_epc (   val)    mttc0(14, 0, val)

Definition at line 383 of file mipsmtregs.h.

#define write_vpe_c0_status (   val)    mttc0(12, 0, val)

Definition at line 369 of file mipsmtregs.h.

#define write_vpe_c0_vpeconf0 (   val)    mttc0(1, 2, val)

Definition at line 363 of file mipsmtregs.h.

#define write_vpe_c0_vpeconf1 (   val)    mttc0(1, 3, val)

Definition at line 365 of file mipsmtregs.h.

#define write_vpe_c0_vpecontrol (   val)    mttc0(1, 1, val)

Definition at line 361 of file mipsmtregs.h.