Linux Kernel
3.7.1
|
#include <asm/dwarf2.h>
Go to the source code of this file.
Macros | |
#define | R15 0 |
#define | R14 8 |
#define | R13 16 |
#define | R12 24 |
#define | RBP 32 |
#define | RBX 40 |
#define | R11 48 |
#define | R10 56 |
#define | R9 64 |
#define | R8 72 |
#define | RAX 80 |
#define | RCX 88 |
#define | RDX 96 |
#define | RSI 104 |
#define | RDI 112 |
#define | ORIG_RAX 120 /* + error_code */ |
#define | RIP 128 |
#define | CS 136 |
#define | EFLAGS 144 |
#define | RSP 152 |
#define | SS 160 |
#define | ARGOFFSET R11 |
#define | SWFRAME ORIG_RAX |
#define | ARG_SKIP (9*8) |
#define | REST_SKIP (6*8) |
Functions | |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp | CFI_ADJUST_CFA_OFFSET (ARG_SKIP+\addskip).endif.endm.macro LOAD_ARGS offset |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp r11 movq | offset (%rsp) |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi *movq_cfi *movq_cfi *movq_cfi *movq_cfi *endm macro RESTORE_REST movq_cfi_restore r15 movq_cfi_restore r14 movq_cfi_restore r13 movq_cfi_restore r12 movq_cfi_restore rbp movq_cfi_restore rbx addq rsp | CFI_ADJUST_CFA_OFFSET (REST_SKIP).endm.macro SAVE_ALL SAVE_ARGS SAVE_REST.endm.macro RESTORE_ALL addskip=0RESTORE_REST RESTORE_ARGS 1 |
Variables | |
macro SAVE_ARGS | addskip =0 |
macro SAVE_ARGS | save_rcx =1 |
macro SAVE_ARGS | save_r891011 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi | rdi |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi | rsi |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi | rdx |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi | rcx |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi *endif movq_cfi | rax |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi *endif movq_cfi *if save_r891011 movq_cfi | r8 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi *endif movq_cfi *if save_r891011 movq_cfi *movq_cfi | r9 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi *endif movq_cfi *if save_r891011 movq_cfi *movq_cfi *movq_cfi | r10 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET *addskip movq_cfi *movq_cfi *movq_cfi *if save_rcx movq_cfi *endif movq_cfi *if save_r891011 movq_cfi *movq_cfi *movq_cfi *movq_cfi | r11 |
macro RESTORE_ARGS | rstor_rax =1 |
macro RESTORE_ARGS | rstor_rcx =1 |
macro RESTORE_ARGS | rstor_r11 =1 |
macro RESTORE_ARGS | rstor_r8910 =1 |
macro RESTORE_ARGS | rstor_rdx |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp | skiprax |
macro SAVE_REST subq | $REST_SKIP |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi | rbx |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi | rbp |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi *movq_cfi | r12 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi *movq_cfi *movq_cfi | r13 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi *movq_cfi *movq_cfi *movq_cfi | r14 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi *movq_cfi *movq_cfi *movq_cfi *movq_cfi *movq_cfi | r15 |
#define ORIG_RAX 120 /* + error_code */ |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp CFI_ADJUST_CFA_OFFSET | ( | ARG_SKIP+\ | addskip | ) |
|
pure virtual |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp r11 movq offset | ( | % | rsp | ) |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP addskip =0 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi * if save_rcx movq_cfi * endif movq_cfi * if save_r891011 movq_cfi * movq_cfi * movq_cfi r10 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi * if save_rcx movq_cfi * endif movq_cfi * if save_r891011 movq_cfi * movq_cfi * movq_cfi * movq_cfi r11 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi * movq_cfi * movq_cfi r12 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi * movq_cfi * movq_cfi * movq_cfi r13 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi * movq_cfi * movq_cfi * movq_cfi * movq_cfi r14 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi * movq_cfi * movq_cfi * movq_cfi * movq_cfi * movq_cfi r15 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi * if save_rcx movq_cfi * endif movq_cfi * if save_r891011 movq_cfi r8 |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi * if save_rcx movq_cfi * endif movq_cfi * if save_r891011 movq_cfi * movq_cfi r9 |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi * movq_cfi rbp |
macro SAVE_REST subq rsp CFI_ADJUST_CFA_OFFSET REST_SKIP movq_cfi rbx |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi * if save_rcx movq_cfi rcx |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi rdi |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi * movq_cfi rdx |
macro SAVE_ARGS rsp CFI_ADJUST_CFA_OFFSET* addskip movq_cfi * movq_cfi rsi |
macro RESTORE_ARGS rstor_rdx |
macro SAVE_ARGS save_r891011 |
macro RESTORE_ARGS r11 endif if rstor_r8910 movq_cfi_restore r10 movq_cfi_restore r9 movq_cfi_restore r8 endif if rstor_rax movq_cfi_restore rax endif if rstor_rcx movq_cfi_restore rcx endif if rstor_rdx movq_cfi_restore rdx endif movq_cfi_restore rsi movq_cfi_restore rdi if ARG_SKIP addskip addq $ARG_SKIP rsp skiprax |