Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys: util: add a sign_extend function
Add a sign_extend function, same as the Linux sign_extend32 one. This is useful for sign extending values smaller than 32 bits. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
- Loading branch information