[PR #70] [CLOSED] kernel filesystem implementation #1264

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/70
Author: @georgemoralis
Created: 11/6/2023
Status: Closed

Base: mainHead: filesystem_implementation


📝 Commits (10+)

  • bfbe67b fs mount points and handles
  • 55a2bfc used existing empty place in vector when allocate a new one
  • 172fa7d reserved first 3 handles for stdin,stdout,stderr
  • 3238fff partial support for sceKernelOpen directory
  • 961a1a3 main : mounting app0
  • bd6d635 sceKernelOpen create directories works
  • 0f59f4a implemented sceKernelClose
  • 461215a intial work on listing directories
  • 429d7de temp fix for create_directories
  • fc14a8a sceKernelGetdents implementation

📊 Changes

13 files changed (+363 additions, -99 deletions)

View changed files

📝 CMakeLists.txt (+3 -1)
📝 src/common/fs_file.cpp (+38 -21)
📝 src/common/fs_file.h (+18 -28)
📝 src/core/PS4/HLE/Graphics/video_out.cpp (+13 -11)
src/core/file_sys/fs.cpp (+77 -0)
src/core/file_sys/fs.h (+52 -0)
📝 src/core/hle/error_codes.h (+4 -0)
📝 src/core/hle/libraries/libc/libc.cpp (+1 -0)
📝 src/core/hle/libraries/libc/libc_string.cpp (+22 -27)
📝 src/core/hle/libraries/libc/libc_string.h (+1 -1)
📝 src/core/hle/libraries/libkernel/file_system.cpp (+97 -6)
📝 src/core/hle/libraries/libkernel/file_system.h (+30 -3)
📝 src/main.cpp (+7 -1)

📄 Description

rewrote with new core folder organize


🔄 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/70 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 11/6/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `filesystem_implementation` --- ### 📝 Commits (10+) - [`bfbe67b`](https://github.com/shadps4-emu/shadPS4/commit/bfbe67bc42ba74e9b919e436e7e3c62e1fb77091) fs mount points and handles - [`55a2bfc`](https://github.com/shadps4-emu/shadPS4/commit/55a2bfcc295a1cccc749a3ef15a70608c2699e88) used existing empty place in vector when allocate a new one - [`172fa7d`](https://github.com/shadps4-emu/shadPS4/commit/172fa7df6e91efe9812e6016ec7c049e05c8439e) reserved first 3 handles for stdin,stdout,stderr - [`3238fff`](https://github.com/shadps4-emu/shadPS4/commit/3238fff0896281a8240298ccf4f46e2b3c045a5a) partial support for sceKernelOpen directory - [`961a1a3`](https://github.com/shadps4-emu/shadPS4/commit/961a1a32586189bc028f561b136cdacb86cebaae) main : mounting app0 - [`bd6d635`](https://github.com/shadps4-emu/shadPS4/commit/bd6d635a4b91d0607212f97f6405720760fd08b8) sceKernelOpen create directories works - [`0f59f4a`](https://github.com/shadps4-emu/shadPS4/commit/0f59f4a74559cd7397b364d87d26ea15fcd513f9) implemented sceKernelClose - [`461215a`](https://github.com/shadps4-emu/shadPS4/commit/461215a6f5747612316883641dae34cb0cc0959d) intial work on listing directories - [`429d7de`](https://github.com/shadps4-emu/shadPS4/commit/429d7deb2995b2dd4f94464fe5576515170c3b3c) temp fix for create_directories - [`fc14a8a`](https://github.com/shadps4-emu/shadPS4/commit/fc14a8a7072f367b9d1f19b1624f57cc576376e3) sceKernelGetdents implementation ### 📊 Changes **13 files changed** (+363 additions, -99 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -1) 📝 `src/common/fs_file.cpp` (+38 -21) 📝 `src/common/fs_file.h` (+18 -28) 📝 `src/core/PS4/HLE/Graphics/video_out.cpp` (+13 -11) ➕ `src/core/file_sys/fs.cpp` (+77 -0) ➕ `src/core/file_sys/fs.h` (+52 -0) 📝 `src/core/hle/error_codes.h` (+4 -0) 📝 `src/core/hle/libraries/libc/libc.cpp` (+1 -0) 📝 `src/core/hle/libraries/libc/libc_string.cpp` (+22 -27) 📝 `src/core/hle/libraries/libc/libc_string.h` (+1 -1) 📝 `src/core/hle/libraries/libkernel/file_system.cpp` (+97 -6) 📝 `src/core/hle/libraries/libkernel/file_system.h` (+30 -3) 📝 `src/main.cpp` (+7 -1) </details> ### 📄 Description rewrote with new core folder organize --- <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:51 +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#1264
No description provided.