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

Go to the source code of this file.

Macros

#define cr0   0
 
#define cr1   1
 
#define cr2   2
 
#define cr3   3
 
#define cr4   4
 
#define cr5   5
 
#define cr6   6
 
#define cr7   7
 
#define r0   0
 
#define r1   1
 
#define r2   2
 
#define r3   3
 
#define r4   4
 
#define r5   5
 
#define r6   6
 
#define r7   7
 
#define r8   8
 
#define r9   9
 
#define r10   10
 
#define r11   11
 
#define r12   12
 
#define r13   13
 
#define r14   14
 
#define r15   15
 
#define r16   16
 
#define r17   17
 
#define r18   18
 
#define r19   19
 
#define r20   20
 
#define r21   21
 
#define r22   22
 
#define r23   23
 
#define r24   24
 
#define r25   25
 
#define r26   26
 
#define r27   27
 
#define r28   28
 
#define r29   29
 
#define r30   30
 
#define r31   31
 

Macro Definition Documentation

Macros to allow building with old cond MRC cond FMRX sysreg endm macro cond MCR cond FMXR rd endm read all the working registers back into the VFP macro tmp LDC endm write all the working registers out of the VFP macro tmp STC cr0   0

Definition at line 17 of file ppc_asm.h.

#define cr1   1

Definition at line 18 of file ppc_asm.h.

#define cr2   2

Definition at line 19 of file ppc_asm.h.

#define cr3   3

Definition at line 20 of file ppc_asm.h.

#define cr4   4

Definition at line 21 of file ppc_asm.h.

#define cr5   5

Definition at line 22 of file ppc_asm.h.

#define cr6   6

Definition at line 23 of file ppc_asm.h.

#define cr7   7

Definition at line 24 of file ppc_asm.h.

macro LIST comment endm macro data mov r1 mov r0 mov l r1 bra nop data mov r1 mov r0 mov w r1 bra nop data mov r1 mov r0 mov b r0   0

Definition at line 29 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r1   1

Definition at line 30 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r10   10

Definition at line 39 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r11   11

Definition at line 40 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r12   12

Definition at line 41 of file ppc_asm.h.

#define r13   13

Definition at line 42 of file ppc_asm.h.

#define r14   14

Definition at line 43 of file ppc_asm.h.

#define r15   15

Definition at line 44 of file ppc_asm.h.

#define r16   16

Definition at line 45 of file ppc_asm.h.

#define r17   17

Definition at line 46 of file ppc_asm.h.

#define r18   18

Definition at line 47 of file ppc_asm.h.

#define r19   19

Definition at line 48 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r2   2

Definition at line 31 of file ppc_asm.h.

#define r20   20

Definition at line 49 of file ppc_asm.h.

#define r21   21

Definition at line 50 of file ppc_asm.h.

#define r22   22

Definition at line 51 of file ppc_asm.h.

#define r23   23

Definition at line 52 of file ppc_asm.h.

#define r24   24

Definition at line 53 of file ppc_asm.h.

#define r25   25

Definition at line 54 of file ppc_asm.h.

#define r26   26

Definition at line 55 of file ppc_asm.h.

#define r27   27

Definition at line 56 of file ppc_asm.h.

#define r28   28

Definition at line 57 of file ppc_asm.h.

#define r29   29

Definition at line 58 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r3   3

Definition at line 32 of file ppc_asm.h.

#define r30   30

Definition at line 59 of file ppc_asm.h.

#define r31   31

Definition at line 60 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r4   4

Definition at line 33 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r5   5

Definition at line 34 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r6   6

Definition at line 35 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r7   7

Definition at line 36 of file ppc_asm.h.

mov r8   8

Definition at line 37 of file ppc_asm.h.

macro save_fp endm macro restore_fp endm macro zero_fp endm macro get_thread_info reg mov sp andl THREAD_SIZE &endm macro save_min sr zero_fp st w tmp endm macro restore_min sp mtsr tmp popm lr endm macro save_half lr zero_fp mfsr sr st w tmp endm macro restore_half sp mtsr tmp popm r8 lr restore_fp endm macro save_full_user lr st w lr zero_fp mfsr sr st w tmp endm macro restore_full_user sp mtsr tmp ld w sp ldmts r9   9

Definition at line 38 of file ppc_asm.h.