[PATCH] c-user: Fix rtems_region_create() return status

Joel Sherrill joel at rtems.org
Wed May 30 12:13:31 UTC 2018


Why is improperly aligned not an error?

On Wed, May 30, 2018, 3:53 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> ---
>  c-user/region_manager.rst | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/c-user/region_manager.rst b/c-user/region_manager.rst
> index 1bebd8a..713fb07 100644
> --- a/c-user/region_manager.rst
> +++ b/c-user/region_manager.rst
> @@ -255,12 +255,13 @@ DIRECTIVE STATUS CODES:
>         - ``id`` is NULL
>       * - ``RTEMS_INVALID_ADDRESS``
>         - ``starting_address`` is NULL
> -     * - ``RTEMS_INVALID_ADDRESS``
> -       - address not on four byte boundary
>       * - ``RTEMS_TOO_MANY``
>         - too many regions created
>       * - ``RTEMS_INVALID_SIZE``
>         - invalid page size
> +     * - ``RTEMS_INVALID_SIZE``
> +       - the memory area defined by the starting address and the length
> +         parameters is too small
>
>  DESCRIPTION:
>      This directive creates a region from a physically contiguous memory
> space
> --
> 2.13.6
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180530/eceabbab/attachment.html>


More information about the devel mailing list