Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
head_32.h File Reference

Go to the source code of this file.

Macros

#define KERNBASE   0xf0000000 /* First address the kernel will eventually be */
 
#define WRITE_PAUSE   nop; nop; nop; /* Have to do this after %wim/%psr chg */
 
#define TRAP_ENTRY(type, label)   rd %psr, %l0; b label; rd %wim, %l3; nop;
 
#define SRMMU_TFAULT   rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;
 
#define SRMMU_DFAULT   rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;
 
#define BAD_TRAP(num)   rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
 
#define SKIP_TRAP(type, name)   jmpl %l2, %g0; rett %l2 + 4; nop; nop;
 
#define LINUX_SYSCALL_TRAP
 
#define BREAKPOINT_TRAP
 
#define KGDB_TRAP(num)   BAD_TRAP(num)
 
#define GETCC_TRAP   b getcc_trap_handler; mov %psr, %l0; nop; nop;
 
#define SETCC_TRAP   b setcc_trap_handler; mov %psr, %l0; nop; nop;
 
#define GETPSR_TRAP   mov %psr, %i0; jmp %l2; rett %l2 + 4; nop;
 
#define TRAP_ENTRY_INTERRUPT(int_level)   mov int_level, %l7; rd %psr, %l0; b real_irq_entry; rd %wim, %l3;
 
#define WINDOW_SPILL   rd %psr, %l0; rd %wim, %l3; b spill_window_entry; andcc %l0, PSR_PS, %g0;
 
#define WINDOW_FILL   rd %psr, %l0; rd %wim, %l3; b fill_window_entry; andcc %l0, PSR_PS, %g0;
 

Macro Definition Documentation

#define BAD_TRAP (   num)    rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;

Definition at line 19 of file head_32.h.

#define BREAKPOINT_TRAP
Value:
b breakpoint_trap; \
rd %psr,%l0; \
nop; \
nop;

Definition at line 39 of file head_32.h.

#define GETCC_TRAP   b getcc_trap_handler; mov %psr, %l0; nop; nop;

Definition at line 57 of file head_32.h.

#define GETPSR_TRAP   mov %psr, %i0; jmp %l2; rett %l2 + 4; nop;

Definition at line 65 of file head_32.h.

#define KERNBASE   0xf0000000 /* First address the kernel will eventually be */

Definition at line 4 of file head_32.h.

#define KGDB_TRAP (   num)    BAD_TRAP(num)

Definition at line 52 of file head_32.h.

#define LINUX_SYSCALL_TRAP
Value:
sethi %hi(sys_call_table), %l7; \
or %l7, %lo(sys_call_table), %l7; \
b linux_sparc_syscall; \
rd %psr, %l0;

Definition at line 33 of file head_32.h.

#define SETCC_TRAP   b setcc_trap_handler; mov %psr, %l0; nop; nop;

Definition at line 61 of file head_32.h.

#define SKIP_TRAP (   type,
  name 
)    jmpl %l2, %g0; rett %l2 + 4; nop; nop;

Definition at line 23 of file head_32.h.

#define SRMMU_DFAULT   rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;

Definition at line 16 of file head_32.h.

#define SRMMU_TFAULT   rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;

Definition at line 15 of file head_32.h.

#define TRAP_ENTRY (   type,
  label 
)    rd %psr, %l0; b label; rd %wim, %l3; nop;

Definition at line 11 of file head_32.h.

#define TRAP_ENTRY_INTERRUPT (   int_level)    mov int_level, %l7; rd %psr, %l0; b real_irq_entry; rd %wim, %l3;

Definition at line 71 of file head_32.h.

#define WINDOW_FILL   rd %psr, %l0; rd %wim, %l3; b fill_window_entry; andcc %l0, PSR_PS, %g0;

Definition at line 80 of file head_32.h.

#define WINDOW_SPILL   rd %psr, %l0; rd %wim, %l3; b spill_window_entry; andcc %l0, PSR_PS, %g0;

Definition at line 77 of file head_32.h.

#define WRITE_PAUSE   nop; nop; nop; /* Have to do this after %wim/%psr chg */

Definition at line 6 of file head_32.h.