summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-04-04 16:54:21 +0100
committerDavid Howells <dhowells@redhat.com>2017-04-04 16:54:21 +0100
commitbf616d21f41174389c6d720ae21bf40f154474c8 (patch)
treead57e44f77343fbfa31a368bffa0db97f8591e65 /init
parentddb99e118e37f324a4be65a411bb60ae62795cf9 (diff)
Annotate module params that specify hardware parameters (eg. ioport)
Provided an annotation for module parameters that specify hardware parameters (such as io ports, iomem addresses, irqs, dma channels, fixed dma buffers and other types). This will enable such parameters to be locked down in the core parameter parser for secure boot support. I've also included annotations as to what sort of hardware configuration each module is dealing with for future use. Some of these are straightforward (ioport, iomem, irq, dma), but there are also: (1) drivers that switch the semantics of a parameter between ioport and iomem depending on a second parameter, (2) drivers that appear to reserve a CPU memory buffer at a fixed address, (3) other parameters, such as bus types and irq selection bitmasks. For the moment, the hardware configuration type isn't actually stored, though its validity is checked. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions