rationalize some vm function names
This commit is contained in:
parent
da898a11b6
commit
9a817bd134
5 changed files with 60 additions and 60 deletions
|
@ -200,8 +200,8 @@ virtio_disk_rw(struct buf *b)
|
|||
buf0.sector = sector;
|
||||
|
||||
// buf0 is on a kernel stack, which is not direct mapped,
|
||||
// thus the call to kernelpa().
|
||||
desc[idx[0]].addr = (uint64) kernelpa((uint64) &buf0);
|
||||
// thus the call to kvmpa().
|
||||
desc[idx[0]].addr = (uint64) kvmpa((uint64) &buf0);
|
||||
desc[idx[0]].len = sizeof(buf0);
|
||||
desc[idx[0]].flags = VRING_DESC_F_NEXT;
|
||||
desc[idx[0]].next = idx[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue