'\" t .\" Title: pci_map_rom .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PCI_MAP_ROM" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pci_map_rom \- map a PCI ROM to kernel space .SH "SYNOPSIS" .HP \w'void\ __iomem\ *\ pci_map_rom('u .BI "void __iomem * pci_map_rom(struct\ pci_dev\ *\ " "pdev" ", size_t\ *\ " "size" ");" .SH "ARGUMENTS" .PP \fIpdev\fR .RS 4 pointer to pci device struct .RE .PP \fIsize\fR .RS 4 pointer to receive size of pci window over ROM .RE .SH "RETURN" .PP kernel virtual pointer to image of ROM .PP Map a PCI ROM into kernel space\&. If ROM is boot video ROM, the shadow BIOS copy will be returned instead of the actual ROM\&. .SH "COPYRIGHT" .br