Modified to use physical addresses, and to not assume that we can directly