aboutsummaryrefslogtreecommitdiff
path: root/lib/Serialization/GeneratePCH.cpp
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-06-12 10:24:02 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-09-09 20:01:30 +0000
commit33595d4ae01c10c436a83e7f5afd2c07a7fbd2c5 (patch)
treeb113bc7e3e0a5ef1ec73aa3d35b87e9e53ba7581 /lib/Serialization/GeneratePCH.cpp
parentfc0a5ae094308609927e9c355928d08923278325 (diff)
linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`
They were already defined as macros in various places in DRM drivers, aliasing the `vga_pci_map_bios()` and `vga_pci_unmap_bios()` functions. Let's move them to linuxkpi and avoid copies everywhere. Because they use the `vga_pci` code internally, `pci_map_rom()` checks whether the given device is a video card. If it is not, it logs a "TODO" and returns NULL. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57573
Diffstat (limited to 'lib/Serialization/GeneratePCH.cpp')
0 files changed, 0 insertions, 0 deletions