xiaoxiang781216 commented on code in PR #20218: URL: https://github.com/apache/nuttx/pull/20218#discussion_r4062706051
########## arch/arm/src/am67/am67_rat.c: ########## @@ -112,3 +113,19 @@ FAR void *am67_rat_map(uint64_t pa, FAR size_t *avail) return (FAR void *)(AM67_RAT_WIN_BASE + offset); } + +/**************************************************************************** + * Name: up_vhost_iomap + * + * Description: + * Arch hook used by the vhost drivers to reach peer buffers by 64-bit + * physical address (see ARCH_HAVE_VHOST_IOMAP). + * + ****************************************************************************/ + +#ifdef CONFIG_DRIVERS_VHOST +FAR void *up_vhost_iomap(uint64_t pa, FAR size_t *avail) Review Comment: why not call virtqueue_phys_to_virt -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
