patacongo edited a comment on pull request #4193:
URL: https://github.com/apache/incubator-nuttx/pull/4193#issuecomment-884381207


   I think that there is another issue with system calls on 32-bit platforms.  
Passing a 64-bit value will require two registers instead of one, so it will be 
necessary to use a different system call to pass the values, won't it?  All of 
the registers passed in the system call are represented by uintptr_t which is 
32-bits on ARMv7-M.  An int32_t cannot be represented as a single uintptr_t and 
will have to be separated into two 32-bit values in the proxy and restored to a 
single 64-bit value in the stub.
   
   Also, do the 64-bit values need to lie on aligned, even registers?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to