mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 16:17:44 -04:00
Compare commits
1 commit
849ee3dff7
...
72c81e17ed
Author | SHA1 | Date | |
---|---|---|---|
|
72c81e17ed |
3 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@
|
||||||
*
|
*
|
||||||
* In addition to it's value, each list item contains a pointer to the next
|
* In addition to it's value, each list item contains a pointer to the next
|
||||||
* item in the list (pxNext), a pointer to the list it is in (pxContainer)
|
* item in the list (pxNext), a pointer to the list it is in (pxContainer)
|
||||||
* and a pointer to back to the object that contains it. These later two
|
* and a pointer back to the object that contains it. These later two
|
||||||
* pointers are included for efficiency of list manipulation. There is
|
* pointers are included for efficiency of list manipulation. There is
|
||||||
* effectively a two way link between the object containing the list item and
|
* effectively a two way link between the object containing the list item and
|
||||||
* the list item itself.
|
* the list item itself.
|
||||||
|
|
|
@ -84,10 +84,10 @@ void * pvPortMalloc( size_t xWantedSize )
|
||||||
/* Ensure that blocks are always aligned. */
|
/* Ensure that blocks are always aligned. */
|
||||||
#if ( portBYTE_ALIGNMENT != 1 )
|
#if ( portBYTE_ALIGNMENT != 1 )
|
||||||
{
|
{
|
||||||
size_t xAdditionalRequiredSize;
|
|
||||||
|
|
||||||
if( ( xWantedSize & portBYTE_ALIGNMENT_MASK ) != 0x00 )
|
if( ( xWantedSize & portBYTE_ALIGNMENT_MASK ) != 0x00 )
|
||||||
{
|
{
|
||||||
|
size_t xAdditionalRequiredSize;
|
||||||
|
|
||||||
/* Byte alignment required. */
|
/* Byte alignment required. */
|
||||||
xAdditionalRequiredSize = portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK );
|
xAdditionalRequiredSize = portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK );
|
||||||
|
|
||||||
|
|
2
portable/ThirdParty/GCC/Posix/port.c
vendored
2
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -193,7 +193,7 @@ void prvFatalError( const char * pcCall,
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
static void prvPortSetCurrentThreadName( char * pxThreadName )
|
static void prvPortSetCurrentThreadName( const char * pxThreadName )
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
pthread_setname_np( pxThreadName );
|
pthread_setname_np( pxThreadName );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue