source: mainline/uspace/lib/c/arch/amd64/include/libarch/istate_struct.h@ 5af6cf3d

Last change on this file since 5af6cf3d was 5af6cf3d, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 7 years ago

todo

  • Property mode set to 100644
File size: 2.3 KB
Line 
1
2/*****************************************************************************
3 * AUTO-GENERATED FILE, DO NOT EDIT!!!
4 * Generated by: tools/autogen.py
5 * Generated from: arch/amd64/include/libarch/istate_struct.ag
6 *****************************************************************************/
7
8#ifndef AUTOGEN_ISTATE_H
9#define AUTOGEN_ISTATE_H
10
11#ifndef __ASM__
12#ifdef KERNEL
13#include <typedefs.h>
14#endif
15#ifndef KERNEL
16#include <stddef.h>
17#endif
18#ifndef KERNEL
19#include <stdint.h>
20#endif
21#endif
22
23#define ISTATE_OFFSET_RAX 0
24#define ISTATE_SIZE_RAX 8
25#define ISTATE_OFFSET_RBX 8
26#define ISTATE_SIZE_RBX 8
27#define ISTATE_OFFSET_RCX 16
28#define ISTATE_SIZE_RCX 8
29#define ISTATE_OFFSET_RDX 24
30#define ISTATE_SIZE_RDX 8
31#define ISTATE_OFFSET_RSI 32
32#define ISTATE_SIZE_RSI 8
33#define ISTATE_OFFSET_RDI 40
34#define ISTATE_SIZE_RDI 8
35#define ISTATE_OFFSET_RBP 48
36#define ISTATE_SIZE_RBP 8
37#define ISTATE_OFFSET_R8 56
38#define ISTATE_SIZE_R8 8
39#define ISTATE_OFFSET_R9 64
40#define ISTATE_SIZE_R9 8
41#define ISTATE_OFFSET_R10 72
42#define ISTATE_SIZE_R10 8
43#define ISTATE_OFFSET_R11 80
44#define ISTATE_SIZE_R11 8
45#define ISTATE_OFFSET_R12 88
46#define ISTATE_SIZE_R12 8
47#define ISTATE_OFFSET_R13 96
48#define ISTATE_SIZE_R13 8
49#define ISTATE_OFFSET_R14 104
50#define ISTATE_SIZE_R14 8
51#define ISTATE_OFFSET_R15 112
52#define ISTATE_SIZE_R15 8
53#define ISTATE_OFFSET_ALIGNMENT 120
54#define ISTATE_SIZE_ALIGNMENT 8
55#define ISTATE_OFFSET_RBP_FRAME 128
56#define ISTATE_SIZE_RBP_FRAME 8
57#define ISTATE_OFFSET_RIP_FRAME 136
58#define ISTATE_SIZE_RIP_FRAME 8
59#define ISTATE_OFFSET_ERROR_WORD 144
60#define ISTATE_SIZE_ERROR_WORD 8
61#define ISTATE_OFFSET_RIP 152
62#define ISTATE_SIZE_RIP 8
63#define ISTATE_OFFSET_CS 160
64#define ISTATE_SIZE_CS 8
65#define ISTATE_OFFSET_RFLAGS 168
66#define ISTATE_SIZE_RFLAGS 8
67#define ISTATE_OFFSET_RSP 176
68#define ISTATE_SIZE_RSP 8
69#define ISTATE_OFFSET_SS 184
70#define ISTATE_SIZE_SS 8
71#define ISTATE_SIZE 192
72
73#ifndef __ASM__
74typedef struct istate {
75 uint64_t rax;
76 uint64_t rbx;
77 uint64_t rcx;
78 uint64_t rdx;
79 uint64_t rsi;
80 uint64_t rdi;
81 uint64_t rbp;
82 uint64_t r8;
83 uint64_t r9;
84 uint64_t r10;
85 uint64_t r11;
86 uint64_t r12;
87 uint64_t r13;
88 uint64_t r14;
89 uint64_t r15;
90 uint64_t alignment;
91 uint64_t rbp_frame;
92 uint64_t rip_frame;
93 uint64_t error_word;
94 uint64_t rip;
95 uint64_t cs;
96 uint64_t rflags;
97 uint64_t rsp;
98 uint64_t ss;
99} istate_t;
100#endif
101
102#endif
103
Note: See TracBrowser for help on using the repository browser.