[PR #1442] [CLOSED] kernel: Pthread rewrite touchups for Windows #2114

Closed
opened 2026-02-27 21:15:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1442
Author: @polybiusproxy
Created: 10/24/2024
Status: Closed

Base: more-kernelHead: kernel-windows


📝 Commits (10+)

  • 4a5db97 libkernel: Cleanup some function places
  • 4d3bf2c kernel: Refactor thread functions
  • e528c00 kernel: It builds
  • ed8e047 kernel: Fix a bunch of bugs, kernel thread heap
  • 9dbac65 kernel: File cleanup pt1
  • e72b979 File cleanup pt2
  • c86ae53 File cleanup pt3
  • bc18336 File cleanup pt4
  • 7cc7283 kernel: Add missing funcs
  • 985c620 kernel: Add basic exceptions for linux

📊 Changes

96 files changed (+4546 additions, -3465 deletions)

View changed files

📝 CMakeLists.txt (+29 -21)
📝 src/common/debug.h (+1 -1)
src/common/slab_heap.h (+163 -0)
📝 src/common/slot_vector.h (+0 -3)
src/common/spin_lock.cpp (+53 -0)
src/common/spin_lock.h (+33 -0)
📝 src/core/address_space.cpp (+1 -1)
📝 src/core/debug_state.cpp (+1 -1)
📝 src/core/libraries/audio3d/audio3d_impl.cpp (+1 -1)
📝 src/core/libraries/avplayer/avplayer.cpp (+3 -7)
📝 src/core/libraries/avplayer/avplayer.h (+2 -2)
📝 src/core/libraries/avplayer/avplayer_common.cpp (+5 -13)
📝 src/core/libraries/avplayer/avplayer_common.h (+4 -6)
📝 src/core/libraries/avplayer/avplayer_file_streamer.cpp (+3 -7)
📝 src/core/libraries/avplayer/avplayer_file_streamer.h (+2 -4)
📝 src/core/libraries/avplayer/avplayer_impl.cpp (+11 -26)
📝 src/core/libraries/avplayer/avplayer_impl.h (+2 -6)
📝 src/core/libraries/avplayer/avplayer_source.cpp (+13 -33)
📝 src/core/libraries/avplayer/avplayer_source.h (+10 -14)
📝 src/core/libraries/avplayer/avplayer_state.cpp (+7 -17)

...and 76 more files

📄 Description

Fixes to make the recent kernel rewrite work on Windows. Might not compile on other platforms


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1442 **Author:** [@polybiusproxy](https://github.com/polybiusproxy) **Created:** 10/24/2024 **Status:** ❌ Closed **Base:** `more-kernel` ← **Head:** `kernel-windows` --- ### 📝 Commits (10+) - [`4a5db97`](https://github.com/shadps4-emu/shadPS4/commit/4a5db97f8e818431eb5b91981086e10590cf38af) libkernel: Cleanup some function places - [`4d3bf2c`](https://github.com/shadps4-emu/shadPS4/commit/4d3bf2c807b2139924f4884f30f6f64d8eebbee6) kernel: Refactor thread functions - [`e528c00`](https://github.com/shadps4-emu/shadPS4/commit/e528c00f1530fb9b20f29f49d1efc10fe04e303c) kernel: It builds - [`ed8e047`](https://github.com/shadps4-emu/shadPS4/commit/ed8e04771a057d147b4bf114aaf2e153ebc2127e) kernel: Fix a bunch of bugs, kernel thread heap - [`9dbac65`](https://github.com/shadps4-emu/shadPS4/commit/9dbac65e49b533908083b61fb6e0a0604f6a45ae) kernel: File cleanup pt1 - [`e72b979`](https://github.com/shadps4-emu/shadPS4/commit/e72b979a937d07f98d2041fe1ec029133f96af7c) File cleanup pt2 - [`c86ae53`](https://github.com/shadps4-emu/shadPS4/commit/c86ae536cab1b7ccfc098f9a4cb1700fa25183dc) File cleanup pt3 - [`bc18336`](https://github.com/shadps4-emu/shadPS4/commit/bc183365ea1d3f075bcbafae375c456b0b0c7c92) File cleanup pt4 - [`7cc7283`](https://github.com/shadps4-emu/shadPS4/commit/7cc7283d58feb4df0fb138994eb1b4b81fff4736) kernel: Add missing funcs - [`985c620`](https://github.com/shadps4-emu/shadPS4/commit/985c620c424d86ecc107fe624f3d8c793317e872) kernel: Add basic exceptions for linux ### 📊 Changes **96 files changed** (+4546 additions, -3465 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+29 -21) 📝 `src/common/debug.h` (+1 -1) ➕ `src/common/slab_heap.h` (+163 -0) 📝 `src/common/slot_vector.h` (+0 -3) ➕ `src/common/spin_lock.cpp` (+53 -0) ➕ `src/common/spin_lock.h` (+33 -0) 📝 `src/core/address_space.cpp` (+1 -1) 📝 `src/core/debug_state.cpp` (+1 -1) 📝 `src/core/libraries/audio3d/audio3d_impl.cpp` (+1 -1) 📝 `src/core/libraries/avplayer/avplayer.cpp` (+3 -7) 📝 `src/core/libraries/avplayer/avplayer.h` (+2 -2) 📝 `src/core/libraries/avplayer/avplayer_common.cpp` (+5 -13) 📝 `src/core/libraries/avplayer/avplayer_common.h` (+4 -6) 📝 `src/core/libraries/avplayer/avplayer_file_streamer.cpp` (+3 -7) 📝 `src/core/libraries/avplayer/avplayer_file_streamer.h` (+2 -4) 📝 `src/core/libraries/avplayer/avplayer_impl.cpp` (+11 -26) 📝 `src/core/libraries/avplayer/avplayer_impl.h` (+2 -6) 📝 `src/core/libraries/avplayer/avplayer_source.cpp` (+13 -33) 📝 `src/core/libraries/avplayer/avplayer_source.h` (+10 -14) 📝 `src/core/libraries/avplayer/avplayer_state.cpp` (+7 -17) _...and 76 more files_ </details> ### 📄 Description Fixes to make the recent kernel rewrite work on Windows. Might not compile on other platforms --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2114
No description provided.