Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CMake

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup environment
run: |
echo "PS5SDK=$(pwd)" >> $GITHUB_ENV
sudo apt install ninja-build
echo "llvm_ver=16.0" >> $GITHUB_ENV

- name: Cache LLVM and Clang (${{ env.llvm_ver }})
id: cache-llvm
uses: actions/cache@v3
with:
path: ${{ runner.tool_cache }}/llvm-${{ env.llvm_ver }}
key: llvm1-${{ env.llvm_ver }}

- name: Install LLVM and Clang (${{ env.llvm_ver }})
uses: KyleMayes/install-llvm-action@master
with:
version: ${{ env.llvm_ver }}
directory: ${{ runner.tool_cache }}/llvm-${{ env.llvm_ver }}
cached: ${{ steps.cache-llvm.outputs.cache-hit }}

- name: Show Clang version
run: clang -v

- name: Build SDK
run: bash ./build.sh

- name: Upload sample elf
uses: actions/upload-artifact@v3
with:
name: samples
path: ${{ github.workspace }}/**/*.elf
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# PS5 SDK

[![Release State](https://img.shields.io/badge/release%20state-beta-yellow.svg)](https://github.com/PS5Dev/PS5SDK) [![Platforms](https://img.shields.io/badge/platform-linux%20%7C%20windows%20%7C%20macos-lightgrey)](https://github.com/PS5Dev/PS5SDK)
[![CMake](../../actions/workflows/cmake.yml/badge.svg)](../../actions/workflows/cmake.yml)

**Note: As this SDK is a work-in-progress, it's subject to major changes between releases until it approaches a stable version (1.0).**

Expand Down
8 changes: 7 additions & 1 deletion ps5/libkernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,13 @@ _Fn_(uint64_t , sceKernelResumeDirectMemoryRelease, void);
_Fn_(uint64_t , sceKernelRmdir, void);
_Fn_(uint64_t , sceKernelRtldControl, void);
_Fn_(uint64_t , sceKernelSandboxPath, void);
_Fn_(uint64_t , sceKernelSendNotificationRequest, void);

typedef struct notify_request {
char useless1[45];
char message[3075];
} notify_request_t;

_Fn_(uint64_t , sceKernelSendNotificationRequest, int, notify_request_t *, size_t, int);
_Fn_(uint64_t , sceKernelSetAppInfo, void);
_Fn_(uint64_t , sceKernelSetAppLibcData, void);
_Fn_(uint64_t , sceKernelSetBackupRestoreMode, void);
Expand Down