Skip to content

Commit

Permalink
SignalDelegator: Make SpillSRA public
Browse files Browse the repository at this point in the history
GdbServer wants to use it
  • Loading branch information
Sonicadvance1 committed Dec 10, 2024
1 parent eecd77d commit 146a5e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Tools/LinuxEmulation/LinuxSyscalls/SignalDelegator.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class SignalDelegator final : public FEXCore::SignalDelegator, public FEXCore::A
}

void SaveTelemetry();

void SpillSRA(FEXCore::Core::InternalThreadState* Thread, void* ucontext, uint32_t IgnoreMask);

private:
// Called from the thunk handler to handle the signal
void HandleGuestSignal(FEX::HLE::ThreadStateObject* ThreadObject, int Signal, void* Info, void* UContext);
Expand Down Expand Up @@ -242,8 +245,6 @@ class SignalDelegator final : public FEXCore::SignalDelegator, public FEXCore::A
///< FP state now follows after this.
};

void SpillSRA(FEXCore::Core::InternalThreadState* Thread, void* ucontext, uint32_t IgnoreMask);

void RestoreFrame_x64(FEXCore::Core::InternalThreadState* Thread, ArchHelpers::Context::ContextBackup* Context,
FEXCore::Core::CpuStateFrame* Frame, void* ucontext);
void RestoreFrame_ia32(FEXCore::Core::InternalThreadState* Thread, ArchHelpers::Context::ContextBackup* Context,
Expand Down

0 comments on commit 146a5e3

Please sign in to comment.