Commit graph

225 commits

Author SHA1 Message Date
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
Richard Barry 2ca3985a8c Corrected SysTick interval calculation. 2008-04-06 09:25:59 +00:00
Richard Barry 7ed94acdff Corrected SysTick interval calculation. 2008-04-06 09:25:00 +00:00
Richard Barry cfcad6e78a Corrected prototypes for newly added functions that had the 'signed' qualifier missing. 2008-04-06 09:23:58 +00:00
Richard Barry d1b9463e29 Changes required to build with the latest Xilinx tools. 2008-03-30 21:18:54 +00:00
Richard Barry 3fd422ff2f Return the lock counts to their original intended behaviour. 2008-03-29 20:50:38 +00:00
Richard Barry 9596b04eff Small mods, and update file headers. 2008-03-26 13:04:38 +00:00
Richard Barry 527fb6a907 Update version numbers to V4.8.0 2008-03-25 21:22:13 +00:00
Richard Barry 3b4545cdf6 Add extra const qualifiers and casts for linting purposes. 2008-03-25 18:30:09 +00:00
Richard Barry 8704fd145b 2008-03-24 13:01:33 +00:00
Richard Barry 343a6101c2 Correct function prototype. 2008-03-24 13:00:38 +00:00
Richard Barry 5024d47769 2008-03-24 10:18:07 +00:00
Richard Barry 8502ee5b1c Introduce configKERNEL_INTERRUPT_PRIORITY and make some performance optimisations. 2008-03-24 10:17:30 +00:00
Richard Barry 87575c5cfe Re-write the queue send and queue receive functions to improve their effect on interrupt responsiveness. 2008-03-23 16:06:45 +00:00
Richard Barry ed28aa2046 Add critical section around xTaskCheckForTimeout() as the new queue code makes a call while the scheduler is not locked. 2008-03-23 16:00:51 +00:00
Richard Barry 5ebd39bfc9 Add utilities that can be used to query a queue from within an ISR. 2008-03-23 15:58:27 +00:00
Richard Barry 58905b6fb4 Performance optimisation. 2008-03-23 15:54:50 +00:00
Richard Barry a8d03f24e3 Performance optimisation. 2008-03-23 15:53:37 +00:00
Richard Barry ebfede454f Check in before attempting to remove absolute paths in PPC405 project. 2008-03-07 18:23:27 +00:00
Richard Barry 5cb4e9b5a6 Get preeprocessor working correctly. 2008-03-07 16:29:15 +00:00
Richard Barry 1aecde4efd Renaming .s to .S. 2008-03-07 13:43:27 +00:00
Richard Barry ade2da38ed Clear the interrupt prior to servicing the interrupt - previously it was the other way around. 2008-03-07 11:08:10 +00:00
Richard Barry bf5cd55c55 Comment ready for release. 2008-03-06 20:55:49 +00:00
Richard Barry f73e663411 Rename PPC405 to PPC405_Xilinx. 2008-03-05 12:31:04 +00:00
Richard Barry 643c94a5a8 Rename PPC405 to PPC405_Xilinx. 2008-03-05 12:24:31 +00:00
Richard Barry 39b68e7fc5 PPC405 work in progress. 2008-03-05 12:21:46 +00:00
Richard Barry ebcac1c4b5 PPC405 work in progress. 2008-03-05 10:13:59 +00:00
Richard Barry 8e856177c9 Modified uxTaskGetStackHighWaterMark() to take a parameter for the task to be checked, rather than just checking the stack of the calling task. 2008-03-05 10:13:18 +00:00
Richard Barry 47a7f0165b Modified uxTaskGetStackHighWaterMark() to take a parameter for the task to be checked, rather than just checking the stack of the calling task. 2008-03-05 10:12:35 +00:00
Richard Barry 60bead5003 Remove warnings generated by new features. 2008-03-03 21:46:29 +00:00
Richard Barry 39f6b0b5de Add stack check macros. 2008-03-03 20:56:55 +00:00
Richard Barry 71ef3153ea Add trace macros. 2008-03-03 16:32:37 +00:00
Richard Barry b8b70528f4 Add trace macros. 2008-03-03 16:32:05 +00:00
Richard Barry 2b174e556c Add vTaskEnterCritical() and vTaskExitCritical() functions. 2008-02-25 18:54:28 +00:00
Richard Barry ebf69dab5d More work in progress (PPC). 2008-02-25 18:53:23 +00:00
Richard Barry 9a9cd41098 Basic cooperative reg test tasks working. 2008-02-25 11:18:23 +00:00
Richard Barry 3c2306ed72 Work in progress, for backup purposes only. 2008-02-25 09:56:56 +00:00
Richard Barry fedf9c7ba0 Add initial PPC405 files - this is a work in progress not a completed port. 2008-02-24 11:42:27 +00:00
Richard Barry 8c0260568e Add PPC definition. 2008-02-24 11:41:26 +00:00
Richard Barry 3e94695fb4 Update to V4.7.2. 2008-02-21 19:45:27 +00:00
Richard Barry 95189f40d2 2008-02-17 18:19:21 +00:00
Richard Barry babd7f05f7 Remove obsolete code. 2008-02-17 18:08:59 +00:00
Richard Barry 125a9ef81d Correct cut and paste asm code. 2008-02-17 18:08:09 +00:00
Richard Barry 79dd981500 Remove casts that were generating warnings (even though the casts were added to remove warnings with some compilers). 2008-02-15 13:44:06 +00:00
Richard Barry 61efe2504c Revert critical section handling back to the original method. 2008-02-15 13:33:44 +00:00
Richard Barry 991624461f Revert to original critical section handling method. 2008-02-15 13:24:05 +00:00
Richard Barry f44fc2c665 Change to use the configKERNEL_INTERRUPT_PRIORITY setting. 2008-02-13 19:43:30 +00:00
Richard Barry 5a418b56fa Tidy up - spell check. 2008-02-13 10:39:07 +00:00
Richard Barry 961e402e12 Add Fujitsu FX definition to portable.h. 2008-02-12 21:51:50 +00:00
Richard Barry 97bee57daa Work in progress still. 2008-02-12 21:50:24 +00:00
Richard Barry 0faf33fbca Work in progress. 2008-02-12 17:47:34 +00:00
Richard Barry bdea62587e Work in progress. 2008-02-12 17:46:50 +00:00
Richard Barry 35afa63a47 Add Fujitsu 16bit port files. 2008-02-12 09:29:26 +00:00