pspdev / pspdev/pspdev.github.io

Add PRX/Stub Library Example/Guide

オープン
#103 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C
スター
13
フォーク
11
平均マージ
8時間 12分
マージ済み PR(30日)
1

説明

Dynamic Link is an essential part in PSP Programming. It's also the foundation of PSPSDK and CFW. However, current website doesn't include such guide on how to write export table, generate .S stub etc. One has to dive into Makefiles to figure out the complete process.

I'd like to add a guide to the current website that includes:

  • How to build PRX for others to use

    • How to write C code for PRX program (module_start/module_stop)
    • How to write export table
    • How to use psp-build-exports -b to convert export table into C code
    • How to write correct Makefile (-nostartfiles flags etc)
    • How to generate .S file using psp-build-exports -k
    • How to generate .a Stub Library using psp-ar
  • How to load PRX dynamically

    • System Calls such as sceKernelLoadModule, sceKernelFindModuleByUID, sceKernelStartModule (? Not quite familiar with this part)
    • What .S file does and how psp-fixup-imports works
  • Other Topics

    • Kernel Module / User Module(?) Calling Constraints(?)

Looking forward to your suggestions!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、issue によれば読者が確認する必要がある、現在のウェブサイトと既存の Makefiles を調査します。psp-build-exports、psp-ar、psp-fixup-imports、および一覧にあるシステムコールを中心とした PRX のビルドと動的ロードのワークフローを調査します。ウェブサイトに、要求されたビルド、ロード、スタブライブラリ、およびモジュール制約に関するトピックを一貫したガイドとしてまとめられれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c
領域
documentation
issue の種類
ドキュメント
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。