From 41080613169150ae9e995effeae6821e5c49a146 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 20 Jun 2011 19:40:50 +0000 Subject: [PATCH] Complete the new comtest_strings.c file. Somewhat optimise the calling of vTaskSwitchContext() from interrupts in the new MicroBlaze port to ensure it does not get called multiple times when more than one peripheral is called from the same interrupt. --- .../SDKProjects/RTOSDemoSource/.cproject | 5 +- .../Demo_Source/comtest_strings.c | 210 ++++++++++-------- .../portable/GCC/MicroBlaze/port.c | 51 +---- .../portable/GCC/MicroBlaze/portasm.S | 20 ++ .../portable/GCC/MicroBlaze/portmacro.h | 3 +- .../SDKProjects/RTOSDemoSource/serial.c | 2 +- 6 files changed, 155 insertions(+), 136 deletions(-) diff --git a/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/.cproject b/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/.cproject index ef8563efb..5aace26d5 100644 --- a/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/.cproject +++ b/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/.cproject @@ -74,6 +74,7 @@