pub fn getControl(self: *SerialIo) GetControlError!u32 self: *SerialIo83
84
85
86
87
88
89
90 pub fn getControl(self: *SerialIo) GetControlError!u32 {
var control: u32 = undefined;
switch (self._get_control(self, &control)) {
.success => return control,
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}
Retrieves the status of the control bits on a serial device.