[PATCH 13/20] rtems: Move _Partition_Is_buffer_area_aligned()
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 20 13:34:44 UTC 2020
On 20/11/2020 14:31, Joel Sherrill wrote:
> Wasn't there Doxygen above it?
No.
>
> Needs comments
I think a one liner function with a very descriptive name needs no
comments if it is placed in a source file:
static bool _Partition_Is_buffer_area_aligned( const void
*starting_address )
{
return ( ( (uintptr_t) starting_address ) % CPU_SIZEOF_POINTER ) == 0;
}
--
embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
Phone: +49-89-18 94 741 - 16
Fax: +49-89-18 94 741 - 08
PGP: Public key available on request.
embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list