seL4/include/arch
Adrian Danis fd2f5ec85b Explicitly check if a capability is physical or not
Previously the return value of cap_get_capPtr was compared to 0 in
sameRegionAs to emulate a check in the abstract specification that
tests if the cap is a physical cap or not. Overloading 0 results
in a scenario where a legitimate deviceUntyped's children do not
get considered to be children because they have a capPtr of 0.

This change adds and explicit function that returns whether or not
a capability is physical or not, and uses that in sameRegionAs
2016-06-16 16:42:30 +10:00
..
arm Explicitly check if a capability is physical or not 2016-06-16 16:42:30 +10:00
x86/arch Explicitly check if a capability is physical or not 2016-06-16 16:42:30 +10:00