Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
stackframe.h File Reference
#include <linux/threads.h>
#include <asm/asm.h>
#include <asm/asmmacro.h>
#include <asm/mipsregs.h>
#include <asm/asm-offsets.h>

Go to the source code of this file.

Macros

#define STATMASK   0x1f
 

Functions

macro SAVE_AT set push set noat PT_R1 (sp).set pop.endm.macro SAVE_TEMP mfhi v1 LONG_S $10
 
macro SAVE_AT set push set noat PT_R10 (sp) LONG_S $11
 
macro SAVE_AT set push set noat PT_R11 (sp) LONG_S $12
 
macro SAVE_AT set push set noat PT_R12 (sp) LONG_S v1
 
macro SAVE_AT set push set noat PT_HI (sp) mflo v1 LONG_S $13
 
macro SAVE_AT set push set noat PT_R13 (sp) LONG_S $14
 
macro SAVE_AT set push set noat PT_R14 (sp) LONG_S $15
 
macro SAVE_AT set push set noat PT_R15 (sp) LONG_S $24
 
macro SAVE_AT set push set noat PT_R24 (sp) LONG_S v1
 
macro SAVE_AT set push set noat PT_LO (sp).endm.macro SAVE_STATIC LONG_S $16
 
macro SAVE_AT set push set noat PT_R16 (sp) LONG_S $17
 
macro SAVE_AT set push set noat PT_R17 (sp) LONG_S $18
 
macro SAVE_AT set push set noat PT_R18 (sp) LONG_S $19
 
macro SAVE_AT set push set noat PT_R19 (sp) LONG_S $20
 
macro SAVE_AT set push set noat PT_R20 (sp) LONG_S $21
 
macro SAVE_AT set push set noat PT_R21 (sp) LONG_S $22
 
macro SAVE_AT set push set noat PT_R22 (sp) LONG_S $23
 
macro SAVE_AT set push set noat PT_R23 (sp) LONG_S $30
 
macro SAVE_AT set push set noat PT_R30 (sp).endm.macro get_saved_splui k1
 
macro SAVE_AT set push set noat highest (kernelsp) daddiu k1
 
macro SAVE_AT set push set noat higher (kernelsp) dsll k1
 
macro SAVE_AT set push set
noat daddiu 
hi (kernelsp) dsll k1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo() 
kernelsp (k1).endm.macro set_saved_sp stackp temp temp2 LONG_S\stackp
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S 
PT_R29 (sp) LONG_S $3
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S 
PT_R3 (sp) LONG_S $0
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S 
PT_R0 (sp) mfc0 v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS 
PT_R2 (sp) LONG_S $4
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS 
PT_R4 (sp) LONG_S $5
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS 
PT_R5 (sp) LONG_S v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS 
PT_STATUS (sp) mfc0 v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE 
PT_R6 (sp) LONG_S $7
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE 
PT_R7 (sp) LONG_S v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE 
PT_CAUSE (sp) MFC0 v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC 
PT_R25 (sp) LONG_S $28
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC 
PT_R28 (sp) LONG_S $31
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC 
PT_R31 (sp) LONG_S v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC 
PT_EPC (sp) ori $28
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori
STATMASK xori STATMASK mtc0
CP0_STATUS li and v1 LONG_L v1
and v1 or a0 mtc0 CP0_STATUS
LONG_L CP0_EPC CP0_STATUS li
ST0_CU0 STATMASK or t1 xori
STATMASK mtc0 CP0_STATUS
irq_disable_hazard endm macro
STI mfc0 CP0_STATUS li ST0_CU0
STATMASK or t1 xori STATMASK
&mtc0 CP0_STATUS
irq_enable_hazard endm macro
KMODE mfc0 CP0_STATUS li 
ST0_CU0 (STATMASK &~1) or t0
 

Variables

macro SAVE_AT set push set noat LONG_S
 
macro SAVE_AT set push set noat k1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 
k0
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder 
get_saved_sp
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU 
sp
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK 
xori
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat 
LONG_L
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori 
a0
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori
STATMASK xori STATMASK mtc0
CP0_STATUS li 
v1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori
STATMASK xori STATMASK mtc0
CP0_STATUS li and v1 LONG_L 
v0
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori
STATMASK xori STATMASK mtc0
CP0_STATUS li and v1 LONG_L v1
and v1 or a0 mtc0 CP0_STATUS
LONG_L CP0_EPC CP0_STATUS li 
t1
 
macro SAVE_AT set push set
noat daddiu LONG_L lo()
kernelsp endm macro SAVE_SOME
set push set noat set reorder
mfc0 CP0_STATUS sll set
noreorder bltz move sp set
reorder sp PTR_SUBU PT_SIZE
LONG_S CP0_STATUS CP0_CAUSE
CP0_EPC _THREAD_MASK
_THREAD_MASK set pop endm
macro SAVE_ALL SAVE_SOME
SAVE_AT SAVE_TEMP SAVE_STATIC
endm macro RESTORE_AT set push
set noat CP0_STATUS ori
STATMASK xori STATMASK mtc0
CP0_STATUS li and v1 LONG_L v1
and v1 or a0 mtc0 CP0_STATUS
LONG_L CP0_EPC CP0_STATUS li
ST0_CU0 STATMASK or 
t0
 

Macro Definition Documentation

#define STATMASK   0x1f

Definition at line 30 of file stackframe.h.

Function Documentation

macro SAVE_AT set push set noat daddiu hi ( kernelsp  )
macro SAVE_AT set push set noat higher ( kernelsp  )
macro SAVE_AT set push set noat highest ( kernelsp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp ( k1  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE PT_CAUSE ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC PT_EPC ( sp  )
macro SAVE_AT set push set noat PT_HI ( sp  )
macro SAVE_AT set push set noat PT_LO ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S PT_R0 ( sp  )
macro SAVE_AT set push set noat PT_R1 ( sp  )
macro SAVE_AT set push set noat PT_R10 ( sp  )
macro SAVE_AT set push set noat PT_R11 ( sp  )
macro SAVE_AT set push set noat PT_R12 ( sp  )
macro SAVE_AT set push set noat PT_R13 ( sp  )
macro SAVE_AT set push set noat PT_R14 ( sp  )
macro SAVE_AT set push set noat PT_R15 ( sp  )
macro SAVE_AT set push set noat PT_R16 ( sp  )
macro SAVE_AT set push set noat PT_R17 ( sp  )
macro SAVE_AT set push set noat PT_R18 ( sp  )
macro SAVE_AT set push set noat PT_R19 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS PT_R2 ( sp  )
macro SAVE_AT set push set noat PT_R20 ( sp  )
macro SAVE_AT set push set noat PT_R21 ( sp  )
macro SAVE_AT set push set noat PT_R22 ( sp  )
macro SAVE_AT set push set noat PT_R23 ( sp  )
macro SAVE_AT set push set noat PT_R24 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC PT_R25 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC PT_R28 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S PT_R29 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S PT_R3 ( sp  )
macro SAVE_AT set push set noat PT_R30 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC PT_R31 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS PT_R4 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS PT_R5 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE PT_R6 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE PT_R7 ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS PT_STATUS ( sp  )
macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 CP0_STATUS LONG_L CP0_EPC CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK mtc0 CP0_STATUS irq_disable_hazard endm macro STI mfc0 CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK& mtc0 CP0_STATUS irq_enable_hazard endm macro KMODE mfc0 CP0_STATUS li ST0_CU0 ( STATMASK &~  1)

Variable Documentation

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and a0

Definition at line 368 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder get_saved_sp

Definition at line 164 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S k0

Definition at line 164 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU k1

Definition at line 148 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 CP0_STATUS LONG_L CP0_EPC LONG_L

Definition at line 218 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC LONG_S

Definition at line 40 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC sp

Definition at line 164 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 CP0_STATUS LONG_L CP0_EPC CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK mtc0 CP0_STATUS irq_disable_hazard endm macro STI mfc0 CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK& mtc0 CP0_STATUS irq_enable_hazard endm macro KMODE mfc0 CP0_STATUS li t1 xori STATMASK& mtc0 t0

Definition at line 485 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 CP0_STATUS LONG_L CP0_EPC CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK mtc0 CP0_STATUS irq_disable_hazard endm macro STI mfc0 CP0_STATUS li ST0_CU0 STATMASK or t1 xori STATMASK& mtc0 CP0_STATUS irq_enable_hazard endm macro KMODE mfc0 CP0_STATUS li t1

Definition at line 485 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 v0

Definition at line 368 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK _THREAD_MASK set pop endm macro SAVE_ALL SAVE_SOME SAVE_AT SAVE_TEMP SAVE_STATIC endm macro RESTORE_AT set push set noat CP0_STATUS ori STATMASK xori STATMASK mtc0 CP0_STATUS li and v1 LONG_L v1 and v1 or a0 mtc0 CP0_STATUS LONG_L v1

Definition at line 368 of file stackframe.h.

macro SAVE_AT set push set noat daddiu LONG_L lo() kernelsp endm macro SAVE_SOME set push set noat set reorder mfc0 CP0_STATUS sll set noreorder bltz move sp set reorder sp PTR_SUBU PT_SIZE LONG_S CP0_STATUS CP0_CAUSE CP0_EPC _THREAD_MASK xori

Definition at line 218 of file stackframe.h.