nfit.c (264015f8a83fefc62c5125d761fbbadf924e520c) | nfit.c (f42957967fb435aef6fc700fbbd9df89533b9a2e) |
---|---|
1/* 2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of version 2 of the GNU General Public License as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 1121 unchanged lines hidden (view full) --- 1130 memdev->region_index = 0+1; 1131 memdev->region_size = SPA2_SIZE; 1132 memdev->region_offset = 0; 1133 memdev->address = 0; 1134 memdev->interleave_index = 0; 1135 memdev->interleave_ways = 1; 1136 memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED 1137 | ACPI_NFIT_MEM_FLUSH_FAILED | ACPI_NFIT_MEM_HEALTH_OBSERVED | 1/* 2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of version 2 of the GNU General Public License as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 1121 unchanged lines hidden (view full) --- 1130 memdev->region_index = 0+1; 1131 memdev->region_size = SPA2_SIZE; 1132 memdev->region_offset = 0; 1133 memdev->address = 0; 1134 memdev->interleave_index = 0; 1135 memdev->interleave_ways = 1; 1136 memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED 1137 | ACPI_NFIT_MEM_FLUSH_FAILED | ACPI_NFIT_MEM_HEALTH_OBSERVED |
1138 | ACPI_NFIT_MEM_ARMED; | 1138 | ACPI_NFIT_MEM_NOT_ARMED; |
1139 1140 offset += sizeof(*memdev); 1141 /* dcr-descriptor0 */ 1142 dcr = nfit_buf + offset; 1143 dcr->header.type = ACPI_NFIT_TYPE_CONTROL_REGION; 1144 dcr->header.length = sizeof(struct acpi_nfit_control_region); 1145 dcr->region_index = 0+1; 1146 dcr->vendor_id = 0xabcd; --- 261 unchanged lines hidden --- | 1139 1140 offset += sizeof(*memdev); 1141 /* dcr-descriptor0 */ 1142 dcr = nfit_buf + offset; 1143 dcr->header.type = ACPI_NFIT_TYPE_CONTROL_REGION; 1144 dcr->header.length = sizeof(struct acpi_nfit_control_region); 1145 dcr->region_index = 0+1; 1146 dcr->vendor_id = 0xabcd; --- 261 unchanged lines hidden --- |