commit | eb1997c0e28cdd16a4738de49a46ab64677fc0d7 | [log] [tgz] |
---|---|---|
author | Alfredo Mazzinghi <mazzinghi@google.com> | Thu Feb 07 18:00:01 2019 +0000 |
committer | Alfredo Mazzinghi <mazzinghi@google.com> | Mon Feb 11 15:53:58 2019 +0000 |
tree | ca108d733b92c6f91fe0d7dfc5b2c18c2e1fcbe0 | |
parent | 8aa8c62ee403180538257ce0cfeb43064388c1bf [diff] |
Add alignment macros. Introduces align_up, align_down and is_aligned macros that use compiler builtins if available. Note: when we fallback to the non-builtin case we could cast back from uintptr_t to the original type using __typeof() if we accept the non-standard extension. Change-Id: Ie0c56f19cb0edc8a211d8c1182b9af5eb329cd8c
Hafnium is a hypervisor, initially supporting aarch64 (64-bit ARMv8 CPUs).
Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.
To jump in and build Hafnium, follow the getting started instructions.