type: DevicePath.Typesubtype: Subtypelength: u16 align(1)device_type: u16 align(1)status_flag: u16 align(1)pub fn getDescription(self: *const BBS101DevicePath) [*:0]const u8self: *const BBS101DevicePathpub fn getDescription(self: *const BBS101DevicePath) [*:0]const u8 {
return @as([*:0]const u8, @ptrCast(self)) + @sizeOf(BBS101DevicePath);
}pub const BBS101DevicePath = extern struct {
type: DevicePath.Type,
subtype: Subtype,
length: u16 align(1),
device_type: u16 align(1),
status_flag: u16 align(1),
pub fn getDescription(self: *const BBS101DevicePath) [*:0]const u8 {
return @as([*:0]const u8, @ptrCast(self)) + @sizeOf(BBS101DevicePath);
}
}