fixed pmem init to not assume anything about memory
initial rd mapping