nfit.c (6bc756193ff61bf5e7b3cfedfbb0873bf40f8055) | nfit.c (581388209405902b56d055f644b4dd124a206112) |
---|---|
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 --- 860 unchanged lines hidden (view full) --- 869 memdev->region_id = 0; 870 memdev->range_index = 0+1; 871 memdev->region_index = 0+1; 872 memdev->region_size = SPA2_SIZE; 873 memdev->region_offset = 0; 874 memdev->address = 0; 875 memdev->interleave_index = 0; 876 memdev->interleave_ways = 1; | 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 --- 860 unchanged lines hidden (view full) --- 869 memdev->region_id = 0; 870 memdev->range_index = 0+1; 871 memdev->region_index = 0+1; 872 memdev->region_size = SPA2_SIZE; 873 memdev->region_offset = 0; 874 memdev->address = 0; 875 memdev->interleave_index = 0; 876 memdev->interleave_ways = 1; |
877 memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED 878 | ACPI_NFIT_MEM_FLUSH_FAILED | ACPI_NFIT_MEM_HEALTH_OBSERVED 879 | ACPI_NFIT_MEM_ARMED; |
|
877 878 offset += sizeof(*memdev); 879 /* dcr-descriptor0 */ 880 dcr = nfit_buf + offset; 881 dcr->header.type = ACPI_NFIT_TYPE_CONTROL_REGION; 882 dcr->header.length = sizeof(struct acpi_nfit_control_region); 883 dcr->region_index = 0+1; 884 dcr->vendor_id = 0xabcd; --- 229 unchanged lines hidden --- | 880 881 offset += sizeof(*memdev); 882 /* dcr-descriptor0 */ 883 dcr = nfit_buf + offset; 884 dcr->header.type = ACPI_NFIT_TYPE_CONTROL_REGION; 885 dcr->header.length = sizeof(struct acpi_nfit_control_region); 886 dcr->region_index = 0+1; 887 dcr->vendor_id = 0xabcd; --- 229 unchanged lines hidden --- |