Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: src/platform/vboot_reference/vboot_firmware/lib/cgptlib/cgptlib.c

Issue 2303003: Moved cgptlib into vboot_firmware (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include "cgptlib.h" 6 #include "cgptlib.h"
7 #include <string.h> 7 #include <string.h>
8 #include "cgptlib_internal.h" 8 #include "cgptlib_internal.h"
9 #include "crc32.h" 9 #include "crc32.h"
10 #include "gpt.h" 10 #include "gpt.h"
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 RepairEntries(gpt, MASK_PRIMARY); 761 RepairEntries(gpt, MASK_PRIMARY);
762 /* Actually two entries are dirty now. 762 /* Actually two entries are dirty now.
763 * Also two headers are dirty because entries_crc32 has been updated. */ 763 * Also two headers are dirty because entries_crc32 has been updated. */
764 gpt->modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1 | 764 gpt->modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1 |
765 GPT_MODIFIED_HEADER2 | GPT_MODIFIED_ENTRIES2); 765 GPT_MODIFIED_HEADER2 | GPT_MODIFIED_ENTRIES2);
766 UpdateCrc(gpt); 766 UpdateCrc(gpt);
767 } 767 }
768 768
769 return GPT_SUCCESS; 769 return GPT_SUCCESS;
770 } 770 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/Makefile ('k') | src/platform/vboot_reference/vboot_firmware/lib/cgptlib/crc32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698