]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A53_64-bit_UltraScale_MPSoC/RTOSDemo_A53/src/main.c
Update BSP source files for UltraScale Cortex-A53 and Cortex-R5 and Microblaze to...
[freertos] / FreeRTOS / Demo / CORTEX_A53_64-bit_UltraScale_MPSoC / RTOSDemo_A53 / src / main.c
index 85352756386c5b63af3870dd69f9eadbffbd9173..887e9688edee8545e640c0ab18bfd5149ead3dd6 100644 (file)
@@ -288,64 +288,6 @@ static StackType_t uxTimerTaskStack[ configTIMER_TASK_STACK_DEPTH ];
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void *memcpy( void *pvDest, const void *pvSource, size_t xBytes )\r
-{\r
-/* The compiler used during development seems to err unless these volatiles are\r
-included at -O3 optimisation.  */\r
-volatile unsigned char *pcDest = ( volatile unsigned char * ) pvDest, *pcSource = ( volatile unsigned char * ) pvSource;\r
-size_t x;\r
-\r
-       /* Extremely crude standard library implementations in lieu of having a C\r
-       library. */\r
-       if( pvDest != pvSource )\r
-       {\r
-               for( x = 0; x < xBytes; x++ )\r
-               {\r
-                       pcDest[ x ] = pcSource[ x ];\r
-               }\r
-       }\r
-\r
-       return pvDest;\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
-void *memset( void *pvDest, int iValue, size_t xBytes )\r
-{\r
-/* The compiler used during development seems to err unless these volatiles are\r
-included at -O3 optimisation.  */\r
-volatile unsigned char * volatile pcDest = ( volatile unsigned char * volatile ) pvDest;\r
-volatile size_t x;\r
-\r
-       /* Extremely crude standard library implementations in lieu of having a C\r
-       library. */\r
-       for( x = 0; x < xBytes; x++ )\r
-       {\r
-               pcDest[ x ] = ( unsigned char ) iValue;\r
-       }\r
-\r
-       return pvDest;\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
-int memcmp( const void *pvMem1, const void *pvMem2, size_t xBytes )\r
-{\r
-const volatile unsigned char *pucMem1 = pvMem1, *pucMem2 = pvMem2;\r
-volatile size_t x;\r
-\r
-       /* Extremely crude standard library implementations in lieu of having a C\r
-       library. */\r
-    for( x = 0; x < xBytes; x++ )\r
-    {\r
-        if( pucMem1[ x ] != pucMem2[ x ] )\r
-        {\r
-            break;\r
-        }\r
-    }\r
-\r
-    return xBytes - x;\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
 void vMainAssertCalled( const char *pcFileName, uint32_t ulLineNumber )\r
 {\r
        xil_printf( "ASSERT!  Line %lu of file %s\r\n", ulLineNumber, pcFileName );\r