mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2907] [MERGED] kernel: Clean up and fix some mistakes. #3070
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#3070
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/2907
Author: @squidbus
Created: 5/11/2025
Status: ✅ Merged
Merged: 5/11/2025
Merged by: @squidbus
Base:
main← Head:small-fixes📝 Commits (1)
79a2e27kernel: Clean up and fix some mistakes.📊 Changes
8 files changed (+28 additions, -42 deletions)
View changed files
📝
src/common/va_ctx.h(+1 -1)📝
src/core/libraries/kernel/aio.cpp(+1 -1)📝
src/core/libraries/kernel/kernel.h(+5 -13)📝
src/core/libraries/kernel/threads/pthread.cpp(+4 -7)📝
src/core/libraries/kernel/threads/pthread.h(+2 -1)📝
src/core/libraries/kernel/threads/pthread_attr.cpp(+10 -9)📝
src/core/libraries/libs.h(+2 -8)📝
src/core/linker.cpp(+3 -2)📄 Description
Isolating some misc changes from https://github.com/shadps4-emu/shadPS4/pull/2905 to:
Summary:
VA_ARGSmacro to make the functions wrappable. As far as I can tell this wasn't needed.PS4_SYSV_ABItosceKernelAioInitializeImpl.ORBISwrapper to make backtrace symbols cleaner.Cpusetin pthread affinity functions.scePthreadSetaffinityusingORBISsimilar to how we doscePthreadAttrGetaffinity/scePthreadAttrSetaffinity: create a separate function that just handles the argument difference, then wrap it to handle the error code translation.LIB_OBJis an object pointer, not a function.ExecuteGuestin the linker code.Regression testing is appreciated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.