最終更新:2019-04-18 (木) 14:43:00 (1834d)  

resource
Top / resource

linux/ioport.h

struct resource {
     resource_size_t start;
     resource_size_t end;
     const char *name;
     unsigned long flags;
     struct resource *parent, *sibling, *child;
};

フラグ

  • IORESOURCE_BITS? 0x000000ff /* Bus-specific bits */-
  • IORESOURCE_TYPE_BITS? 0x00001f00 /* Resource type */
  • IORESOURCE_IO? 0x00000100 /* PCI/ISA I/O ports */
  • IORESOURCE_MEM? 0x00000200
  • IORESOURCE_REG? 0x00000300 /* Register offsets */
  • IORESOURCE_IRQ? 0x00000400
  • IORESOURCE_DMA? 0x00000800
  • IORESOURCE_BUS? 0x00001000

使われ所

Cloud Firestore/セキュリティルール

プロパティ