diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2022-07-05 14:47:55 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2022-08-11 14:25:53 +0000 |
commit | 2571d6f331a46e2a5065874dc6bbcca4aa6613d8 (patch) | |
tree | dcb7c96606a76f0690963de8ccc6c7de0cda6682 /sys/x86 | |
parent | 53021bbf8255f57a422f9874a108d4a679b180a2 (diff) |
ddb: use _FLAGS command macros where appropriate
Some command definitions were forced to use DB_FUNC in order to specify
their required flags, CS_OWN or CS_MORE. Use the new macros to simplify
these.
Reviewed by: markj, jhb
MFC after: 3 days
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D35582
(cherry picked from commit 258958b3c7e017266080ae7fc9e3d8e64b6450d4)
Diffstat (limited to 'sys/x86')
-rw-r--r-- | sys/x86/iommu/intel_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c index c7647c1f7b1d..61da86c098fc 100644 --- a/sys/x86/iommu/intel_drv.c +++ b/sys/x86/iommu/intel_drv.c @@ -1158,7 +1158,7 @@ dmar_print_domain(struct dmar_domain *domain, bool show_mappings) } } -DB_FUNC(dmar_domain, db_dmar_print_domain, db_show_table, CS_OWN, NULL) +DB_SHOW_COMMAND_FLAGS(dmar_domain, db_dmar_print_domain, CS_OWN) { struct dmar_unit *unit; struct dmar_domain *domain; |