aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvdimm/nvdimm_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/nvdimm/nvdimm_var.h')
-rw-r--r--sys/dev/nvdimm/nvdimm_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/nvdimm/nvdimm_var.h b/sys/dev/nvdimm/nvdimm_var.h
index d69b1a70d8df..d163698e0660 100644
--- a/sys/dev/nvdimm/nvdimm_var.h
+++ b/sys/dev/nvdimm/nvdimm_var.h
@@ -93,6 +93,7 @@ struct nvdimm_dev {
device_t nv_dev;
nfit_handle_t nv_handle;
uint64_t **nv_flush_addr;
+ char *nv_flags_str;
int nv_flush_addr_cnt;
uint32_t label_area_size;
uint32_t max_label_xfer;
@@ -163,6 +164,8 @@ void acpi_nfit_get_control_region(ACPI_TABLE_NFIT *nfitbl,
uint16_t control_region_index, ACPI_NFIT_CONTROL_REGION **out);
void acpi_nfit_get_flush_addrs(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t dimm,
uint64_t ***listp, int *countp);
+void acpi_nfit_get_memory_maps_by_dimm(ACPI_TABLE_NFIT *nfitbl,
+ nfit_handle_t dimm, ACPI_NFIT_MEMORY_MAP ***listp, int *countp);
enum SPA_mapping_type nvdimm_spa_type_from_name(const char *);
enum SPA_mapping_type nvdimm_spa_type_from_uuid(struct uuid *);
bool nvdimm_spa_type_user_accessible(enum SPA_mapping_type);