move the mapping of the registers out of attach and into their own function
move the mapping of the registers out of attach and into their own function

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