Kapil Porwal has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71265 )
Change subject: drivers/pc80/vga: Add API to write multi-line video message
......................................................................
Patch Set 8:
(1 comment)
File src/drivers/pc80/vga/vga.c:
https://review.coreboot.org/c/coreboot/+/71265/comment/fa9d2497_47d2388c
PS3, Line 303: memcpy(str, string, strlen(string));
I dont think we should attempt to handle line wrapping and leave it to the creation of the string […]
Yes, I agree.
I suggested this because of the below observations -
1. Characters post VGA_COLUMNS are suppressed (i.e. not printed).
2. We expect user of vga_write_text() to be aware of VGA_COLUMNS.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/71265
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib837e4deeba9b84038a91c93a68f03cee3474f9b
Gerrit-Change-Number: 71265
Gerrit-PatchSet: 8
Gerrit-Owner: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Jeremy Compostella
jeremy.compostella@gmail.com
Gerrit-Reviewer: Kapil Porwal
kapilporwal@google.com
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: 9elements QA
hardwaretestrobot@gmail.com
Gerrit-Comment-Date: Mon, 02 Jan 2023 12:14:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tarun Tuli
taruntuli@google.com
Comment-In-Reply-To: Subrata Banik
subratabanik@google.com
Comment-In-Reply-To: Kapil Porwal
kapilporwal@google.com
Gerrit-MessageType: comment