Skip to content
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

Better exceptions for retail lv2 kernel #23

Open
phire opened this issue Nov 15, 2010 · 1 comment
Open

Better exceptions for retail lv2 kernel #23

phire opened this issue Nov 15, 2010 · 1 comment

Comments

@phire
Copy link

phire commented Nov 15, 2010

Right now lv2 is just crashing, rebooting or going into an infinite loop when a userspace program encounters an exception.

This isn't very useful.

At the very least it should kick the user back to the xmb, Even better, it should allow the program to register a handler that will get called when an exception is encountered so the program can exit correctly.

@bvernoux
Copy link

LV2 Handler shall be rewritten for that.

I plan to do that lowlevel task (after finishing msgDialog stuff) in a PSL1GHT app:

  1. Replacing all FW3.41 LV2 Exception Handlers (Machine Check/DataStorage/DataSegment/InstructionStorage/InstructionSegment/Alignment/Program and also Trace Exception), with optional user API to manage them by any Apps.

  2. Adding printf()/lv2_syscall403_tty redirection to ethernet (see https://github.com/TitanMKD/PL3/blob/master/payload_lv2ttywrite_to_eth.S).

  3. Adding redirection of all LV2 sys call to ethernet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants