LCOV - code coverage report
Current view: top level - arch/arm/mm - iomap.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 4 0.0 %
Date: 2014-04-16 Functions: 0 2 0.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  *  linux/arch/arm/mm/iomap.c
       3                 :            :  *
       4                 :            :  * Map IO port and PCI memory spaces so that {read,write}[bwl] can
       5                 :            :  * be used to access this memory.
       6                 :            :  */
       7                 :            : #include <linux/module.h>
       8                 :            : #include <linux/pci.h>
       9                 :            : #include <linux/ioport.h>
      10                 :            : #include <linux/io.h>
      11                 :            : 
      12                 :            : unsigned long vga_base;
      13                 :            : EXPORT_SYMBOL(vga_base);
      14                 :            : 
      15                 :            : #ifdef __io
      16                 :          0 : void __iomem *ioport_map(unsigned long port, unsigned int nr)
      17                 :            : {
      18                 :          0 :         return __io(port);
      19                 :            : }
      20                 :            : EXPORT_SYMBOL(ioport_map);
      21                 :            : 
      22                 :          0 : void ioport_unmap(void __iomem *addr)
      23                 :            : {
      24                 :          0 : }
      25                 :            : EXPORT_SYMBOL(ioport_unmap);
      26                 :            : #endif
      27                 :            : 
      28                 :            : #ifdef CONFIG_PCI
      29                 :            : unsigned long pcibios_min_io = 0x1000;
      30                 :            : EXPORT_SYMBOL(pcibios_min_io);
      31                 :            : 
      32                 :            : unsigned long pcibios_min_mem = 0x01000000;
      33                 :            : EXPORT_SYMBOL(pcibios_min_mem);
      34                 :            : 
      35                 :            : void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
      36                 :            : {
      37                 :            :         if ((unsigned long)addr >= VMALLOC_START &&
      38                 :            :             (unsigned long)addr < VMALLOC_END)
      39                 :            :                 iounmap(addr);
      40                 :            : }
      41                 :            : EXPORT_SYMBOL(pci_iounmap);
      42                 :            : #endif

Generated by: LCOV version 1.9