Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE
ACPI names can only be 4 characters long. Define a constant that defines the size of the name + the NULL terminator.
BUG=b:154756391 TEST=none
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Iad230c029f324005620ddad66c433ada26be78cc --- M src/include/acpi/acpi.h 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/43329/1
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index cd99899..dabbb2b 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -52,6 +52,8 @@ #define RSDP_SIG "RSD PTR " /* RSDT pointer signature */ #define ASLC "CORE" /* Must be exactly 4 bytes long! */
+#define ACPI_NAME_BUFFER_SIZE 5 /* 4 chars + 1 NULL */ + /* * The assigned ACPI ID for the coreboot project is 'BOOT' * http://www.uefi.org/acpi_id_list
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
Patch Set 1: Code-Review+2
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/c/coreboot/+/43329/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43329/1//COMMIT_MSG@10 PS1, Line 10: L remove one of these 'L's
https://review.coreboot.org/c/coreboot/+/43329/1/src/include/acpi/acpi.h File src/include/acpi/acpi.h:
https://review.coreboot.org/c/coreboot/+/43329/1/src/include/acpi/acpi.h@55 PS1, Line 55: L same as commit message.
Hello build bot (Jenkins), Furquan Shaikh, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43329
to look at the new patch set (#2).
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE
ACPI names can only be 4 characters long. Define a constant that defines the size of the name + the NUL terminator.
BUG=b:154756391 TEST=none
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Iad230c029f324005620ddad66c433ada26be78cc --- M src/include/acpi/acpi.h 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/43329/2
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/c/coreboot/+/43329/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43329/1//COMMIT_MSG@10 PS1, Line 10: L
remove one of these 'L's
Done
https://review.coreboot.org/c/coreboot/+/43329/1/src/include/acpi/acpi.h File src/include/acpi/acpi.h:
https://review.coreboot.org/c/coreboot/+/43329/1/src/include/acpi/acpi.h@55 PS1, Line 55: L
same as commit message.
Done
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
Patch Set 2: Code-Review+2
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/43329 )
Change subject: include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE ......................................................................
include/acpi/acpi.h: Add ACPI_NAME_BUFFER_SIZE
ACPI names can only be 4 characters long. Define a constant that defines the size of the name + the NUL terminator.
BUG=b:154756391 TEST=none
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Iad230c029f324005620ddad66c433ada26be78cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/43329 Reviewed-by: Aaron Durbin adurbin@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/include/acpi/acpi.h 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index cd99899..35a1dc3 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -52,6 +52,8 @@ #define RSDP_SIG "RSD PTR " /* RSDT pointer signature */ #define ASLC "CORE" /* Must be exactly 4 bytes long! */
+#define ACPI_NAME_BUFFER_SIZE 5 /* 4 chars + 1 NUL */ + /* * The assigned ACPI ID for the coreboot project is 'BOOT' * http://www.uefi.org/acpi_id_list