OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/rtos
    from Rev 665 to Rev 666
    Reverse comparison

Rev 665 → Rev 666

/freertos-6.1.1/Demo/OpenRISC_SIM_GCC/FreeRTOSConfig.h
68,30 → 68,29
#include "board.h"
 
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 1
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
#define configCPU_CLOCK_HZ ( ( unsigned long ) SYS_CLK )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 128 )
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 256 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 32 * 1024 ) )
#define configMAX_TASK_NAME_LEN ( 32 )
#define configUSE_TRACE_FACILITY 0
#define configUSE_16_BIT_TICKS 0
#define configIDLE_SHOULD_YIELD 1
#define configUSE_CO_ROUTINES 1
#define configIDLE_SHOULD_YIELD 0
#define configUSE_MUTEXES 1
#define configGENERATE_RUN_TIME_STATS 0
#define configCHECK_FOR_STACK_OVERFLOW 1
#define configUSE_RECURSIVE_MUTEXES 1
#define configUSE_RECURSIVE_MUTEXES 0
#define configQUEUE_REGISTRY_SIZE 1
#define configUSE_MALLOC_FAILED_HOOK 1
#define configUSE_APPLICATION_TASK_TAG 0
#define configUSE_APPLICATION_TASK_TAG 1
#define configUSE_COUNTING_SEMAPHORES 1
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 10 )
 
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 7 )
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
#define configGENERATE_RUN_TIME_STATS 0
#define configCHECK_FOR_STACK_OVERFLOW 0
 
 
/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 0
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
 
/* Set the following definitions to 1 to include the API function, or zero
/freertos-6.1.1/Demo/OpenRISC_SIM_GCC/main.c
138,9 → 138,9
vStartLEDFlashTasks( mainLED_TASK_PRIORITY );
vStartIntegerMathTasks( tskIDLE_PRIORITY );
// vCreateBlockTimeTasks();
// vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
// vStartDynamicPriorityTasks();
vCreateBlockTimeTasks();
vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
vStartDynamicPriorityTasks();
 
/* Create the tasks defined within this file. */
xTaskCreate( vCheckTask, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
184,26 → 184,26
// ulErrorDetected = pdTRUE;
}
 
// if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
// {
// ulErrorDetected = pdTRUE;
// }
if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
{
ulErrorDetected = pdTRUE;
}
 
// if( xAreBlockingQueuesStillRunning() != pdTRUE )
// {
// ulErrorDetected = pdTRUE;
// }
if( xAreBlockingQueuesStillRunning() != pdTRUE )
{
ulErrorDetected = pdTRUE;
}
// if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
// {
// ulErrorDetected = pdTRUE;
// }
if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
{
ulErrorDetected = pdTRUE;
}
if(ulErrorDetected == pdTRUE)
{
// something was wrong. report negative indicator
const char *message = "vCheckTask Error detected!\n\r";
vSerialPutString(NULL, (const signed char*)message, strlen(message));
// const char *message = "vCheckTask Error detected!\n\r";
// vSerialPutString(NULL, (const signed char*)message, strlen(message));
 
report(0xDEADBEEF);
}
210,8 → 210,8
else
{
// we have no error. report positive indicator
const char *message = "vCheckTask OK!\n\r";
vSerialPutString(NULL, (const signed char*)message, strlen(message));
// const char *message = "vCheckTask OK!\n\r";
// vSerialPutString(NULL, (const signed char*)message, strlen(message));
 
report(0x00000000);
}
/freertos-6.1.1/Demo/OpenRISC_SIM_GCC/sim.cfg
164,7 → 164,7
missdelay = <value> (default: 1)
*/
section dmmu
enabled = 0
enabled = 1
nsets = 64
nways = 1
pagesize = 8192
185,7 → 185,7
missdelay = <value> (default: 1)
*/
section immu
enabled = 0
enabled = 1
nsets = 64
nways = 1
pagesize = 8192
208,7 → 208,7
*/
 
section dc
enabled = 0
enabled = 1
nsets = 256
nways = 1
blocksize = 16
230,7 → 230,7
missdelay = <value> (default: 1)
*/
section ic
enabled = 0
enabled = 1
nsets = 256
nways = 1
blocksize = 16

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.