Skip to content

syscon: Use known/documented function names #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2025

Conversation

joel16
Copy link
Contributor

@joel16 joel16 commented Mar 28, 2025

Based on reverse-enginnered code by @Felix-Dev from uOFW (https://github.com/uofw/uofw/blob/power/include/syscon.h). I have also added punctuation on some of the existing documentation.

@sharkwouter
Copy link
Member

sharkwouter commented Mar 28, 2025

Looks good. Do you have some code that would allow for this to be tested?

@joel16
Copy link
Contributor Author

joel16 commented Mar 28, 2025

Looks good. Do you have some code that would allow for this to be tested?

I don't exactly have a sample, but I do use a lot of these in PSP-Everest: https://github.com/joel16/PSP-Everest/blob/main/plugin/kernel/kernel.c

@rofl0r
Copy link
Contributor

rofl0r commented Mar 28, 2025

maybe could use explanations about what pommel and baryon are ?

@joel16
Copy link
Contributor Author

joel16 commented Mar 28, 2025

maybe could use explanations about what pommel and baryon are ?

IMO I don't think that fits in SDK documentation. The SDK just explains what the functions do (info on return values and arguments used). The wiki has that information:

Baryon: https://www.psdevwiki.com/psp/Baryon
Pommel: https://www.psdevwiki.com/psp/Pommel

@sharkwouter sharkwouter merged commit aeb9951 into pspdev:master Apr 1, 2025
1 check passed
@joel16 joel16 deleted the syscon branch April 1, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants