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

Issue 3056014: Make LoadKernel() pass back the kernel partition's UniqueGuid. (Closed)

Created:
10 years, 5 months ago by Bill Richardson
Modified:
9 years, 6 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato
Base URL:
ssh://git@chromiumos-git//vboot_reference.git
Visibility:
Public.

Description

Make LoadKernel() pass back the kernel partition's UniqueGuid. LoadKernel already returns the partition number for the selected kernel. This change makes it also return the GPT Entry's UniqueGuid, which will eventually be passed to the kernel itself, so the kernel can determine which of several possible devices it has booted from. It doesn't know for certain because the BIOS and the kernel may enumerate the devices in a different order. BUG=chromium-os:4984

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
M firmware/include/load_kernel_fw.h View 2 chunks +2 lines, -0 lines 0 comments Download
M firmware/lib/cgptlib/cgptlib_internal.c View 1 chunk +6 lines, -0 lines 0 comments Download
M firmware/lib/cgptlib/include/cgptlib_internal.h View 1 chunk +3 lines, -0 lines 0 comments Download
M firmware/lib/vboot_kernel.c View 2 chunks +2 lines, -1 line 1 comment Download
M firmware/version.c View 1 chunk +1 line, -1 line 0 comments Download
M utility/load_kernel_test.c View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Bill Richardson
10 years, 5 months ago (2010-07-23 01:21:56 UTC) #1
vb
On Thu, Jul 22, 2010 at 6:21 PM, <wfrichar@chromium.org> wrote: > > Reviewers: Randall Spangler, ...
10 years, 5 months ago (2010-07-23 01:26:26 UTC) #2
Bill Richardson
Testing: This is a multiple-repository change set. All three of these changes must have landed ...
10 years, 5 months ago (2010-07-23 01:47:26 UTC) #3
gauravsh
10 years, 5 months ago (2010-07-23 01:50:57 UTC) #4
lgtm provided you have already tested this and update the issue description as
per Vadim's comment

http://codereview.chromium.org/3056014/diff/1/5
File firmware/lib/vboot_kernel.c (right):

http://codereview.chromium.org/3056014/diff/1/5#newcode17
firmware/lib/vboot_kernel.c:17: #include "cgptlib_internal.h"
nit: alpha order

Powered by Google App Engine
This is Rietveld 408576698