fw: proper reg map
fw: defines