64-bit bdev position
Change-Id: I149693624610e04af0c5e4437b5efa484a33467d
This commit is contained in:
@@ -258,8 +258,7 @@ static ssize_t fbd_transfer_direct(int do_write, u64_t position,
|
||||
m.BDEV_GRANT = grant;
|
||||
m.BDEV_FLAGS = flags;
|
||||
m.BDEV_ID = 0;
|
||||
m.BDEV_POS_LO = ex64lo(position);
|
||||
m.BDEV_POS_HI = ex64hi(position);
|
||||
m.BDEV_POS = position;
|
||||
|
||||
if ((r = ipc_sendrec(driver_endpt, &m)) != OK)
|
||||
panic("ipc_sendrec to driver failed (%d)\n", r);
|
||||
@@ -351,8 +350,7 @@ static ssize_t fbd_transfer_copy(int do_write, u64_t position,
|
||||
m.BDEV_GRANT = grant;
|
||||
m.BDEV_FLAGS = flags;
|
||||
m.BDEV_ID = 0;
|
||||
m.BDEV_POS_LO = ex64lo(position);
|
||||
m.BDEV_POS_HI = ex64hi(position);
|
||||
m.BDEV_POS = position;
|
||||
|
||||
if ((r = ipc_sendrec(driver_endpt, &m)) != OK)
|
||||
panic("ipc_sendrec to driver failed (%d)\n", r);
|
||||
|
||||
Reference in New Issue
Block a user