yf13 commented on PR #12041: URL: https://github.com/apache/nuttx/pull/12041#issuecomment-2062829663
> tthe unit of mmap is page size, why do we need byte unit? This helper function is for device drivers to use, where using byte unit is more natural. The "mmap()" function defined in <sys/mman.h> is also using byte unit for length parameter. using byte unit is more convenient for the callers. -- 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]
