Same stuff as cgthree: - fix initialization so that the cursor is initialized to be in the same place the prom left it. - remove some trial and error #if 0 stuff - fix copyo's in a2int() - ditch *_romcursoraddr for a direct call to romgetcursoraddr() - allow this to attach (without panic()) if it is not the console.
Same stuff as cgthree:
- fix initialization so that the cursor is initialized to be in the same
place the prom left it.
- remove some trial and error #if 0 stuff
- fix copyo's in a2int()
- ditch *_romcursoraddr for a direct call to romgetcursoraddr()
- allow this to attach (without panic()) if it is not the console.

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