Re: [PATCH 11/14] bpf/tests: Add test for 32-bit context pointer argument passing

From
Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date
2021-07-29 13:30:35
Also in
bpf
Reply to
Yonghong Song, 2021-07-29
On Thu, Jul 29, 2021 at 2:09 AM Yonghong Song [off-list ref] wrote:
On 7/28/21 10:04 AM, Johan Almbladh wrote:
quoted
On a 32-bit architecture, the context pointer should occupy the low
half of R0, and the other half should be zero.
I think this is probably true. The word choice "should" indicates
this doesn't need to be the case if people choose a different
implementation, right?
Right. To the best of my knowledge this is true. I can change the
wording to "will" to remove the ambiguity.
Thread (43 messages) 43 messages, 2 authors, last reply 2021-07-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help