Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
kernel-entry-init.h File Reference

Go to the source code of this file.

Macros

#define CP0_CYCLE_COUNTER   $9, 6
 
#define CP0_CVMCTL_REG   $9, 7
 
#define CP0_CVMMEMCTL_REG   $11,7
 
#define CP0_PRID_REG   $15, 0
 
#define CP0_PRID_OCTEON_PASS1   0x000d0000
 
#define CP0_PRID_OCTEON_CN30XX   0x000d0200
 

Variables

macro kernel_entry_setup set
push set 
arch
 
macro kernel_entry_setup set
push set CP0_CVMMEMCTL_REG
dins 
v0
 
macro kernel_entry_setup set
push set CP0_CVMMEMCTL_REG
dins ori
CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE
dmtc0 CP0_CVMMEMCTL_REG dmfc0
CP0_CVMCTL_REG or xor mfc0 
v1
 
macro kernel_entry_setup set
push set CP0_CVMMEMCTL_REG
dins ori
CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE
dmtc0 CP0_CVMMEMCTL_REG dmfc0
CP0_CVMCTL_REG or xor mfc0
CP0_PRID_REG or beq 
CP0_PRID_OCTEON_PASS1
 
macro kernel_entry_setup set
push set CP0_CVMMEMCTL_REG
dins ori
CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE
dmtc0 CP0_CVMMEMCTL_REG dmfc0
CP0_CVMCTL_REG or xor mfc0
CP0_PRID_REG or beq skip nop
xor srl sll bne 
CP0_PRID_OCTEON_CN30XX
 
macro kernel_entry_setup set
push set CP0_CVMMEMCTL_REG
dins ori
CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE
dmtc0 CP0_CVMMEMCTL_REG dmfc0
CP0_CVMCTL_REG or xor mfc0
CP0_PRID_REG or beq skip nop
xor srl sll bne skip nop or or 
skip
 

Macro Definition Documentation

#define CP0_CVMCTL_REG   $9, 7

Definition at line 13 of file kernel-entry-init.h.

#define CP0_CVMMEMCTL_REG   $11,7

Definition at line 14 of file kernel-entry-init.h.

#define CP0_CYCLE_COUNTER   $9, 6

Definition at line 12 of file kernel-entry-init.h.

#define CP0_PRID_OCTEON_CN30XX   0x000d0200

Definition at line 17 of file kernel-entry-init.h.

#define CP0_PRID_OCTEON_PASS1   0x000d0000

Definition at line 16 of file kernel-entry-init.h.

#define CP0_PRID_REG   $15, 0

Definition at line 15 of file kernel-entry-init.h.

Variable Documentation

macro kernel_entry_setup set push set arch
Initial value:
=octeon
dmfc0 v0

Definition at line 29 of file kernel-entry-init.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq skip nop xor srl sll bne CP0_PRID_OCTEON_CN30XX

Definition at line 29 of file kernel-entry-init.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq CP0_PRID_OCTEON_PASS1

Definition at line 29 of file kernel-entry-init.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq skip nop xor srl sll bne skip nop or or skip

Definition at line 29 of file kernel-entry-init.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq skip nop xor srl sll bne skip nop or or v0

Definition at line 29 of file kernel-entry-init.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq skip nop xor srl sll bne v1

Definition at line 29 of file kernel-entry-init.h.