pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r850331049
########## arch/arm/src/armv7-a/arm_addrenv.c: ########## @@ -447,6 +447,33 @@ int up_addrenv_vdata(FAR group_addrenv_t *addrenv, uintptr_t textsize, return OK; } +/**************************************************************************** + * Name: up_addrenv_vheap + * + * Description: + * Return the heap virtual address associated with the newly created + * address environment. This function is used by the binary loaders in + * order get an address that can be used to initialize the new task. + * + * Input Parameters: + * addrenv - The representation of the task address environment previously + * returned by up_addrenv_create. + * vheap - The location to return the virtual address. + * + * Returned Value: + * Zero (OK) on success; a negated errno value on failure. + * + ****************************************************************************/ + +#ifdef CONFIG_BUILD_KERNEL +int up_addrenv_vheap(FAR group_addrenv_t *addrenv, FAR void **vheap) Review Comment: CI error due to mismatching prototype / definition (missing const). -- 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]
