public static bool IsDevicePathEnd(EfiDevicePathProtocol *a) { return(IsDevicePathEndType(a) && IsDevicePathEndSubType(a)); }
public static bool IsDevicePathUnpacked(EfiDevicePathProtocol *a) { return((a->Type & EfiDpTypeUnpacked) != 0); }
public static bool IsDevicePathEndType(EfiDevicePathProtocol *a) { return(DevicePathType(a) == EndDevicePathType); }
public static bool IsDevicePathEndSubType(EfiDevicePathProtocol *a) { return(a->SubType == EndEntireDevicePathSubtype); }
public static EfiDevicePathProtocol *NextDevicePathNode(EfiDevicePathProtocol *a) { return((EfiDevicePathProtocol *)((byte *)a + DevicePathNodeLength(a))); }
public static ulong DevicePathNodeLength(EfiDevicePathProtocol *a) { return((ulong)(a->Length[0] | (a->Length[1] << 8))); }
public static byte DevicePathSubType(EfiDevicePathProtocol *a) { return(a->SubType); }
public static byte DevicePathType(EfiDevicePathProtocol *a) { return((byte)(a->Type & EfiDpTypeMask)); }
public static bool DP_IS_END_SUBTYPE(EfiDevicePathProtocol *a) { return(a->SubType == EndEntireDevicePathSubtype); }