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

Issue 6682024: dynamically generate strides in fmap_find() to cover all of ROM (Closed)

Created:
9 years, 9 months ago by Nick Sanders
Modified:
9 years, 7 months ago
Reviewers:
dhendrix, Benson Leung
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

dynamically generate strides in fmap_find() to cover all of ROM This changes the hard coded array of strides to cover with an algorithm that will result in every bit of the ROM being checked. Now the algorithm starts at 1/2 the ROM's total size and divides its stride by 2 on each iteration. BUG= TEST=Tested on Alex with an FMAP structure at various alignments (2M, 1M, 64K, 4K, 16, 5, 1). Review URL: http://codereview.chromium.org/6612048 (cherry picked from commit b0c1154ffda8604e211ce4e8d029b1cbb5d893ac) Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=56e829f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -15 lines) Patch
M fmap.c View 2 chunks +37 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Nick Sanders
9 years, 9 months ago (2011-03-13 09:34:56 UTC) #1
Benson Leung
9 years, 9 months ago (2011-03-13 09:36:11 UTC) #2
On 2011/03/13 09:34:56, Nick Sanders wrote:

LGTM.

Powered by Google App Engine
This is Rietveld 408576698