Patch set 4:Code-Review -1
View Change
2 comments:
Commit Message:
Patch Set #4, Line 12: Also make use of __packed attribute in vbe_info_t structure.
Please split this change off. This is the major change in this patch but does not look like that from the commit message.
File src/include/vbe.h:
Patch Set #1, Line 48: u16 video_mode_list[MAX_VBE_FRAMEBUFFER_MODE];
This struct does not map to the return value of the VBEINFO INT, which just returns a pointer. If you you memcpy the return value buffer into this struct, the total_memory value is not correct. It's also does seem not very portable either. I'd just decode the return buffer like done in device/oprom/yabel/vbe.c\090:vbe_info(vbe_info_t * info)
To view, visit change 33782. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5e79b21acf44f6ca184a09d42acdf69c31dd4841
Gerrit-Change-Number: 33782
Gerrit-PatchSet: 4
Gerrit-Owner: Subrata Banik <subrata.banik@intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Duncan Laurie <dlaurie@chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik@intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Comment-Date: Tue, 25 Jun 2019 14:01:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment