Spdk/test/external_code/nvme
Konrad Sztyber ad9ccbbf52 external_code/nvme: controller register access functions
Added getters/setters providing access to several of the NVMe
controller's registers.  Only the registers that are needed for the
initialization are implemented.

For now all of them are unused, so they're marked as external to avoid
the -Wunused-function warnings.  The subsequent patches will make use of
them and mark as static appropriately.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I7012583f74e87720f6915afca69474ad1bb1e377
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6668
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-03-09 08:28:22 +00:00
..
.gitignore test/external_code: initial definitions for basic NVMe driver 2021-03-09 08:28:22 +00:00
identify.c external_code/identify: use nvme_connect() if an address is provided 2021-03-09 08:28:22 +00:00
Makefile external_code/nvme: device attach/detach 2021-03-09 08:28:22 +00:00
nvme.c external_code/nvme: controller register access functions 2021-03-09 08:28:22 +00:00
nvme.h external_code/nvme: direct NVMe device connect 2021-03-09 08:28:22 +00:00