HomeFreeBSD

bhyve: simplify slot validation in xHCI emulation

Description

bhyve: simplify slot validation in xHCI emulation

This is a follow-up to commit e72d86ad9c62 ("bhyve: improve input
validation in pci_xhci") -- introducing a helper for slot validation.

Co-authored-by: John Baldwin <jhb@FreeBSD.org>
Reviewed by: markj, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46696

(cherry picked from commit f505f9a842eb3e75e16e6c7c6f67d5b592b1bc65)

Details

Provenance
khorben_defora.orgAuthored on Sep 18 2024, 6:52 PM
emasteCommitted on Sep 25 2024, 4:50 PM
Reviewer
markj
Differential Revision
Restricted Differential Revision
Parents
rG5754008f8511: hda: remove duplicate codec defines
Branches
Unknown
Tags
Unknown