Fix CC_Fat ResW value to account for flags

This commit is contained in:
Alexandre Joannou
2019-05-22 11:28:25 +01:00
parent a8974231eb
commit 5063a8d9e3

View File

@@ -123,7 +123,7 @@ typedef struct {
} Perms deriving(Bits, Eq, FShow);
typedef SizeOf#(Perms) PermsW;
// The reserved bits
typedef TSub#(CapW,TAdd#(CapAddressW,TAdd#(OTypeW,TAdd#(CBoundsW,PermsW)))) ResW;
typedef TSub#(CapW,TAdd#(CapAddressW,TAdd#(OTypeW,TAdd#(CBoundsW,TAdd#(PermsW, FlagsW))))) ResW;
// The full capability structure, including the "tag" bit.
typedef struct {
Bool isCapability;