Correct physical addresses and better memory register.
Fixed ioctl