[PR #77] [MERGED] TLS branch WIP #1267

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/77
Author: @georgemoralis
Created: 11/20/2023
Status: Merged
Merged: 1/27/2024
Merged by: @georgemoralis

Base: mainHead: TLS_works


📝 Commits (8)

  • 4f6dc8f functions libkernel to get openrorbis working (without tls)
  • b6d98d4 some cleanups
  • af18453 initial PT_TLS support
  • 724c56d Basic TLS with patching + int 0x80
  • 57ddf93 orbis weird sceVideoOut calls
  • ff43fec some fs work for openorbis (WIP)
  • 6de4736 skip over 0x66 prefixes in TLS
  • a58289a Merge branch 'TLS_works' of github.com:georgemoralis/shadPS4 into TLS_works

📊 Changes

14 files changed (+624 additions, -273 deletions)

View changed files

📝 CMakeLists.txt (+1 -1)
src/common/io_file.cpp (+138 -0)
src/common/io_file.h (+41 -0)
📝 src/common/log.cpp (+30 -0)
📝 src/core/PS4/HLE/Graphics/video_out.cpp (+9 -0)
📝 src/core/file_sys/fs.h (+2 -1)
📝 src/core/hle/libraries/libkernel/file_system.cpp (+37 -3)
📝 src/core/hle/libraries/libkernel/file_system.h (+6 -1)
📝 src/core/hle/libraries/libkernel/libkernel.cpp (+69 -0)
📝 src/core/linker.cpp (+68 -22)
📝 src/core/linker.h (+7 -0)
📝 src/core/loader/elf.h (+203 -242)
📝 src/core/virtual_memory.cpp (+3 -3)
📝 src/core/virtual_memory.h (+10 -0)

📄 Description

No description provided


🔄 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/77 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 11/20/2023 **Status:** ✅ Merged **Merged:** 1/27/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `TLS_works` --- ### 📝 Commits (8) - [`4f6dc8f`](https://github.com/shadps4-emu/shadPS4/commit/4f6dc8fddbf2905aab0c22dbab4202d7ff83d94c) functions libkernel to get openrorbis working (without tls) - [`b6d98d4`](https://github.com/shadps4-emu/shadPS4/commit/b6d98d4b72f2d1ca4af7cc3e20a281fa44dcff3a) some cleanups - [`af18453`](https://github.com/shadps4-emu/shadPS4/commit/af1845395012050a6dad4363318beab98b0a66d3) initial PT_TLS support - [`724c56d`](https://github.com/shadps4-emu/shadPS4/commit/724c56d8aa07782615023b1e9b288d086d2b9db5) Basic TLS with patching + int 0x80 - [`57ddf93`](https://github.com/shadps4-emu/shadPS4/commit/57ddf939d472bb801eb51725b4355d60d9978c8e) orbis weird sceVideoOut calls - [`ff43fec`](https://github.com/shadps4-emu/shadPS4/commit/ff43fec76a99d5e55209a4bcaecfa34b70d68ebe) some fs work for openorbis (WIP) - [`6de4736`](https://github.com/shadps4-emu/shadPS4/commit/6de4736e50b2c2b911b82cfe1f0614f755a88ef8) skip over 0x66 prefixes in TLS - [`a58289a`](https://github.com/shadps4-emu/shadPS4/commit/a58289a3537944bf52a8da0abf30f7b4fbdf97fd) Merge branch 'TLS_works' of github.com:georgemoralis/shadPS4 into TLS_works ### 📊 Changes **14 files changed** (+624 additions, -273 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -1) ➕ `src/common/io_file.cpp` (+138 -0) ➕ `src/common/io_file.h` (+41 -0) 📝 `src/common/log.cpp` (+30 -0) 📝 `src/core/PS4/HLE/Graphics/video_out.cpp` (+9 -0) 📝 `src/core/file_sys/fs.h` (+2 -1) 📝 `src/core/hle/libraries/libkernel/file_system.cpp` (+37 -3) 📝 `src/core/hle/libraries/libkernel/file_system.h` (+6 -1) 📝 `src/core/hle/libraries/libkernel/libkernel.cpp` (+69 -0) 📝 `src/core/linker.cpp` (+68 -22) 📝 `src/core/linker.h` (+7 -0) 📝 `src/core/loader/elf.h` (+203 -242) 📝 `src/core/virtual_memory.cpp` (+3 -3) 📝 `src/core/virtual_memory.h` (+10 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:52 +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#1267
No description provided.