summaryrefslogtreecommitdiff
path: root/xen/arch/arm/include/asm/arm64/vfp.h
blob: e6e8c363bc164eab70ccba5927ce3f77fd01486a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _ARM_ARM64_VFP_H
#define _ARM_ARM64_VFP_H

/* ARM64 VFP instruction requires fpregs address to be 128-byte aligned */
#define __vfp_aligned __attribute__((aligned(16)))

struct vfp_state
{
    uint64_t fpregs[64] __vfp_aligned;
    register_t fpcr;
    register_t fpexc32_el2;
    register_t fpsr;
};

#endif /* _ARM_ARM64_VFP_H */
/*
 * Local variables:
 * mode: C
 * c-file-style: "BSD"
 * c-basic-offset: 4
 * indent-tabs-mode: nil
 * End:
 */