On 4/30/20 12:21 AM, LIU Zhiwei wrote:
> +struct reginfo {
> +    uint64_t fault_address;
> +    uint64_t regs[32];
> +    uint64_t fregs[32];
> +    uint64_t sp;
> +    uint64_t pc;
> +    uint32_t flags;
> +    uint32_t faulting_insn;
> +
> +    /* FP */
> +    uint32_t fcsr;
> +};

There's no need for a separate sp field, since that's regs[2].


r~

Reply via email to