Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31329 )
Change subject: vboot: copy data structures to CBMEM for downstream use
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/#/c/31329/3/src/security/vboot/common.c
File src/security/vboot/common.c:
https://review.coreboot.org/#/c/31329/3/src/security/vboot/common.c@44
PS3, Line 44: static uint8_t use_cbmem CAR_GLOBAL;
We could also just simplify and get rid of the global altogether: […]
if vb2_wd is a local variable it's value is undefined. It'd need to be marked static. That's the equivalent of a compilation unit global -- just scoped to be accessed only within the function. In both cases the object would be placed in .bss w/o decoration or .car.global with CAR_GLOBAL decoration.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31329
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62c11268a83927bc00ae9bd93b1b31363b38e8cf
Gerrit-Change-Number: 31329
Gerrit-PatchSet: 5
Gerrit-Owner: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Randall Spangler
rspangler@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Tue, 19 Feb 2019 05:07:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Comment-In-Reply-To: Joel Kitching
kitching@google.com
Gerrit-MessageType: comment