Module Name: src Committed By: riastradh Date: Sun Oct 27 12:14:07 UTC 2024
Modified Files: src/sys/dev/acpi: apei.c apei_cper.h Log Message: apei(4): Add section numbering in comments on error types. This will make it easier to keep the sections sorted by the spec's section numbers when we add more. Preparation for: PR kern/58775: apei(4) spamming console To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/apei.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/apei_cper.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/acpi/apei.c diff -u src/sys/dev/acpi/apei.c:1.5 src/sys/dev/acpi/apei.c:1.6 --- src/sys/dev/acpi/apei.c:1.5 Sun Oct 27 12:13:42 2024 +++ src/sys/dev/acpi/apei.c Sun Oct 27 12:14:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: apei.c,v 1.5 2024/10/27 12:13:42 riastradh Exp $ */ +/* $NetBSD: apei.c,v 1.6 2024/10/27 12:14:07 riastradh Exp $ */ /*- * Copyright (c) 2024 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: apei.c,v 1.5 2024/10/27 12:13:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apei.c,v 1.6 2024/10/27 12:14:07 riastradh Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -356,6 +356,8 @@ static const char *const apei_gede_sever }; /* + * N.2.5. Memory Error Section + * * https://uefi.org/specs/UEFI/2.10/Apx_N_Common_Platform_Error_Record.html#memory-error-section */ static const struct uuid CPER_MEMORY_ERROR_SECTION = Index: src/sys/dev/acpi/apei_cper.h diff -u src/sys/dev/acpi/apei_cper.h:1.3 src/sys/dev/acpi/apei_cper.h:1.4 --- src/sys/dev/acpi/apei_cper.h:1.3 Sun Oct 27 12:13:54 2024 +++ src/sys/dev/acpi/apei_cper.h Sun Oct 27 12:14:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: apei_cper.h,v 1.3 2024/10/27 12:13:54 riastradh Exp $ */ +/* $NetBSD: apei_cper.h,v 1.4 2024/10/27 12:14:07 riastradh Exp $ */ /*- * Copyright (c) 2024 The NetBSD Foundation, Inc. @@ -110,6 +110,8 @@ enum { "\0" /* + * N.2.5. Memory Error Section + * * https://uefi.org/specs/UEFI/2.10/Apx_N_Common_Platform_Error_Record.html#memory-error-section * * Type: {0xa5bc1114,0x6f64,0x4ede,{0xb8,0x63,0x3e,0x83,0xed,0x7c,0x83,0xb1}}