Images 💾

Last commit ⭐

commit 555d2ac5ef2a47ad9e8510eb23388cb3ec3688d1
Author:     Sönke Holz <sholz8530@gmail.com>
AuthorDate: Mon Dec 23 21:23:25 2024 +0100
Commit:     Sönke Holz <sholz8530@gmail.com>
CommitDate: Tue Dec 24 01:12:26 2024 +0100

    Kernel/aarch64: Don't print the register state twice for crashes
    
    `handle_crash` already calls `dump_registers`, so there is no need for
    the AArch64 exception handler to do it as well.
    
    The second register dump (the one made by `handle_crash`) previously
    also often reported an incorrect ESR_EL1 value, as interrupts are
    enabled at that point in time.
    This problem can simply be solved by saving the ESR_EL1 value in the
    `RegisterState`, similar to how we save `scause` on RISC-V.