Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SH_IO_TRAPPED_H
     13 #define __ASM_SH_IO_TRAPPED_H
     14 
     15 #include <linux/list.h>
     16 #include <linux/ioport.h>
     17 #include <asm/page.h>
     18 
     19 #define IO_TRAPPED_MAGIC 0xfeedbeef
     20 
     21 struct trapped_io {
     22  unsigned int magic;
     23  struct resource *resource;
     24  unsigned int num_resources;
     25  unsigned int minimum_bus_width;
     26  struct list_head list;
     27  void __iomem *virt_base;
     28 } __aligned(PAGE_SIZE);
     29 
     30 #define register_trapped_io(tiop) (-1)
     31 #define handle_trapped_io(tiop, address) 0
     32 #define __ioremap_trapped(offset, size) NULL
     33 #define __ioport_map_trapped(offset, size) NULL
     34 
     35 #endif
     36