Skip to content

Add FS and VS bits to xpistatus #612

@christian-herber-nxp

Description

@christian-herber-nxp

mstatus.{FS, VS} should be mirrored into xpistatus to assist context saving.
Additionally, the push instruction should set both VS and FS to 0 after saving the context, to ensure an ISR using the FPU or vector unit without saving the context prior (and setting these flags to clean) will cause an illegal instruction exception.
No modification needed for pop instruction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions