mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 14:48:15 +00:00
If we don't set FP and LR to 0, the Kernel might not stop generating backtraces when it reaches `_start`'s stack frame, and might continue by reading garbage memory instead. This leads to a kernel panic, as SafeMem access faults aren't handled properly in the AArch64 kernel yet. We might want to ensure that the kernel zeroes out all registers when a new process is created.
3.5 KiB
3.5 KiB