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

Implement turning on and off PC hardening. #395

Commits on Jan 23, 2023

  1. Implemented turning pc_hardening on and off by using cpuctrl.pc_harde…

    …ning.
    
    Includes the following bugfixes:
    - For a pipeline flush due to CSR writes, the controller could kill the pipeline for debug or interrupts before the flush was completed.
    - The id_ex_pipe.pc_next was wrong for dummy branches (should have been +0 instead of +4)
    
    Signed-off-by: Oystein Knauserud <Oystein.Knauserud@silabs.com>
    silabs-oysteink committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    eb7c3ec View commit details
    Browse the repository at this point in the history
  2. Resetting default values for all flops within pc_check when pc harden…

    …ing is not enabled.
    
    Refactored interrupt_allowed slightly for clarity.
    
    Signed-off-by: Oystein Knauserud <Oystein.Knauserud@silabs.com>
    silabs-oysteink committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    6ac9052 View commit details
    Browse the repository at this point in the history