/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/kmem.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-11-20 17:52:51 UTC
  • Revision ID: csa@suren.me-20151120175251-l431odptssvzxelb
Fix reading non DMA-able kernel pages using pcitool

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
typedef struct {
66
66
    int handle_id;
67
67
    pcilib_kmem_reuse_state_t reused;
68
 
    
 
68
 
69
69
    uintptr_t pa;
70
70
//    uintptr_t va;
71
71
    void *ua;
72
72
    size_t size;
73
 
    
 
73
 
74
74
    size_t alignment_offset;
75
75
    size_t mmap_offset;
76
76
} pcilib_kmem_addr_t;
83
83
typedef struct {
84
84
    pcilib_kmem_addr_t addr;
85
85
    
 
86
    pcilib_kmem_type_t type;
 
87
    pcilib_kmem_use_t use;
86
88
    pcilib_kmem_reuse_state_t reused;
87
89
 
88
90
    size_t n_blocks;