Changeset 13eecc4 in mainline for uspace/lib/virtio/virtio.c


Ignore:
Timestamp:
2019-02-06T17:30:48Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2f332c
Parents:
a1f173d
git-author:
Jakub Jermar <jakub@…> (2019-01-20 12:15:28)
git-committer:
Jakub Jermar <jakub@…> (2019-02-06 17:30:48)
Message:

Add virtio-blk driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/virtio/virtio.c

    ra1f173d r13eecc4  
    6363        uintptr_t phys;
    6464        errno_t rc = dmamem_map_anonymous(buffers * size, 0,
    65             write ? AS_AREA_WRITE : AS_AREA_READ, 0, &phys, &virt);
     65            write ? AS_AREA_WRITE | AS_AREA_READ : AS_AREA_READ, 0, &phys,
     66            &virt);
    6667        if (rc != EOK)
    6768                return rc;
Note: See TracChangeset for help on using the changeset viewer.