Bring closer to the ISA version by dropping the use of a structure for accessing fields in the shared mem, and fixing the packet length check. Slight cleanup otherwise.
Bring closer to the ISA version by dropping the use of a structure for
accessing fields in the shared mem, and fixing the packet length check.
Slight cleanup otherwise.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars