Commit graph

177 commits

Author SHA1 Message Date
Richard Barry 7580c6b817 Change ARM7 byte alignment to 8. 2008-07-25 02:35:50 +00:00
Richard Barry 794b6546b2 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-25 02:34:31 +00:00
Richard Barry 32592e1385 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-25 02:33:56 +00:00
Richard Barry 3ab4d1f87f Change projects to split the dsPIC and PIC24 taskYIELD implementations. 2008-07-16 10:08:24 +00:00
Richard Barry c3acf82f70 asm version of the yield function. Moved from port.c. 2008-07-16 09:26:22 +00:00
Richard Barry 090da3b518 Removed the manual context switch from the C file, this is now in an asm file instead. This is a workaround for a compiler bug but provides a better implementation anyway as less stack is used. 2008-07-16 09:12:54 +00:00
Richard Barry d091cf740f Allow the static qualifier to be removed and rename a list so it does not then clash with the name used in tasks.c once the static has been removed. 2008-07-16 09:10:01 +00:00
Richard Barry 1d4e319aa7 Ensure the queue registry gets initialised. 2008-07-16 09:08:32 +00:00
Richard Barry 90064444af Update to V5.0.2 2008-05-30 15:34:42 +00:00
Richard Barry 192cc29ebc Add usage of portREMOVE_STATIC_QUALIFIER. 2008-05-24 18:56:04 +00:00
Richard Barry 8ce7a79937 Add usage of portREMOVE_STATIC_QUALIFIER. 2008-05-24 18:52:12 +00:00
Richard Barry 576a25a098 Remove static qualifier from queue registry. 2008-05-24 18:47:38 +00:00
Richard Barry 4154eec4e1 Add queue registry code. 2008-05-23 19:24:05 +00:00
Richard Barry f689c709ab A little optimisation. 2008-05-23 15:16:25 +00:00
Richard Barry eb9d172082 Remove compiler warnings. 2008-05-20 18:27:59 +00:00
Richard Barry 2888b15b7e Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); Previously this was a private function. 2008-05-19 19:17:56 +00:00
Richard Barry 5a2790a998 Change the way the critical sections are handled within interrupts so the critical sections can be nested. 2008-05-19 19:16:57 +00:00
Richard Barry 4b9fe1e28a Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); 2008-05-19 19:15:38 +00:00
Richard Barry fb3b17a37c Update the default macros used for critical sections within ISRs. 2008-05-19 19:12:57 +00:00
Richard Barry b9b3e521f7 Bug fix - allocate 2 extra words at the bottom of the task stack to account for the back chain and saved LR. 2008-05-19 19:11:08 +00:00
Richard Barry 66fc3b8092 Update to use the kernel critical nesting. 2008-05-18 17:28:30 +00:00
Richard Barry 45fceb4bdd Update to include the option of saving/restoring the floating point context. 2008-05-11 09:15:22 +00:00
Richard Barry 6177c6e4a4 Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR() default (empty) macros. 2008-05-07 18:02:19 +00:00
Richard Barry 5d27f3ccf7 Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR() macros. 2008-05-07 18:00:26 +00:00
Richard Barry bafcf8901e Update to allow nesting. 2008-05-06 11:51:13 +00:00
Richard Barry b7f66b9db6 Add the usual missing -1. 2008-05-05 08:41:25 +00:00
Richard Barry 4304c07ebf Performance improvements. 2008-05-04 20:04:52 +00:00
Richard Barry 0eae0f7549 Add nesting support. 2008-05-04 17:36:23 +00:00
Richard Barry a9393b891d Remove inline keywords. 2008-05-01 17:16:26 +00:00
Richard Barry 3f620024fc Added code to allow a vTaskPrioritySet() caller to pass in the current TCB as well as NULL to indicate that the priority of the calling task is being changed. 2008-05-01 17:15:36 +00:00
Richard Barry a918bd9825 Update comments for vTaskSuspendAll() "API functions that have the potential to cause a context switch (for example, vTaskDelayUntil(), xQueueSend(), etc.) must not be called while the scheduler is suspended". 2008-05-01 15:54:04 +00:00
Richard Barry 019ab1b908 Remove inline keyword. 2008-05-01 09:06:26 +00:00
Richard Barry 9c87f922b3 Remove inline keyword. 2008-05-01 08:58:48 +00:00
Richard Barry 0d29807e93 Remove inline keyword. 2008-05-01 08:57:45 +00:00
Richard Barry b08411ec5a Correct timer calculation. 2008-04-16 16:29:28 +00:00
Richard Barry d7ca9ad0c3 Correct comments. 2008-04-16 14:26:03 +00:00
Richard Barry e939542f32 Update to V5.0.0. 2008-04-16 07:47:02 +00:00
Richard Barry 57a83227d0 Remove incorrect const qualifiers. 2008-04-13 17:03:23 +00:00
Richard Barry 7eb7201b46 Casting only. 2008-04-12 23:26:44 +00:00
Richard Barry b24032d4b0 Efficiency improvement. 2008-04-12 23:26:01 +00:00
Richard Barry a6053582fc Update the sys tick to be more efficient. 2008-04-12 23:25:17 +00:00
Richard Barry a9ed428422 Update prototypes and macros for the new xQueueSendFromISR() function and the task hook feature. 2008-04-12 09:48:40 +00:00
Richard Barry da6d27b627 Introduce the application task hook feature. 2008-04-12 09:46:19 +00:00
Richard Barry b73dafb1f4 Change the semantics of the xQueueGenericSendFromISR() function. 2008-04-12 09:45:02 +00:00
Richard Barry 2bc9dfa3f8 Ensure the first task starts with interrupts enabled. 2008-04-06 14:42:35 +00:00
Richard Barry ed543197e0 Ensure the first task starts with interrupts enabled. 2008-04-06 14:41:04 +00:00
Richard Barry 24cb048892 Ensure the first task starts with interrupts enabled. 2008-04-06 14:38:27 +00:00
Richard Barry ada4744871 Minor changes to the trace macros. 2008-04-06 09:37:26 +00:00
Richard Barry 06e8e93eb5 Added traceTASK_SWITCHED_OUT macro. 2008-04-06 09:36:48 +00:00
Richard Barry a3677612d2 Corrected SysTick interval calculation. 2008-04-06 09:26:51 +00:00