Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/acpitools/acpidump acpi_print_gicc_flags: print {en...
details: https://anonhg.NetBSD.org/src/rev/c1467edf99ab
branches: trunk
changeset: 1025166:c1467edf99ab
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Nov 08 10:19:42 2021 +0000
description:
acpi_print_gicc_flags: print {en,dis}abled
diffstat:
usr.sbin/acpitools/acpidump/acpi.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 949c29169cc1 -r c1467edf99ab usr.sbin/acpitools/acpidump/acpi.c
--- a/usr.sbin/acpitools/acpidump/acpi.c Mon Nov 08 06:29:16 2021 +0000
+++ b/usr.sbin/acpitools/acpidump/acpi.c Mon Nov 08 10:19:42 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.52 2021/09/19 10:34:10 andvar Exp $ */
+/* $NetBSD: acpi.c,v 1.53 2021/11/08 10:19:42 skrll Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: acpi.c,v 1.52 2021/09/19 10:34:10 andvar Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.53 2021/11/08 10:19:42 skrll Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -979,7 +979,12 @@
acpi_print_gicc_flags(uint32_t flags)
{
- printf("\tFlags={Performance intr=");
+ printf("\tFlags={");
+ if (flags & ACPI_MADT_ENABLED)
+ printf("enabled");
+ else
+ printf("disabled");
+ printf(", Performance intr=");
if (flags & ACPI_MADT_PERFORMANCE_IRQ_MODE)
printf("edge");
else
Home |
Main Index |
Thread Index |
Old Index