sigcontext.h (34069d12e239ae8f36dd96c378e4622fb1c42a76) sigcontext.h (bd3c5798484aa9a08302a844d7a75a2ee3b53d05)
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2/*
3 * Author: Hanlu Li <lihanlu@loongson.cn>
4 * Huacai Chen <chenhuacai@loongson.cn>
5 *
6 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
7 */
8#ifndef _UAPI_ASM_SIGCONTEXT_H

--- 45 unchanged lines hidden (view full) ---

54#define LASX_CTX_MAGIC 0x41535801
55#define LASX_CTX_ALIGN 32
56struct lasx_context {
57 __u64 regs[4*32];
58 __u64 fcc;
59 __u32 fcsr;
60};
61
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2/*
3 * Author: Hanlu Li <lihanlu@loongson.cn>
4 * Huacai Chen <chenhuacai@loongson.cn>
5 *
6 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
7 */
8#ifndef _UAPI_ASM_SIGCONTEXT_H

--- 45 unchanged lines hidden (view full) ---

54#define LASX_CTX_MAGIC 0x41535801
55#define LASX_CTX_ALIGN 32
56struct lasx_context {
57 __u64 regs[4*32];
58 __u64 fcc;
59 __u32 fcsr;
60};
61
62/* LBT context */
63#define LBT_CTX_MAGIC 0x42540001
64#define LBT_CTX_ALIGN 8
65struct lbt_context {
66 __u64 regs[4];
67 __u32 eflags;
68 __u32 ftop;
69};
70
71
62#endif /* _UAPI_ASM_SIGCONTEXT_H */
72#endif /* _UAPI_ASM_SIGCONTEXT_H */