On Tue, 22 Oct 2024 at 20:02, Johannes Berg wrote:
>
> From: Johannes Berg
>
> Since __attribute__((naked)) cannot be used with functions
> containing C statements, just generate the few instructions
> it needs in assembly directly.
>
> While at it, fix the stack usage ("1 + 2*x - 1" is odd) and
From: Johannes Berg
Since __attribute__((naked)) cannot be used with functions
containing C statements, just generate the few instructions
it needs in assembly directly.
While at it, fix the stack usage ("1 + 2*x - 1" is odd) and
document what it must do, and why it must adjust the stack.
Fixes