map vector table and device to memory