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

[Morello] Change the PCS to pass memory arguments through C9 instead of passing them on the stack #205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 24, 2023

  1. [Morello] Change the PCS to pass memory arguments through C9

    instead of passing them on the stack.
    
    In practice for non-compartment calls the arguments are
    still passed on the stack, although now there is no explicit
    requirement for this.
    
    Variadic arguments are still passed through C9 in the same
    way, at the first 16-byte aligned location after the last
    non-variadic argument.
    
    This is done is such a way that reading more variadic
    arguments than were passed is guaranteed to cause an
    out-of-bounds fault.
    
    Implements ARM-software#158.
    sbaranga-arm committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    738e8ed View commit details
    Browse the repository at this point in the history