diff --git a/ras-page-isolation.h b/ras-page-isolation.h index 048c72f..633fdf6 100644 --- a/ras-page-isolation.h +++ b/ras-page-isolation.h @@ -47,10 +47,11 @@ struct page_record { unsigned long excess; }; -enum row_location_type{ +enum row_location_type { GHES, DSM }; + enum apei_location_field_index { APEI_NODE, APEI_CARD, @@ -88,7 +89,7 @@ struct page_addr { LIST_ENTRY(page_addr) entry; unsigned long long addr; enum pstate offlined; - int count; + int count; time_t start; }; @@ -117,7 +118,8 @@ void ras_page_account_init(void); void ras_record_page_error(unsigned long long addr, unsigned int count, time_t time); void ras_row_account_init(void); -void ras_record_row_error(const char *detail, unsigned count, time_t time, unsigned long long addr); +void ras_record_row_error(const char *detail, unsigned int count, time_t time, + unsigned long long addr); void row_record_infos_free(void); #endif