Skip to content

Extend litebox context to include xsave state #485

Open

Description

@jstarks

The current litebox context is effectively litebox_common_linux::PtRegs. This does not include xsave state, meaning that FP state could be trashed across an exception or interrupt.

To fix this, move PtRegs into litebox and extend it with xsave support. This should probably be lazily saved/restored in platforms where that's an option.

#482 (comment)

Activity

  1. jaybosamiya-ms commented on Oct 16, 2026

    @jaybosamiya-ms
    Member

    Completed in #1537

  2. jaybosamiya-ms commented on Oct 16, 2026

    @jaybosamiya-ms
    Member

    Weiteng Chen (@CvvT) I have not looked through #1537 in detail, so I've re-opened this to track the lazy save/restore bit; please close if you think that's done too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlayer-liteboxFocusing on the main litebox crate itself

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions