AHCI Command List should be in Physical address or MMIO?
Posted: Thu Feb 20, 2020 9:12 pm
Hi I'm trying to write an AHCI driver following https://wiki.osdev.org/AHCI.
In the sample program, start from "port->clb", which is the pointer to "Command List" and all following pointers, are defined by OS programmer.
Since ABAR and Ports are memory mapped address, I would like to ask if the following structure should be located in physical memory (RAM) or the memory mapped address??
Thanks a lot!
In the sample program, start from "port->clb", which is the pointer to "Command List" and all following pointers, are defined by OS programmer.
Since ABAR and Ports are memory mapped address, I would like to ask if the following structure should be located in physical memory (RAM) or the memory mapped address??
Thanks a lot!