18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci#ifndef _X86_ARCH_SPECIAL_H
38c2ecf20Sopenharmony_ci#define _X86_ARCH_SPECIAL_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define EX_ENTRY_SIZE		12
68c2ecf20Sopenharmony_ci#define EX_ORIG_OFFSET		0
78c2ecf20Sopenharmony_ci#define EX_NEW_OFFSET		4
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#define JUMP_ENTRY_SIZE		16
108c2ecf20Sopenharmony_ci#define JUMP_ORIG_OFFSET	0
118c2ecf20Sopenharmony_ci#define JUMP_NEW_OFFSET		4
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define ALT_ENTRY_SIZE		12
148c2ecf20Sopenharmony_ci#define ALT_ORIG_OFFSET		0
158c2ecf20Sopenharmony_ci#define ALT_NEW_OFFSET		4
168c2ecf20Sopenharmony_ci#define ALT_FEATURE_OFFSET	8
178c2ecf20Sopenharmony_ci#define ALT_ORIG_LEN_OFFSET	10
188c2ecf20Sopenharmony_ci#define ALT_NEW_LEN_OFFSET	11
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif /* _X86_ARCH_SPECIAL_H */
21