mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1214] [MERGED] core: Fix some missing uses of ExecuteGuest. #1996
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1996
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1214
Author: @squidbus
Created: 10/3/2024
Status: ✅ Merged
Merged: 10/3/2024
Merged by: @georgemoralis
Base:
main← Head:guest📝 Commits (1)
44cfd35core: Fix some missing uses of ExecuteGuest.📊 Changes
6 files changed (+30 additions, -19 deletions)
View changed files
📝
src/core/libraries/avplayer/avplayer_state.cpp(+2 -2)📝
src/core/libraries/kernel/thread_management.cpp(+1 -1)📝
src/core/libraries/network/net_ctl_obj.cpp(+2 -2)📝
src/core/linker.cpp(+13 -9)📝
src/core/linker.h(+11 -4)📝
src/core/module.cpp(+1 -1)📄 Description
ExecuteGuestwrapping to some jumps to guest code, for running the main entrypoint and using the heap API.ExecuteGuestWithoutTlsprivate helper to allow performing any non-TLS related guest wrapping that may be needed, since usingExecuteGuestfor TLS allocations would be infinitely recursive.ExecuteGuestand associated functions as const since they don't modifyLinkerstate.This is more prep work for swapping the FS segment on Linux for TCB accesses. The guest-to-host wrapping and segment swap aren't in yet as there are still some roadblocks like getting the templated HLE wrapper to work with varargs functions.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.