Remove unnecessary use of portLONG, portCHAR and portSHORT.

Change version number in headers.
diff --git a/Source/croutine.c b/Source/croutine.c
index 1022d06..fefd084 100644
--- a/Source/croutine.c
+++ b/Source/croutine.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOS.h"

diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h
index 92bfe31..cc76d34 100644
--- a/Source/include/FreeRTOS.h
+++ b/Source/include/FreeRTOS.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef INC_FREERTOS_H

diff --git a/Source/include/StackMacros.h b/Source/include/StackMacros.h
index 01f0f22..64ac266 100644
--- a/Source/include/StackMacros.h
+++ b/Source/include/StackMacros.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef STACK_MACROS_H

diff --git a/Source/include/croutine.h b/Source/include/croutine.h
index 57cf05f..460785a 100644
--- a/Source/include/croutine.h
+++ b/Source/include/croutine.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef INC_FREERTOS_H

diff --git a/Source/include/list.h b/Source/include/list.h
index c6e547d..588323b 100644
--- a/Source/include/list.h
+++ b/Source/include/list.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/include/mpu_wrappers.h b/Source/include/mpu_wrappers.h
index f3b3e3a..e662133 100644
--- a/Source/include/mpu_wrappers.h
+++ b/Source/include/mpu_wrappers.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef MPU_WRAPPERS_H

diff --git a/Source/include/portable.h b/Source/include/portable.h
index 6e2df1d..67275c8 100644
--- a/Source/include/portable.h
+++ b/Source/include/portable.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -372,7 +373,7 @@
  */

 #if( portUSING_MPU_WRAPPERS == 1 ) 

 	struct xMEMORY_REGION;

-	void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings, const struct xMEMORY_REGION * const xRegions, portSTACK_TYPE *pxBottomOfStack, unsigned portSHORT usStackDepth ) PRIVILEGED_FUNCTION;

+	void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings, const struct xMEMORY_REGION * const xRegions, portSTACK_TYPE *pxBottomOfStack, unsigned short usStackDepth ) PRIVILEGED_FUNCTION;

 #endif

 

 #ifdef __cplusplus

diff --git a/Source/include/projdefs.h b/Source/include/projdefs.h
index be61dd3..7af8bcb 100644
--- a/Source/include/projdefs.h
+++ b/Source/include/projdefs.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PROJDEFS_H

diff --git a/Source/include/queue.h b/Source/include/queue.h
index e42f8a5..4518ffd 100644
--- a/Source/include/queue.h
+++ b/Source/include/queue.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef INC_FREERTOS_H

diff --git a/Source/include/semphr.h b/Source/include/semphr.h
index fa1d310..9f22198 100644
--- a/Source/include/semphr.h
+++ b/Source/include/semphr.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef INC_FREERTOS_H

diff --git a/Source/include/task.h b/Source/include/task.h
index 2b52585..7f4540e 100644
--- a/Source/include/task.h
+++ b/Source/include/task.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -66,7 +67,7 @@
  * MACROS AND DEFINITIONS

  *----------------------------------------------------------*/

 

-#define tskKERNEL_VERSION_NUMBER "V5.4.2"

+#define tskKERNEL_VERSION_NUMBER "V6.0.0"

 

 /**

  * task. h

diff --git a/Source/list.c b/Source/list.c
index 48a3e38..d77c51b 100644
--- a/Source/list.c
+++ b/Source/list.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/BCC/16BitDOS/Flsh186/port.c b/Source/portable/BCC/16BitDOS/Flsh186/port.c
index d4d1340..4f5fdfc 100644
--- a/Source/portable/BCC/16BitDOS/Flsh186/port.c
+++ b/Source/portable/BCC/16BitDOS/Flsh186/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -74,15 +75,15 @@
 /*lint -e950 Non ANSI reserved words okay in this file only. */

 

 #define portTIMER_EOI_TYPE		( 8 )

-#define portRESET_PIC()			portOUTPUT_WORD( ( unsigned portSHORT ) 0xff22, portTIMER_EOI_TYPE )

+#define portRESET_PIC()			portOUTPUT_WORD( ( unsigned short ) 0xff22, portTIMER_EOI_TYPE )

 #define portTIMER_INT_NUMBER	0x12

 

-#define portTIMER_1_CONTROL_REGISTER	( ( unsigned portSHORT ) 0xff5e )

-#define portTIMER_0_CONTROL_REGISTER	( ( unsigned portSHORT ) 0xff56 )

-#define portTIMER_INTERRUPT_ENABLE		( ( unsigned portSHORT ) 0x2000 )

+#define portTIMER_1_CONTROL_REGISTER	( ( unsigned short ) 0xff5e )

+#define portTIMER_0_CONTROL_REGISTER	( ( unsigned short ) 0xff56 )

+#define portTIMER_INTERRUPT_ENABLE		( ( unsigned short ) 0x2000 )

 

 /* Setup the hardware to generate the required tick frequency. */

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz );

+static void prvSetTickFrequency( unsigned long ulTickRateHz );

 

 /* Set the hardware back to the state as per before the scheduler started. */

 static void prvExitFunction( void );

@@ -205,8 +206,8 @@
 

 static void prvExitFunction( void )

 {

-const unsigned portSHORT usTimerDisable = 0x0000;

-unsigned portSHORT usTimer0Control;

+const unsigned short usTimerDisable = 0x0000;

+unsigned short usTimer0Control;

 

 	/* Interrupts should be disabled here anyway - but no

 	harm in making sure. */

@@ -238,23 +239,23 @@
 }

 /*-----------------------------------------------------------*/

 

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz )

+static void prvSetTickFrequency( unsigned long ulTickRateHz )

 {

-const unsigned portSHORT usMaxCountRegister = 0xff5a;

-const unsigned portSHORT usTimerPriorityRegister = 0xff32;

-const unsigned portSHORT usTimerEnable = 0xC000;

-const unsigned portSHORT usRetrigger = 0x0001;

-const unsigned portSHORT usTimerHighPriority = 0x0000;

-unsigned portSHORT usTimer0Control;

+const unsigned short usMaxCountRegister = 0xff5a;

+const unsigned short usTimerPriorityRegister = 0xff32;

+const unsigned short usTimerEnable = 0xC000;

+const unsigned short usRetrigger = 0x0001;

+const unsigned short usTimerHighPriority = 0x0000;

+unsigned short usTimer0Control;

 

 /* ( CPU frequency / 4 ) / clock 2 max count [inpw( 0xff62 ) = 7] */

 

-const unsigned portLONG ulClockFrequency = ( unsigned portLONG ) 0x7f31a0UL;

+const unsigned long ulClockFrequency = ( unsigned long ) 0x7f31a0UL;

 

-unsigned portLONG ulTimerCount = ulClockFrequency / ulTickRateHz;

+unsigned long ulTimerCount = ulClockFrequency / ulTickRateHz;

 

 	portOUTPUT_WORD( portTIMER_1_CONTROL_REGISTER, usTimerEnable | portTIMER_INTERRUPT_ENABLE | usRetrigger );

-	portOUTPUT_WORD( usMaxCountRegister, ( unsigned portSHORT ) ulTimerCount );

+	portOUTPUT_WORD( usMaxCountRegister, ( unsigned short ) ulTimerCount );

 	portOUTPUT_WORD( usTimerPriorityRegister, usTimerHighPriority );

 

 	/* Stop the DOS tick - don't do this if you want to maintain a TOD clock. */

diff --git a/Source/portable/BCC/16BitDOS/Flsh186/prtmacro.h b/Source/portable/BCC/16BitDOS/Flsh186/prtmacro.h
index 65c76a2..4dca546 100644
--- a/Source/portable/BCC/16BitDOS/Flsh186/prtmacro.h
+++ b/Source/portable/BCC/16BitDOS/Flsh186/prtmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/BCC/16BitDOS/PC/port.c b/Source/portable/BCC/16BitDOS/PC/port.c
index 20028fd..98d96cf 100644
--- a/Source/portable/BCC/16BitDOS/PC/port.c
+++ b/Source/portable/BCC/16BitDOS/PC/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -75,7 +76,7 @@
 #define portTIMER_INT_NUMBER	0x08

 

 /* Setup hardware for required tick interrupt rate. */

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz );

+static void prvSetTickFrequency( unsigned long ulTickRateHz );

 

 /* Restore hardware to as it was prior to starting the scheduler. */

 static void prvExitFunction( void );

@@ -107,7 +108,7 @@
 /*lint -e956 File scopes necessary here. */

 

 /* Used to signal when to chain to the DOS tick, and when to just clear the PIC ourselves. */

-static portSHORT sDOSTickCounter;

+static short sDOSTickCounter;

 

 /* Set true when the vectors are set so the scheduler will service the tick. */

 static portBASE_TYPE xSchedulerRunning = pdFALSE;				

@@ -224,7 +225,7 @@
 	--sDOSTickCounter;

 	if( sDOSTickCounter <= 0 )

 	{

-		sDOSTickCounter = ( portSHORT ) portTICKS_PER_DOS_TICK;

+		sDOSTickCounter = ( short ) portTICKS_PER_DOS_TICK;

 		__asm{ int	portSWITCH_INT_NUMBER + 1 };		 

 	}

 	else

@@ -279,28 +280,28 @@
 }

 /*-----------------------------------------------------------*/

 

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz )

+static void prvSetTickFrequency( unsigned long ulTickRateHz )

 {

-const unsigned portSHORT usPIT_MODE = ( unsigned portSHORT ) 0x43;

-const unsigned portSHORT usPIT0 = ( unsigned portSHORT ) 0x40;

-const unsigned portLONG ulPIT_CONST = ( unsigned portLONG ) 1193180UL;

-const unsigned portSHORT us8254_CTR0_MODE3 = ( unsigned portSHORT ) 0x36;

-unsigned portLONG ulOutput;

+const unsigned short usPIT_MODE = ( unsigned short ) 0x43;

+const unsigned short usPIT0 = ( unsigned short ) 0x40;

+const unsigned long ulPIT_CONST = ( unsigned long ) 1193180UL;

+const unsigned short us8254_CTR0_MODE3 = ( unsigned short ) 0x36;

+unsigned long ulOutput;

 

 	/* Setup the 8245 to tick at the wanted frequency. */

 	portOUTPUT_BYTE( usPIT_MODE, us8254_CTR0_MODE3 );

 	ulOutput = ulPIT_CONST / ulTickRateHz;

-	portOUTPUT_BYTE( usPIT0, ( unsigned portSHORT )( ulOutput & ( unsigned portLONG ) 0xff ) );

+	portOUTPUT_BYTE( usPIT0, ( unsigned short )( ulOutput & ( unsigned long ) 0xff ) );

 	ulOutput >>= 8;

-	portOUTPUT_BYTE( usPIT0, ( unsigned portSHORT ) ( ulOutput & ( unsigned portLONG ) 0xff ) );

+	portOUTPUT_BYTE( usPIT0, ( unsigned short ) ( ulOutput & ( unsigned long ) 0xff ) );

 }

 /*-----------------------------------------------------------*/

 

 static void prvSetTickFrequencyDefault( void )

 {

-const unsigned portSHORT usPIT_MODE = ( unsigned portSHORT ) 0x43;

-const unsigned portSHORT usPIT0 = ( unsigned portSHORT ) 0x40;

-const unsigned portSHORT us8254_CTR0_MODE3 = ( unsigned portSHORT ) 0x36;

+const unsigned short usPIT_MODE = ( unsigned short ) 0x43;

+const unsigned short usPIT0 = ( unsigned short ) 0x40;

+const unsigned short us8254_CTR0_MODE3 = ( unsigned short ) 0x36;

 

 	portOUTPUT_BYTE( usPIT_MODE, us8254_CTR0_MODE3 );

 	portOUTPUT_BYTE( usPIT0,0 );

diff --git a/Source/portable/BCC/16BitDOS/PC/prtmacro.h b/Source/portable/BCC/16BitDOS/PC/prtmacro.h
index 907f459..7b74af5 100644
--- a/Source/portable/BCC/16BitDOS/PC/prtmacro.h
+++ b/Source/portable/BCC/16BitDOS/PC/prtmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/BCC/16BitDOS/common/portasm.h b/Source/portable/BCC/16BitDOS/common/portasm.h
index 3f87203..c547dec 100644
--- a/Source/portable/BCC/16BitDOS/common/portasm.h
+++ b/Source/portable/BCC/16BitDOS/common/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORT_ASM_H

diff --git a/Source/portable/BCC/16BitDOS/common/portcomn.c b/Source/portable/BCC/16BitDOS/common/portcomn.c
index 83a63f7..0f2795f 100644
--- a/Source/portable/BCC/16BitDOS/common/portcomn.c
+++ b/Source/portable/BCC/16BitDOS/common/portcomn.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/CodeWarrior/ColdFire_V1/port.c b/Source/portable/CodeWarrior/ColdFire_V1/port.c
index 459d9f3..4014fc2 100644
--- a/Source/portable/CodeWarrior/ColdFire_V1/port.c
+++ b/Source/portable/CodeWarrior/ColdFire_V1/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Kernel includes. */

@@ -56,24 +57,24 @@
 #define portINITIAL_STATUS_REGISTER		( ( portSTACK_TYPE ) 0x2000)

 

 /* The clock prescale into the timer peripheral. */

-#define portPRESCALE_VALUE				( ( unsigned portCHAR ) 10 )

+#define portPRESCALE_VALUE				( ( unsigned char ) 10 )

 

 /* The clock frequency into the RTC. */

-#define portRTC_CLOCK_HZ				( ( unsigned portLONG ) 1000 )

+#define portRTC_CLOCK_HZ				( ( unsigned long ) 1000 )

 

 asm void interrupt VectorNumber_VL1swi vPortYieldISR( void );

 static void prvSetupTimerInterrupt( void );

 

 /* Used to keep track of the number of nested calls to taskENTER_CRITICAL().  This

 will be set to 0 prior to the first task being started. */

-static unsigned portLONG ulCriticalNesting = 0x9999UL;

+static unsigned long ulCriticalNesting = 0x9999UL;

 

 /*-----------------------------------------------------------*/

 

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE * pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

 

-unsigned portLONG ulOriginalA5;

+unsigned long ulOriginalA5;

 

 	__asm{ MOVE.L A5, ulOriginalA5 };

 

@@ -171,7 +172,7 @@
 

 void vPortYieldHandler( void )

 {

-unsigned portLONG ulSavedInterruptMask;

+unsigned long ulSavedInterruptMask;

 

 	ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();

 	{

@@ -185,7 +186,7 @@
 

 void interrupt VectorNumber_Vrtc vPortTickISR( void )

 {

-unsigned portLONG ulSavedInterruptMask;

+unsigned long ulSavedInterruptMask;

 

 	/* Clear the interrupt. */

 	RTCSC |= RTCSC_RTIF_MASK;

diff --git a/Source/portable/CodeWarrior/ColdFire_V1/portasm.S b/Source/portable/CodeWarrior/ColdFire_V1/portasm.S
index 2565473..7c3db53 100644
--- a/Source/portable/CodeWarrior/ColdFire_V1/portasm.S
+++ b/Source/portable/CodeWarrior/ColdFire_V1/portasm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/CodeWarrior/ColdFire_V1/portmacro.h b/Source/portable/CodeWarrior/ColdFire_V1/portmacro.h
index b3a0e08..a1471b8 100644
--- a/Source/portable/CodeWarrior/ColdFire_V1/portmacro.h
+++ b/Source/portable/CodeWarrior/ColdFire_V1/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/CodeWarrior/ColdFire_V2/port.c b/Source/portable/CodeWarrior/ColdFire_V2/port.c
index 45d66e8..68a6714 100644
--- a/Source/portable/CodeWarrior/ColdFire_V2/port.c
+++ b/Source/portable/CodeWarrior/ColdFire_V2/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Kernel includes. */

@@ -57,7 +58,7 @@
 

 /* Used to keep track of the number of nested calls to taskENTER_CRITICAL().  This

 will be set to 0 prior to the first task being started. */

-static unsigned portLONG ulCriticalNesting = 0x9999UL;

+static unsigned long ulCriticalNesting = 0x9999UL;

 

 

 #define portSAVE_CONTEXT()				\

@@ -155,7 +156,7 @@
 

 void vPortYieldHandler( void )

 {

-unsigned portLONG ulSavedInterruptMask;

+unsigned long ulSavedInterruptMask;

 

 	ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();

 		/* Note this will clear all forced interrupts - this is done for speed. */

diff --git a/Source/portable/CodeWarrior/ColdFire_V2/portasm.S b/Source/portable/CodeWarrior/ColdFire_V2/portasm.S
index 2784645..d2a30f5 100644
--- a/Source/portable/CodeWarrior/ColdFire_V2/portasm.S
+++ b/Source/portable/CodeWarrior/ColdFire_V2/portasm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/CodeWarrior/ColdFire_V2/portmacro.h b/Source/portable/CodeWarrior/ColdFire_V2/portmacro.h
index 13dbd6b..b16343b 100644
--- a/Source/portable/CodeWarrior/ColdFire_V2/portmacro.h
+++ b/Source/portable/CodeWarrior/ColdFire_V2/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/CodeWarrior/HCS12/port.c b/Source/portable/CodeWarrior/HCS12/port.c
index 92aba69..92de297 100644
--- a/Source/portable/CodeWarrior/HCS12/port.c
+++ b/Source/portable/CodeWarrior/HCS12/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Scheduler includes. */

diff --git a/Source/portable/CodeWarrior/HCS12/portmacro.h b/Source/portable/CodeWarrior/HCS12/portmacro.h
index 3d3c965..eb4b832 100644
--- a/Source/portable/CodeWarrior/HCS12/portmacro.h
+++ b/Source/portable/CodeWarrior/HCS12/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ARM7_AT91FR40008/port.c b/Source/portable/GCC/ARM7_AT91FR40008/port.c
index da38eeb..421b78d 100644
--- a/Source/portable/GCC/ARM7_AT91FR40008/port.c
+++ b/Source/portable/GCC/ARM7_AT91FR40008/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -191,7 +192,7 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-volatile unsigned portLONG ulDummy;

+volatile unsigned long ulDummy;

 

 	/* Enable clock to the tick timer... */

 	AT91C_BASE_PS->PS_PCER = portTIMER_CLK_ENABLE_BIT;

@@ -211,12 +212,12 @@
 	#if configUSE_PREEMPTION == 1

 	{

 		extern void ( vPreemptiveTick )( void );

-		AT91C_BASE_AIC->AIC_SVR[portTIMER_AIC_CHANNEL] = ( unsigned portLONG ) vPreemptiveTick;

+		AT91C_BASE_AIC->AIC_SVR[portTIMER_AIC_CHANNEL] = ( unsigned long ) vPreemptiveTick;

 	}

 	#else  // else use cooperative scheduler

 	{

 		extern void ( vNonPreemptiveTick )( void );

-		AT91C_BASE_AIC->AIC_SVR[portTIMER_AIC_CHANNEL] = ( unsigned portLONG ) vNonPreemptiveTick;

+		AT91C_BASE_AIC->AIC_SVR[portTIMER_AIC_CHANNEL] = ( unsigned long ) vNonPreemptiveTick;

 	}

 	#endif

 

diff --git a/Source/portable/GCC/ARM7_AT91FR40008/portISR.c b/Source/portable/GCC/ARM7_AT91FR40008/portISR.c
index f97e8cc..216a748 100644
--- a/Source/portable/GCC/ARM7_AT91FR40008/portISR.c
+++ b/Source/portable/GCC/ARM7_AT91FR40008/portISR.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -65,11 +66,11 @@
 #include "task.h"

 

 /* Constants required to handle interrupts. */

-#define portCLEAR_AIC_INTERRUPT		( ( unsigned portLONG ) 0 )

+#define portCLEAR_AIC_INTERRUPT		( ( unsigned long ) 0 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING		( ( unsigned portLONG ) 0 )

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+#define portNO_CRITICAL_NESTING		( ( unsigned long ) 0 )

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 /*-----------------------------------------------------------*/

 

@@ -129,7 +130,7 @@
 	void vNonPreemptiveTick( void ) __attribute__ ((interrupt ("IRQ")));

 	void vNonPreemptiveTick( void )

 	{		

-	static volatile unsigned portLONG ulDummy;

+	static volatile unsigned long ulDummy;

 

 		/* Clear tick timer interrupt indication. */

 		ulDummy = portTIMER_REG_BASE_PTR->TC_SR;  

@@ -152,7 +153,7 @@
 

 		/* WARNING - Do not use local (stack) variables here.  Use globals

 					 if you must! */

-		static volatile unsigned portLONG ulDummy;

+		static volatile unsigned long ulDummy;

 

 		/* Clear tick timer interrupt indication. */

 		ulDummy = portTIMER_REG_BASE_PTR->TC_SR;  

diff --git a/Source/portable/GCC/ARM7_AT91FR40008/portmacro.h b/Source/portable/GCC/ARM7_AT91FR40008/portmacro.h
index 1fb4c0a..3e30043 100644
--- a/Source/portable/GCC/ARM7_AT91FR40008/portmacro.h
+++ b/Source/portable/GCC/ARM7_AT91FR40008/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/GCC/ARM7_AT91SAM7S/port.c b/Source/portable/GCC/ARM7_AT91SAM7S/port.c
index 25e9b26..aafdec9 100644
--- a/Source/portable/GCC/ARM7_AT91SAM7S/port.c
+++ b/Source/portable/GCC/ARM7_AT91SAM7S/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -79,18 +80,18 @@
 #define portNO_CRITICAL_SECTION_NESTING	( ( portSTACK_TYPE ) 0 )

 

 /* Constants required to setup the tick ISR. */

-#define portENABLE_TIMER			( ( unsigned portCHAR ) 0x01 )

+#define portENABLE_TIMER			( ( unsigned char ) 0x01 )

 #define portPRESCALE_VALUE			0x00

-#define portINTERRUPT_ON_MATCH		( ( unsigned portLONG ) 0x01 )

-#define portRESET_COUNT_ON_MATCH	( ( unsigned portLONG ) 0x02 )

+#define portINTERRUPT_ON_MATCH		( ( unsigned long ) 0x01 )

+#define portRESET_COUNT_ON_MATCH	( ( unsigned long ) 0x02 )

 

 /* Constants required to setup the PIT. */

-#define portPIT_CLOCK_DIVISOR			( ( unsigned portLONG ) 16 )

+#define portPIT_CLOCK_DIVISOR			( ( unsigned long ) 16 )

 #define portPIT_COUNTER_VALUE			( ( ( configCPU_CLOCK_HZ / portPIT_CLOCK_DIVISOR ) / 1000UL ) * portTICK_RATE_MS )

 

 #define portINT_LEVEL_SENSITIVE  0

-#define portPIT_ENABLE      	( ( unsigned portSHORT ) 0x1 << 24 )

-#define portPIT_INT_ENABLE     	( ( unsigned portSHORT ) 0x1 << 25 )

+#define portPIT_ENABLE      	( ( unsigned short ) 0x1 << 24 )

+#define portPIT_INT_ENABLE     	( ( unsigned short ) 0x1 << 25 )

 /*-----------------------------------------------------------*/

 

 /* Setup the timer to generate the tick interrupts. */

diff --git a/Source/portable/GCC/ARM7_AT91SAM7S/portISR.c b/Source/portable/GCC/ARM7_AT91SAM7S/portISR.c
index cb8812f..369605e 100644
--- a/Source/portable/GCC/ARM7_AT91SAM7S/portISR.c
+++ b/Source/portable/GCC/ARM7_AT91SAM7S/portISR.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -66,12 +67,12 @@
 #include "AT91SAM7X256.h"

 

 /* Constants required to handle interrupts. */

-#define portTIMER_MATCH_ISR_BIT		( ( unsigned portCHAR ) 0x01 )

-#define portCLEAR_VIC_INTERRUPT		( ( unsigned portLONG ) 0 )

+#define portTIMER_MATCH_ISR_BIT		( ( unsigned char ) 0x01 )

+#define portCLEAR_VIC_INTERRUPT		( ( unsigned long ) 0 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING		( ( unsigned portLONG ) 0 )

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+#define portNO_CRITICAL_NESTING		( ( unsigned long ) 0 )

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 /*-----------------------------------------------------------*/

 

@@ -131,7 +132,7 @@
 	void vNonPreemptiveTick( void ) __attribute__ ((interrupt ("IRQ")));

 	void vNonPreemptiveTick( void )

 	{		

-		unsigned portLONG ulDummy;

+		unsigned long ulDummy;

 		

 		/* Increment the tick count - which may wake some tasks but as the

 		preemptive scheduler is not being used any woken task is not given

diff --git a/Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h b/Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h
index 5d1e9e1..62c2087 100644
--- a/Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h
+++ b/Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/GCC/ARM7_LPC2000/port.c b/Source/portable/GCC/ARM7_LPC2000/port.c
index 3b36bc0..5237838 100644
--- a/Source/portable/GCC/ARM7_LPC2000/port.c
+++ b/Source/portable/GCC/ARM7_LPC2000/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -69,15 +70,15 @@
 #define portNO_CRITICAL_SECTION_NESTING	( ( portSTACK_TYPE ) 0 )

 

 /* Constants required to setup the tick ISR. */

-#define portENABLE_TIMER			( ( unsigned portCHAR ) 0x01 )

+#define portENABLE_TIMER			( ( unsigned char ) 0x01 )

 #define portPRESCALE_VALUE			0x00

-#define portINTERRUPT_ON_MATCH		( ( unsigned portLONG ) 0x01 )

-#define portRESET_COUNT_ON_MATCH	( ( unsigned portLONG ) 0x02 )

+#define portINTERRUPT_ON_MATCH		( ( unsigned long ) 0x01 )

+#define portRESET_COUNT_ON_MATCH	( ( unsigned long ) 0x02 )

 

 /* Constants required to setup the VIC for the tick ISR. */

-#define portTIMER_VIC_CHANNEL		( ( unsigned portLONG ) 0x0004 )

-#define portTIMER_VIC_CHANNEL_BIT	( ( unsigned portLONG ) 0x0010 )

-#define portTIMER_VIC_ENABLE		( ( unsigned portLONG ) 0x0020 )

+#define portTIMER_VIC_CHANNEL		( ( unsigned long ) 0x0004 )

+#define portTIMER_VIC_CHANNEL_BIT	( ( unsigned long ) 0x0010 )

+#define portTIMER_VIC_ENABLE		( ( unsigned long ) 0x0020 )

 

 /*-----------------------------------------------------------*/

 

@@ -195,7 +196,7 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-unsigned portLONG ulCompareMatch;

+unsigned long ulCompareMatch;

 extern void ( vTickISR )( void );

 

 	/* A 1ms tick does not require the use of the timer prescale.  This is

@@ -224,7 +225,7 @@
 	/* The ISR installed depends on whether the preemptive or cooperative

 	scheduler is being used. */

 

-	VICVectAddr0 = ( portLONG ) vTickISR;

+	VICVectAddr0 = ( long ) vTickISR;

 	VICVectCntl0 = portTIMER_VIC_CHANNEL | portTIMER_VIC_ENABLE;

 

 	/* Start the timer - interrupts are disabled when this function is called

diff --git a/Source/portable/GCC/ARM7_LPC2000/portISR.c b/Source/portable/GCC/ARM7_LPC2000/portISR.c
index 81c0c29..e8d28af 100644
--- a/Source/portable/GCC/ARM7_LPC2000/portISR.c
+++ b/Source/portable/GCC/ARM7_LPC2000/portISR.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -75,12 +76,12 @@
 #include "FreeRTOS.h"

 

 /* Constants required to handle interrupts. */

-#define portTIMER_MATCH_ISR_BIT		( ( unsigned portCHAR ) 0x01 )

-#define portCLEAR_VIC_INTERRUPT		( ( unsigned portLONG ) 0 )

+#define portTIMER_MATCH_ISR_BIT		( ( unsigned char ) 0x01 )

+#define portCLEAR_VIC_INTERRUPT		( ( unsigned long ) 0 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING		( ( unsigned portLONG ) 0 )

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+#define portNO_CRITICAL_NESTING		( ( unsigned long ) 0 )

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 /*-----------------------------------------------------------*/

 

diff --git a/Source/portable/GCC/ARM7_LPC2000/portmacro.h b/Source/portable/GCC/ARM7_LPC2000/portmacro.h
index 80455c3..98c735e 100644
--- a/Source/portable/GCC/ARM7_LPC2000/portmacro.h
+++ b/Source/portable/GCC/ARM7_LPC2000/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/ARM7_LPC23xx/port.c b/Source/portable/GCC/ARM7_LPC23xx/port.c
index 111f4f9..0857a3a 100644
--- a/Source/portable/GCC/ARM7_LPC23xx/port.c
+++ b/Source/portable/GCC/ARM7_LPC23xx/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ARM7_LPC23xx/portISR.c b/Source/portable/GCC/ARM7_LPC23xx/portISR.c
index 66af1e7..126d873 100644
--- a/Source/portable/GCC/ARM7_LPC23xx/portISR.c
+++ b/Source/portable/GCC/ARM7_LPC23xx/portISR.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ARM7_LPC23xx/portmacro.h b/Source/portable/GCC/ARM7_LPC23xx/portmacro.h
index 4f0cd85..21a8e4a 100644
--- a/Source/portable/GCC/ARM7_LPC23xx/portmacro.h
+++ b/Source/portable/GCC/ARM7_LPC23xx/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/GCC/ARM_CM3/port.c b/Source/portable/GCC/ARM_CM3/port.c
index 3e11221..686b36b 100644
--- a/Source/portable/GCC/ARM_CM3/port.c
+++ b/Source/portable/GCC/ARM_CM3/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -61,23 +62,23 @@
 #endif

 

 /* Constants required to manipulate the NVIC. */

-#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned portLONG *) 0xe000e010 )

-#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned portLONG *) 0xe000e014 )

-#define portNVIC_INT_CTRL			( ( volatile unsigned portLONG *) 0xe000ed04 )

-#define portNVIC_SYSPRI2			( ( volatile unsigned portLONG *) 0xe000ed20 )

+#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned long *) 0xe000e010 )

+#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned long *) 0xe000e014 )

+#define portNVIC_INT_CTRL			( ( volatile unsigned long *) 0xe000ed04 )

+#define portNVIC_SYSPRI2			( ( volatile unsigned long *) 0xe000ed20 )

 #define portNVIC_SYSTICK_CLK		0x00000004

 #define portNVIC_SYSTICK_INT		0x00000002

 #define portNVIC_SYSTICK_ENABLE		0x00000001

 #define portNVIC_PENDSVSET			0x10000000

-#define portNVIC_PENDSV_PRI			( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

-#define portNVIC_SYSTICK_PRI		( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

+#define portNVIC_PENDSV_PRI			( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

+#define portNVIC_SYSTICK_PRI		( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

 

 /* Constants required to set up the initial stack. */

 #define portINITIAL_XPSR			( 0x01000000 )

 

 /* The priority used by the kernel is assigned to a variable to make access

 from inline assembler easier. */

-const unsigned portLONG ulKernelPriority = configKERNEL_INTERRUPT_PRIORITY;

+const unsigned long ulKernelPriority = configKERNEL_INTERRUPT_PRIORITY;

 

 /* Each task maintains its own interrupt status in the critical nesting

 variable. */

@@ -245,7 +246,7 @@
 

 void xPortSysTickHandler( void )

 {

-unsigned portLONG ulDummy;

+unsigned long ulDummy;

 

 	/* If using preemption, also force a context switch. */

 	#if configUSE_PREEMPTION == 1

diff --git a/Source/portable/GCC/ARM_CM3/portmacro.h b/Source/portable/GCC/ARM_CM3/portmacro.h
index 99dca45..4dddd4c 100644
--- a/Source/portable/GCC/ARM_CM3/portmacro.h
+++ b/Source/portable/GCC/ARM_CM3/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ARM_CM3_MPU/port.c b/Source/portable/GCC/ARM_CM3_MPU/port.c
index f335e9c..731dd15 100644
--- a/Source/portable/GCC/ARM_CM3_MPU/port.c
+++ b/Source/portable/GCC/ARM_CM3_MPU/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

diff --git a/Source/portable/GCC/ARM_CM3_MPU/portmacro.h b/Source/portable/GCC/ARM_CM3_MPU/portmacro.h
index 7b70a7a..02c1adb 100644
--- a/Source/portable/GCC/ARM_CM3_MPU/portmacro.h
+++ b/Source/portable/GCC/ARM_CM3_MPU/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ATMega323/port.c b/Source/portable/GCC/ATMega323/port.c
index 6fe06a7..cb2d7eca 100644
--- a/Source/portable/GCC/ATMega323/port.c
+++ b/Source/portable/GCC/ATMega323/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* 

@@ -68,10 +69,10 @@
 #define portFLAGS_INT_ENABLED					( ( portSTACK_TYPE ) 0x80 )

 

 /* Hardware constants for timer 1. */

-#define portCLEAR_COUNTER_ON_MATCH				( ( unsigned portCHAR ) 0x08 )

-#define portPRESCALE_64							( ( unsigned portCHAR ) 0x03 )

-#define portCLOCK_PRESCALER						( ( unsigned portLONG ) 64 )

-#define portCOMPARE_MATCH_A_INTERRUPT_ENABLE	( ( unsigned portCHAR ) 0x10 )

+#define portCLEAR_COUNTER_ON_MATCH				( ( unsigned char ) 0x08 )

+#define portPRESCALE_64							( ( unsigned char ) 0x03 )

+#define portCLOCK_PRESCALER						( ( unsigned long ) 64 )

+#define portCOMPARE_MATCH_A_INTERRUPT_ENABLE	( ( unsigned char ) 0x10 )

 

 /*-----------------------------------------------------------*/

 

@@ -204,7 +205,7 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portSHORT usAddress;

+unsigned short usAddress;

 

 	/* Place a few bytes of known values on the bottom of the stack. 

 	This is just useful for debugging. */

@@ -223,12 +224,12 @@
 

 	/* The start of the task code will be popped off the stack last, so place

 	it on first. */

-	usAddress = ( unsigned portSHORT ) pxCode;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	usAddress = ( unsigned short ) pxCode;

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	usAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	/* Next simulate the stack as if after a call to portSAVE_CONTEXT().  

@@ -290,12 +291,12 @@
 	pxTopOfStack--;

 

 	/* Place the parameter on the stack in the expected location. */

-	usAddress = ( unsigned portSHORT ) pvParameters;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	usAddress = ( unsigned short ) pvParameters;

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	usAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	*pxTopOfStack = ( portSTACK_TYPE ) 0x26;	/* R26 X */

@@ -379,8 +380,8 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-unsigned portLONG ulCompareMatch;

-unsigned portCHAR ucHighByte, ucLowByte;

+unsigned long ulCompareMatch;

+unsigned char ucHighByte, ucLowByte;

 

 	/* Using 16bit timer 1 to generate the tick.  Correct fuses must be

 	selected for the configCPU_CLOCK_HZ clock. */

@@ -391,13 +392,13 @@
 	ulCompareMatch /= portCLOCK_PRESCALER;

 

 	/* Adjust for correct value. */

-	ulCompareMatch -= ( unsigned portLONG ) 1;

+	ulCompareMatch -= ( unsigned long ) 1;

 

 	/* Setup compare match value for compare match A.  Interrupts are disabled 

 	before this is called so we need not worry here. */

-	ucLowByte = ( unsigned portCHAR ) ( ulCompareMatch & ( unsigned portLONG ) 0xff );

+	ucLowByte = ( unsigned char ) ( ulCompareMatch & ( unsigned long ) 0xff );

 	ulCompareMatch >>= 8;

-	ucHighByte = ( unsigned portCHAR ) ( ulCompareMatch & ( unsigned portLONG ) 0xff );

+	ucHighByte = ( unsigned char ) ( ulCompareMatch & ( unsigned long ) 0xff );

 	OCR1AH = ucHighByte;

 	OCR1AL = ucLowByte;

 

diff --git a/Source/portable/GCC/ATMega323/portmacro.h b/Source/portable/GCC/ATMega323/portmacro.h
index f7ebbac..b8c19ee 100644
--- a/Source/portable/GCC/ATMega323/portmacro.h
+++ b/Source/portable/GCC/ATMega323/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/GCC/AVR32_UC3/port.c b/Source/portable/GCC/AVR32_UC3/port.c
index 089045f..239a52e 100644
--- a/Source/portable/GCC/AVR32_UC3/port.c
+++ b/Source/portable/GCC/AVR32_UC3/port.c
@@ -13,50 +13,51 @@
  *****************************************************************************/

 

 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -82,8 +83,8 @@
 #define portINSTRUCTION_SIZE      ( ( portSTACK_TYPE ) 0 )

 

 /* Each task maintains its own critical nesting variable. */

-#define portNO_CRITICAL_NESTING   ( ( unsigned portLONG ) 0 )

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+#define portNO_CRITICAL_NESTING   ( ( unsigned long ) 0 )

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 #if( configTICK_USE_TC==0 )

 	static void prvScheduleNextTick( void );

diff --git a/Source/portable/GCC/AVR32_UC3/portmacro.h b/Source/portable/GCC/AVR32_UC3/portmacro.h
index c99076c..3ff9c42 100644
--- a/Source/portable/GCC/AVR32_UC3/portmacro.h
+++ b/Source/portable/GCC/AVR32_UC3/portmacro.h
@@ -13,50 +13,51 @@
  *****************************************************************************/

 

 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/ColdFire_V2/port.c b/Source/portable/GCC/ColdFire_V2/port.c
index 81e1ad1..c51a191 100644
--- a/Source/portable/GCC/ColdFire_V2/port.c
+++ b/Source/portable/GCC/ColdFire_V2/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Kernel includes. */

@@ -56,7 +57,7 @@
 

 /* Used to keep track of the number of nested calls to taskENTER_CRITICAL().  This

 will be set to 0 prior to the first task being started. */

-static unsigned portLONG ulCriticalNesting = 0x9999UL;

+static unsigned long ulCriticalNesting = 0x9999UL;

 

 /*-----------------------------------------------------------*/

 

@@ -138,7 +139,7 @@
 

 void vPortYieldHandler( void )

 {

-unsigned portLONG ulSavedInterruptMask;

+unsigned long ulSavedInterruptMask;

 

 	ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();

 		/* Note this will clear all forced interrupts - this is done for speed. */

diff --git a/Source/portable/GCC/ColdFire_V2/portasm.S b/Source/portable/GCC/ColdFire_V2/portasm.S
index 14b7443..97583b0 100644
--- a/Source/portable/GCC/ColdFire_V2/portasm.S
+++ b/Source/portable/GCC/ColdFire_V2/portasm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/GCC/ColdFire_V2/portmacro.h b/Source/portable/GCC/ColdFire_V2/portmacro.h
index 4e4859d..a63dba6 100644
--- a/Source/portable/GCC/ColdFire_V2/portmacro.h
+++ b/Source/portable/GCC/ColdFire_V2/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/H8S2329/port.c b/Source/portable/GCC/H8S2329/port.c
index be7aca1..aaf77ac 100644
--- a/Source/portable/GCC/H8S2329/port.c
+++ b/Source/portable/GCC/H8S2329/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Scheduler includes. */

@@ -61,12 +62,12 @@
 #define portINITIAL_CCR			( ( portSTACK_TYPE ) 0x00 )

 

 /* Hardware specific constants used to generate the RTOS tick from the TPU. */

-#define portCLEAR_ON_TGRA_COMPARE_MATCH ( ( unsigned portCHAR ) 0x20 )

-#define portCLOCK_DIV_64				( ( unsigned portCHAR ) 0x03 )

-#define portCLOCK_DIV					( ( unsigned portLONG ) 64 )

-#define portTGRA_INTERRUPT_ENABLE		( ( unsigned portCHAR ) 0x01 )

-#define portTIMER_CHANNEL				( ( unsigned portCHAR ) 0x02 )

-#define portMSTP13						( ( unsigned portSHORT ) 0x2000 )

+#define portCLEAR_ON_TGRA_COMPARE_MATCH ( ( unsigned char ) 0x20 )

+#define portCLOCK_DIV_64				( ( unsigned char ) 0x03 )

+#define portCLOCK_DIV					( ( unsigned long ) 64 )

+#define portTGRA_INTERRUPT_ENABLE		( ( unsigned char ) 0x01 )

+#define portTIMER_CHANNEL				( ( unsigned char ) 0x02 )

+#define portMSTP13						( ( unsigned short ) 0x2000 )

 

 /*

  * Setup TPU channel one for the RTOS tick at the requested frequency.

@@ -85,10 +86,10 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portLONG ulValue;

+unsigned long ulValue;

 

 	/* This requires an even address. */

-	ulValue = ( unsigned portLONG ) pxTopOfStack;

+	ulValue = ( unsigned long ) pxTopOfStack;

 	if( ulValue & 1UL )

 	{

 		pxTopOfStack = pxTopOfStack - 1;

@@ -107,7 +108,7 @@
 

 	/* The initial stack mimics an interrupt stack.  First there is the program

 	counter (24 bits). */

-	ulValue = ( unsigned portLONG ) pxCode;

+	ulValue = ( unsigned long ) pxCode;

 

 	pxTopOfStack--;

 	*pxTopOfStack = ( portSTACK_TYPE ) ( ulValue & 0xff );

@@ -137,7 +138,7 @@
 	*pxTopOfStack = 0x66;

 	

 	/* ER0 */

-	ulValue = ( unsigned portLONG ) pvParameters;

+	ulValue = ( unsigned long ) pvParameters;

 

 	pxTopOfStack--;

 	*pxTopOfStack = ( portSTACK_TYPE ) ( ulValue & 0xff );

@@ -299,7 +300,7 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulCompareMatch = ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) / portCLOCK_DIV;

+const unsigned long ulCompareMatch = ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) / portCLOCK_DIV;

 

 	/* Turn the module on. */

 	MSTPCR &= ~portMSTP13;

diff --git a/Source/portable/GCC/H8S2329/portmacro.h b/Source/portable/GCC/H8S2329/portmacro.h
index 575f3fe..f25b0b9 100644
--- a/Source/portable/GCC/H8S2329/portmacro.h
+++ b/Source/portable/GCC/H8S2329/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/HCS12/port.c b/Source/portable/GCC/HCS12/port.c
index 5766b8d..857279c 100644
--- a/Source/portable/GCC/HCS12/port.c
+++ b/Source/portable/GCC/HCS12/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* GCC/HCS12 port by Jefferson L Smith, 2005 */

diff --git a/Source/portable/GCC/HCS12/portmacro.h b/Source/portable/GCC/HCS12/portmacro.h
index ad9f945..27e4cb3 100644
--- a/Source/portable/GCC/HCS12/portmacro.h
+++ b/Source/portable/GCC/HCS12/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/GCC/MCF5235/port.c b/Source/portable/GCC/MCF5235/port.c
index dbcd7f0..837ad44 100644
--- a/Source/portable/GCC/MCF5235/port.c
+++ b/Source/portable/GCC/MCF5235/port.c
@@ -86,11 +86,11 @@
 #define MCF_INTC0_ICRn_IP(x)            ( ( ( x ) & 0x07 ) << 0 )

 #define MCF_INTC0_ICRn_IL(x)            ( ( ( x ) & 0x07 ) << 3 )

 

-#define portNO_CRITICAL_NESTING         ( ( unsigned portLONG ) 0 )

-#define portINITIAL_CRITICAL_NESTING    ( ( unsigned portLONG ) 10 )

+#define portNO_CRITICAL_NESTING         ( ( unsigned long ) 0 )

+#define portINITIAL_CRITICAL_NESTING    ( ( unsigned long ) 10 )

 

 /* ------------------------ Static variables ------------------------------ */

-volatile unsigned portLONG              ulCriticalNesting = portINITIAL_CRITICAL_NESTING;

+volatile unsigned long              ulCriticalNesting = portINITIAL_CRITICAL_NESTING;

 

 /* ------------------------ Static functions ------------------------------ */

 #if configUSE_PREEMPTION == 0

diff --git a/Source/portable/GCC/MSP430F449/port.c b/Source/portable/GCC/MSP430F449/port.c
index 23e6bbe..5da331a 100644
--- a/Source/portable/GCC/MSP430F449/port.c
+++ b/Source/portable/GCC/MSP430F449/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -66,7 +67,7 @@
 /* Constants required for hardware setup.  The tick ISR runs off the ACLK, 

 not the MCLK. */

 #define portACLK_FREQUENCY_HZ			( ( portTickType ) 32768 )

-#define portINITIAL_CRITICAL_NESTING	( ( unsigned portSHORT ) 10 )

+#define portINITIAL_CRITICAL_NESTING	( ( unsigned short ) 10 )

 #define portFLAGS_INT_ENABLED	( ( portSTACK_TYPE ) 0x08 )

 

 /* We require the address of the pxCurrentTCB variable, but don't want to know

@@ -86,7 +87,7 @@
 usCriticalNesting will get set to zero when the scheduler starts, but must

 not be initialised to zero as this will cause problems during the startup

 sequence. */

-volatile unsigned portSHORT usCriticalNesting = portINITIAL_CRITICAL_NESTING;

+volatile unsigned short usCriticalNesting = portINITIAL_CRITICAL_NESTING;

 /*-----------------------------------------------------------*/

 

 /* 

diff --git a/Source/portable/GCC/MSP430F449/portmacro.h b/Source/portable/GCC/MSP430F449/portmacro.h
index 4cd15f1..79d738d 100644
--- a/Source/portable/GCC/MSP430F449/portmacro.h
+++ b/Source/portable/GCC/MSP430F449/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/MicroBlaze/port.c b/Source/portable/GCC/MicroBlaze/port.c
index 22445a5..7f07d87 100644
--- a/Source/portable/GCC/MicroBlaze/port.c
+++ b/Source/portable/GCC/MicroBlaze/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -84,7 +85,7 @@
 

 /* To limit the amount of stack required by each task, this port uses a

 separate stack for interrupts. */

-unsigned portLONG *pulISRStack;

+unsigned long *pulISRStack;

 

 /*-----------------------------------------------------------*/

 

@@ -104,8 +105,8 @@
 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

 extern void *_SDA2_BASE_, *_SDA_BASE_;

-const unsigned portLONG ulR2 = ( unsigned portLONG ) &_SDA2_BASE_;

-const unsigned portLONG ulR13 = ( unsigned portLONG ) &_SDA_BASE_;

+const unsigned long ulR2 = ( unsigned long ) &_SDA2_BASE_;

+const unsigned long ulR13 = ( unsigned long ) &_SDA_BASE_;

 

 	/* Place a few bytes of known values on the bottom of the stack. 

 	This is essential for the Microblaze port and these lines must

@@ -214,7 +215,7 @@
 	prvSetupTimerInterrupt();

 

 	/* Allocate the stack to be used by the interrupt handler. */

-	pulISRStack = ( unsigned portLONG * ) pvPortMalloc( configMINIMAL_STACK_SIZE * sizeof( portSTACK_TYPE ) );

+	pulISRStack = ( unsigned long * ) pvPortMalloc( configMINIMAL_STACK_SIZE * sizeof( portSTACK_TYPE ) );

 

 	/* Restore the context of the first task that is going to run. */

 	if( pulISRStack != NULL )

@@ -263,7 +264,7 @@
 static void prvSetupTimerInterrupt( void )

 {

 XTmrCtr xTimer;

-const unsigned portLONG ulCounterValue = configCPU_CLOCK_HZ / configTICK_RATE_HZ;

+const unsigned long ulCounterValue = configCPU_CLOCK_HZ / configTICK_RATE_HZ;

 unsigned portBASE_TYPE uxMask;

 

 	/* The OPB timer1 is used to generate the tick.  Use the provided library

@@ -293,7 +294,7 @@
  */

 void vTaskISRHandler( void )

 {

-static unsigned portLONG ulPending;    

+static unsigned long ulPending;    

 

 	/* Which interrupts are pending? */

 	ulPending = XIntc_In32( ( XPAR_INTC_SINGLE_BASEADDR + XIN_IVR_OFFSET ) );

@@ -302,12 +303,12 @@
 	{

 		static XIntc_VectorTableEntry *pxTablePtr;

 		static XIntc_Config *pxConfig;

-		static unsigned portLONG ulInterruptMask;

+		static unsigned long ulInterruptMask;

 

-		ulInterruptMask = ( unsigned portLONG ) 1 << ulPending;

+		ulInterruptMask = ( unsigned long ) 1 << ulPending;

 

 		/* Get the configuration data using the device ID */

-		pxConfig = &XIntc_ConfigTable[ ( unsigned portLONG ) XPAR_INTC_SINGLE_DEVICE_ID ];

+		pxConfig = &XIntc_ConfigTable[ ( unsigned long ) XPAR_INTC_SINGLE_DEVICE_ID ];

 

 		pxTablePtr = &( pxConfig->HandlerTable[ ulPending ] );

 		if( pxConfig->AckBeforeService & ( ulInterruptMask  ) )

@@ -329,7 +330,7 @@
  */

 void vTickISR( void *pvBaseAddress )

 {

-unsigned portLONG ulCSR;

+unsigned long ulCSR;

 

 	/* Increment the RTOS tick - this might cause a task to unblock. */

 	vTaskIncrementTick();

diff --git a/Source/portable/GCC/MicroBlaze/portmacro.h b/Source/portable/GCC/MicroBlaze/portmacro.h
index 57e8740..ffb879f 100644
--- a/Source/portable/GCC/MicroBlaze/portmacro.h
+++ b/Source/portable/GCC/MicroBlaze/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/NiosII/port.c b/Source/portable/GCC/NiosII/port.c
index 6309e77..ff1f1a9 100644
--- a/Source/portable/GCC/NiosII/port.c
+++ b/Source/portable/GCC/NiosII/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -79,7 +80,7 @@
 

 /*-----------------------------------------------------------*/

 

-void prvReadGp( unsigned portLONG *ulValue )

+void prvReadGp( unsigned long *ulValue )

 { 

 	asm( "stw gp, (r4) " );

 };

diff --git a/Source/portable/GCC/NiosII/port_asm.S b/Source/portable/GCC/NiosII/port_asm.S
index 3eeadc3..40fc907 100644
--- a/Source/portable/GCC/NiosII/port_asm.S
+++ b/Source/portable/GCC/NiosII/port_asm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 .extern		vTaskSwitchContext

diff --git a/Source/portable/GCC/NiosII/portmacro.h b/Source/portable/GCC/NiosII/portmacro.h
index e5009fd..d3b2b71 100644
--- a/Source/portable/GCC/NiosII/portmacro.h
+++ b/Source/portable/GCC/NiosII/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/PPC405_Xilinx/FPU_Macros.h b/Source/portable/GCC/PPC405_Xilinx/FPU_Macros.h
index fd20ef1..aab2f4d 100644
--- a/Source/portable/GCC/PPC405_Xilinx/FPU_Macros.h
+++ b/Source/portable/GCC/PPC405_Xilinx/FPU_Macros.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* When switching out a task, if the task tag contains a buffer address then

diff --git a/Source/portable/GCC/PPC405_Xilinx/port.c b/Source/portable/GCC/PPC405_Xilinx/port.c
index 5a39b13..d84c721 100644
--- a/Source/portable/GCC/PPC405_Xilinx/port.c
+++ b/Source/portable/GCC/PPC405_Xilinx/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -186,7 +187,7 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulInterval = ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL );

+const unsigned long ulInterval = ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL );

 

 	XTime_PITClearInterrupt();

 	XTime_FITClearInterrupt();

@@ -204,7 +205,7 @@
 

 void vPortISRHandler( void *pvNullDoNotUse )

 {

-unsigned portLONG ulInterruptStatus, ulInterruptMask = 1UL;

+unsigned long ulInterruptStatus, ulInterruptMask = 1UL;

 portBASE_TYPE xInterruptNumber;

 XIntc_Config *pxInterruptController;

 XIntc_VectorTableEntry *pxTable;

@@ -263,7 +264,7 @@
 }

 /*-----------------------------------------------------------*/

 

-portBASE_TYPE xPortInstallInterruptHandler( unsigned portCHAR ucInterruptID, XInterruptHandler pxHandler, void *pvCallBackRef )

+portBASE_TYPE xPortInstallInterruptHandler( unsigned char ucInterruptID, XInterruptHandler pxHandler, void *pvCallBackRef )

 {

 portBASE_TYPE xReturn = pdFAIL;

 

diff --git a/Source/portable/GCC/PPC405_Xilinx/portasm.S b/Source/portable/GCC/PPC405_Xilinx/portasm.S
index 492f3e5..db3f7ed 100644
--- a/Source/portable/GCC/PPC405_Xilinx/portasm.S
+++ b/Source/portable/GCC/PPC405_Xilinx/portasm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/GCC/PPC405_Xilinx/portmacro.h b/Source/portable/GCC/PPC405_Xilinx/portmacro.h
index 72d4118..b43ad1b 100644
--- a/Source/portable/GCC/PPC405_Xilinx/portmacro.h
+++ b/Source/portable/GCC/PPC405_Xilinx/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/PPC440_Xilinx/FPU_Macros.h b/Source/portable/GCC/PPC440_Xilinx/FPU_Macros.h
index fd20ef1..aab2f4d 100644
--- a/Source/portable/GCC/PPC440_Xilinx/FPU_Macros.h
+++ b/Source/portable/GCC/PPC440_Xilinx/FPU_Macros.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* When switching out a task, if the task tag contains a buffer address then

diff --git a/Source/portable/GCC/PPC440_Xilinx/port.c b/Source/portable/GCC/PPC440_Xilinx/port.c
index b181c15..908ba5f 100644
--- a/Source/portable/GCC/PPC440_Xilinx/port.c
+++ b/Source/portable/GCC/PPC440_Xilinx/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -186,7 +187,7 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulInterval = ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL );

+const unsigned long ulInterval = ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL );

 

 	XTime_DECClearInterrupt();

 	XTime_FITClearInterrupt();

@@ -204,7 +205,7 @@
 

 void vPortISRHandler( void *pvNullDoNotUse )

 {

-unsigned portLONG ulInterruptStatus, ulInterruptMask = 1UL;

+unsigned long ulInterruptStatus, ulInterruptMask = 1UL;

 portBASE_TYPE xInterruptNumber;

 XIntc_Config *pxInterruptController;

 XIntc_VectorTableEntry *pxTable;

@@ -263,7 +264,7 @@
 }

 /*-----------------------------------------------------------*/

 

-portBASE_TYPE xPortInstallInterruptHandler( unsigned portCHAR ucInterruptID, XInterruptHandler pxHandler, void *pvCallBackRef )

+portBASE_TYPE xPortInstallInterruptHandler( unsigned char ucInterruptID, XInterruptHandler pxHandler, void *pvCallBackRef )

 {

 portBASE_TYPE xReturn = pdFAIL;

 

diff --git a/Source/portable/GCC/PPC440_Xilinx/portasm.S b/Source/portable/GCC/PPC440_Xilinx/portasm.S
index 492f3e5..db3f7ed 100644
--- a/Source/portable/GCC/PPC440_Xilinx/portasm.S
+++ b/Source/portable/GCC/PPC440_Xilinx/portasm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/GCC/PPC440_Xilinx/portmacro.h b/Source/portable/GCC/PPC440_Xilinx/portmacro.h
index 72d4118..b43ad1b 100644
--- a/Source/portable/GCC/PPC440_Xilinx/portmacro.h
+++ b/Source/portable/GCC/PPC440_Xilinx/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/GCC/STR75x/port.c b/Source/portable/GCC/STR75x/port.c
index 8c09ff1..aa3e446 100644
--- a/Source/portable/GCC/STR75x/port.c
+++ b/Source/portable/GCC/STR75x/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -64,7 +65,7 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 /* Prescale used on the timer clock when calculating the tick period. */

 #define portPRESCALE 20

diff --git a/Source/portable/GCC/STR75x/portISR.c b/Source/portable/GCC/STR75x/portISR.c
index 4bc60a4..465983f 100644
--- a/Source/portable/GCC/STR75x/portISR.c
+++ b/Source/portable/GCC/STR75x/portISR.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -60,9 +61,9 @@
 #include "task.h"

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING		( ( unsigned long ) 0 )

 

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 /*-----------------------------------------------------------*/

 

diff --git a/Source/portable/GCC/STR75x/portmacro.h b/Source/portable/GCC/STR75x/portmacro.h
index 6af3422..1eb9e52 100644
--- a/Source/portable/GCC/STR75x/portmacro.h
+++ b/Source/portable/GCC/STR75x/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/78K0R/ISR_Support.h b/Source/portable/IAR/78K0R/ISR_Support.h
index ab42af3..7dd94cc 100644
--- a/Source/portable/IAR/78K0R/ISR_Support.h
+++ b/Source/portable/IAR/78K0R/ISR_Support.h
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/IAR/78K0R/port.c b/Source/portable/IAR/78K0R/port.c
index f43522c..36b6db5 100644
--- a/Source/portable/IAR/78K0R/port.c
+++ b/Source/portable/IAR/78K0R/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Standard includes. */

@@ -54,7 +55,7 @@
 

 /* The critical nesting value is initialised to a non zero value to ensure

 interrupts don't accidentally become enabled before the scheduler is started. */

-#define portINITIAL_CRITICAL_NESTING  (( unsigned portSHORT ) 10)

+#define portINITIAL_CRITICAL_NESTING  (( unsigned short ) 10)

 

 /* Initial PSW value allocated to a newly created task.

  *   1100011000000000

@@ -86,7 +87,7 @@
 usCriticalNesting will get set to zero when the scheduler starts, but must

 not be initialised to zero as this will cause problems during the startup

 sequence. */

-volatile unsigned portSHORT usCriticalNesting = portINITIAL_CRITICAL_NESTING;

+volatile unsigned short usCriticalNesting = portINITIAL_CRITICAL_NESTING;

 /*-----------------------------------------------------------*/

 

 /*

diff --git a/Source/portable/IAR/78K0R/portasm.s26 b/Source/portable/IAR/78K0R/portasm.s26
index ea2d629..b173356 100644
--- a/Source/portable/IAR/78K0R/portasm.s26
+++ b/Source/portable/IAR/78K0R/portasm.s26
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 #include "ISR_Support.h"

 ;------------------------------------------------------------------------------

diff --git a/Source/portable/IAR/78K0R/portmacro.h b/Source/portable/IAR/78K0R/portmacro.h
index 4369fc9..a41b039 100644
--- a/Source/portable/IAR/78K0R/portmacro.h
+++ b/Source/portable/IAR/78K0R/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/IAR/ARM_CM3/port.c b/Source/portable/IAR/ARM_CM3/port.c
index 80e0f36..9d5cf1c 100644
--- a/Source/portable/IAR/ARM_CM3/port.c
+++ b/Source/portable/IAR/ARM_CM3/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -61,16 +62,16 @@
 #include "task.h"

 

 /* Constants required to manipulate the NVIC. */

-#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned portLONG *) 0xe000e010 )

-#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned portLONG *) 0xe000e014 )

-#define portNVIC_INT_CTRL			( ( volatile unsigned portLONG *) 0xe000ed04 )

-#define portNVIC_SYSPRI2			( ( volatile unsigned portLONG *) 0xe000ed20 )

+#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned long *) 0xe000e010 )

+#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned long *) 0xe000e014 )

+#define portNVIC_INT_CTRL			( ( volatile unsigned long *) 0xe000ed04 )

+#define portNVIC_SYSPRI2			( ( volatile unsigned long *) 0xe000ed20 )

 #define portNVIC_SYSTICK_CLK		0x00000004

 #define portNVIC_SYSTICK_INT		0x00000002

 #define portNVIC_SYSTICK_ENABLE		0x00000001

 #define portNVIC_PENDSVSET			0x10000000

-#define portNVIC_PENDSV_PRI			( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

-#define portNVIC_SYSTICK_PRI		( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

+#define portNVIC_PENDSV_PRI			( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

+#define portNVIC_SYSTICK_PRI		( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

 

 /* Constants required to set up the initial stack. */

 #define portINITIAL_XPSR			( 0x01000000 )

@@ -180,7 +181,7 @@
 

 void xPortSysTickHandler( void )

 {

-unsigned portLONG ulDummy;

+unsigned long ulDummy;

 

 	/* If using preemption, also force a context switch. */

 	#if configUSE_PREEMPTION == 1

diff --git a/Source/portable/IAR/ARM_CM3/portasm.s b/Source/portable/IAR/ARM_CM3/portasm.s
index 4005ba6..47a5a94 100644
--- a/Source/portable/IAR/ARM_CM3/portasm.s
+++ b/Source/portable/IAR/ARM_CM3/portasm.s
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/IAR/ARM_CM3/portmacro.h b/Source/portable/IAR/ARM_CM3/portmacro.h
index d8fb56a..8c200a2 100644
--- a/Source/portable/IAR/ARM_CM3/portmacro.h
+++ b/Source/portable/IAR/ARM_CM3/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/ATMega323/port.c b/Source/portable/IAR/ATMega323/port.c
index 2d2482b..ed36005 100644
--- a/Source/portable/IAR/ATMega323/port.c
+++ b/Source/portable/IAR/ATMega323/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include <stdlib.h>

@@ -58,10 +59,10 @@
 #define portFLAGS_INT_ENABLED					( ( portSTACK_TYPE ) 0x80 )

 

 /* Hardware constants for timer 1. */

-#define portCLEAR_COUNTER_ON_MATCH				( ( unsigned portCHAR ) 0x08 )

-#define portPRESCALE_64							( ( unsigned portCHAR ) 0x03 )

-#define portCLOCK_PRESCALER						( ( unsigned portLONG ) 64 )

-#define portCOMPARE_MATCH_A_INTERRUPT_ENABLE	( ( unsigned portCHAR ) 0x10 )

+#define portCLEAR_COUNTER_ON_MATCH				( ( unsigned char ) 0x08 )

+#define portPRESCALE_64							( ( unsigned char ) 0x03 )

+#define portCLOCK_PRESCALER						( ( unsigned long ) 64 )

+#define portCOMPARE_MATCH_A_INTERRUPT_ENABLE	( ( unsigned char ) 0x10 )

 

 /* The number of bytes used on the hardware stack by the task start address. */

 #define portBYTES_USED_BY_RETURN_ADDRESS		( 2 )

@@ -92,7 +93,7 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portSHORT usAddress;

+unsigned short usAddress;

 portSTACK_TYPE *pxTopOfHardwareStack;

 

 	/* Place a few bytes of known values on the bottom of the stack.

@@ -131,12 +132,12 @@
 

 	The first part of the stack is the hardware stack.  Place the start

 	address of the task on the hardware stack. */

-	usAddress = ( unsigned portSHORT ) pxCode;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	usAddress = ( unsigned short ) pxCode;

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	usAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 

@@ -159,15 +160,15 @@
 	/* Next place the address of the hardware stack.  This is required so

 	the AVR stack pointer can be restored to point to the hardware stack. */

 	pxTopOfHardwareStack -= portBYTES_USED_BY_RETURN_ADDRESS;

-	usAddress = ( unsigned portSHORT ) pxTopOfHardwareStack;

+	usAddress = ( unsigned short ) pxTopOfHardwareStack;

 

 	/* SPL */

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	/* SPH */

 	usAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 

@@ -206,12 +207,12 @@
 	pxTopOfStack--;

 

 	/* Place the parameter on the stack in the expected location. */

-	usAddress = ( unsigned portSHORT ) pvParameters;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	usAddress = ( unsigned short ) pvParameters;

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	usAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned portSHORT ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( usAddress & ( unsigned short ) 0x00ff );

 	pxTopOfStack--;

 

 	*pxTopOfStack = ( portSTACK_TYPE ) 0x18;	/* R18 */

@@ -279,8 +280,8 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-unsigned portLONG ulCompareMatch;

-unsigned portCHAR ucHighByte, ucLowByte;

+unsigned long ulCompareMatch;

+unsigned char ucHighByte, ucLowByte;

 

 	/* Using 16bit timer 1 to generate the tick.  Correct fuses must be

 	selected for the configCPU_CLOCK_HZ clock. */

@@ -291,13 +292,13 @@
 	ulCompareMatch /= portCLOCK_PRESCALER;

 

 	/* Adjust for correct value. */

-	ulCompareMatch -= ( unsigned portLONG ) 1;

+	ulCompareMatch -= ( unsigned long ) 1;

 

 	/* Setup compare match value for compare match A.  Interrupts are disabled

 	before this is called so we need not worry here. */

-	ucLowByte = ( unsigned portCHAR ) ( ulCompareMatch & ( unsigned portLONG ) 0xff );

+	ucLowByte = ( unsigned char ) ( ulCompareMatch & ( unsigned long ) 0xff );

 	ulCompareMatch >>= 8;

-	ucHighByte = ( unsigned portCHAR ) ( ulCompareMatch & ( unsigned portLONG ) 0xff );

+	ucHighByte = ( unsigned char ) ( ulCompareMatch & ( unsigned long ) 0xff );

 	OCR1AH = ucHighByte;

 	OCR1AL = ucLowByte;

 

diff --git a/Source/portable/IAR/ATMega323/portmacro.h b/Source/portable/IAR/ATMega323/portmacro.h
index b99e41b..134f1c3 100644
--- a/Source/portable/IAR/ATMega323/portmacro.h
+++ b/Source/portable/IAR/ATMega323/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/IAR/ATMega323/portmacro.s90 b/Source/portable/IAR/ATMega323/portmacro.s90
index ea330c4..a4855c8 100644
--- a/Source/portable/IAR/ATMega323/portmacro.s90
+++ b/Source/portable/IAR/ATMega323/portmacro.s90
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 #include <iom323.h>

diff --git a/Source/portable/IAR/AVR32_UC3/port.c b/Source/portable/IAR/AVR32_UC3/port.c
index 3b78656..9437501 100644
--- a/Source/portable/IAR/AVR32_UC3/port.c
+++ b/Source/portable/IAR/AVR32_UC3/port.c
@@ -13,50 +13,51 @@
  *****************************************************************************/

 

 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -83,8 +84,8 @@
 #define portINSTRUCTION_SIZE      ( ( portSTACK_TYPE ) 0 )

 

 /* Each task maintains its own critical nesting variable. */

-#define portNO_CRITICAL_NESTING   ( ( unsigned portLONG ) 0 )

-volatile unsigned portLONG ulCriticalNesting = 9999UL;

+#define portNO_CRITICAL_NESTING   ( ( unsigned long ) 0 )

+volatile unsigned long ulCriticalNesting = 9999UL;

 

 #if( configTICK_USE_TC==0 )

 	static void prvScheduleNextTick( void );

diff --git a/Source/portable/IAR/AVR32_UC3/portmacro.h b/Source/portable/IAR/AVR32_UC3/portmacro.h
index c489001..a4751e9 100644
--- a/Source/portable/IAR/AVR32_UC3/portmacro.h
+++ b/Source/portable/IAR/AVR32_UC3/portmacro.h
@@ -13,50 +13,51 @@
  *****************************************************************************/

 

 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/AtmelSAM7S64/port.c b/Source/portable/IAR/AtmelSAM7S64/port.c
index fe09898..89865bc 100644
--- a/Source/portable/IAR/AtmelSAM7S64/port.c
+++ b/Source/portable/IAR/AtmelSAM7S64/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -63,16 +64,16 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to setup the PIT. */

-#define portPIT_CLOCK_DIVISOR			( ( unsigned portLONG ) 16 )

+#define portPIT_CLOCK_DIVISOR			( ( unsigned long ) 16 )

 #define portPIT_COUNTER_VALUE			( ( ( configCPU_CLOCK_HZ / portPIT_CLOCK_DIVISOR ) / 1000UL ) * portTICK_RATE_MS )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 

 #define portINT_LEVEL_SENSITIVE  0

-#define portPIT_ENABLE      	( ( unsigned portSHORT ) 0x1 << 24 )

-#define portPIT_INT_ENABLE     	( ( unsigned portSHORT ) 0x1 << 25 )

+#define portPIT_ENABLE      	( ( unsigned short ) 0x1 << 24 )

+#define portPIT_INT_ENABLE     	( ( unsigned short ) 0x1 << 25 )

 /*-----------------------------------------------------------*/

 

 /* Setup the PIT to generate the tick interrupts. */

@@ -81,7 +82,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /*-----------------------------------------------------------*/

 

@@ -190,7 +191,7 @@
 	static __arm __irq void vPortNonPreemptiveTick( void );

 	static __arm __irq void vPortNonPreemptiveTick( void )

 	{

-		unsigned portLONG ulDummy;

+		unsigned long ulDummy;

 		

 		/* Increment the tick count - which may wake some tasks but as the

 		preemptive scheduler is not being used any woken task is not given

diff --git a/Source/portable/IAR/AtmelSAM7S64/portmacro.h b/Source/portable/IAR/AtmelSAM7S64/portmacro.h
index 9d88d26..c10aad2 100644
--- a/Source/portable/IAR/AtmelSAM7S64/portmacro.h
+++ b/Source/portable/IAR/AtmelSAM7S64/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/AtmelSAM9XE/port.c b/Source/portable/IAR/AtmelSAM9XE/port.c
index f1743b6..8b0071c 100644
--- a/Source/portable/IAR/AtmelSAM9XE/port.c
+++ b/Source/portable/IAR/AtmelSAM9XE/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -79,12 +80,12 @@
 #define port1SECOND_IN_uS				( 1000000.0 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 

 #define portINT_LEVEL_SENSITIVE  0

-#define portPIT_ENABLE      	( ( unsigned portSHORT ) 0x1 << 24 )

-#define portPIT_INT_ENABLE     	( ( unsigned portSHORT ) 0x1 << 25 )

+#define portPIT_ENABLE      	( ( unsigned short ) 0x1 << 24 )

+#define portPIT_INT_ENABLE     	( ( unsigned short ) 0x1 << 25 )

 /*-----------------------------------------------------------*/

 

 /* Setup the PIT to generate the tick interrupts. */

@@ -96,7 +97,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /*-----------------------------------------------------------*/

 

@@ -201,7 +202,7 @@
 

 static __arm void vPortTickISR( void )

 {

-volatile unsigned portLONG ulDummy;

+volatile unsigned long ulDummy;

 	

 	/* Increment the tick count - which may wake some tasks but as the

 	preemptive scheduler is not being used any woken task is not given

@@ -224,7 +225,7 @@
 

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulPeriodIn_uS = ( 1.0 / ( double ) configTICK_RATE_HZ ) * port1SECOND_IN_uS;

+const unsigned long ulPeriodIn_uS = ( 1.0 / ( double ) configTICK_RATE_HZ ) * port1SECOND_IN_uS;

 

 	/* Setup the PIT for the required frequency. */

 	PIT_Init( ulPeriodIn_uS, BOARD_MCK / port1MHz_IN_Hz );

diff --git a/Source/portable/IAR/AtmelSAM9XE/portmacro.h b/Source/portable/IAR/AtmelSAM9XE/portmacro.h
index 9cc6fc2..a163b54 100644
--- a/Source/portable/IAR/AtmelSAM9XE/portmacro.h
+++ b/Source/portable/IAR/AtmelSAM9XE/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/LPC2000/port.c b/Source/portable/IAR/LPC2000/port.c
index e431d3d..3a221ad 100644
--- a/Source/portable/IAR/LPC2000/port.c
+++ b/Source/portable/IAR/LPC2000/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -66,10 +67,10 @@
 #include "task.h"

 

 /* Constants required to setup the tick ISR. */

-#define portENABLE_TIMER			( ( unsigned portCHAR ) 0x01 )

+#define portENABLE_TIMER			( ( unsigned char ) 0x01 )

 #define portPRESCALE_VALUE			0x00

-#define portINTERRUPT_ON_MATCH		( ( unsigned portLONG ) 0x01 )

-#define portRESET_COUNT_ON_MATCH	( ( unsigned portLONG ) 0x02 )

+#define portINTERRUPT_ON_MATCH		( ( unsigned long ) 0x01 )

+#define portRESET_COUNT_ON_MATCH	( ( unsigned long ) 0x02 )

 

 /* Constants required to setup the initial stack. */

 #define portINITIAL_SPSR				( ( portSTACK_TYPE ) 0x1f ) /* System mode, ARM mode, interrupts enabled. */

@@ -77,25 +78,25 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to setup the PIT. */

-#define portPIT_CLOCK_DIVISOR			( ( unsigned portLONG ) 16 )

+#define portPIT_CLOCK_DIVISOR			( ( unsigned long ) 16 )

 #define portPIT_COUNTER_VALUE			( ( ( configCPU_CLOCK_HZ / portPIT_CLOCK_DIVISOR ) / 1000UL ) * portTICK_RATE_MS )

 

 /* Constants required to handle interrupts. */

-#define portTIMER_MATCH_ISR_BIT		( ( unsigned portCHAR ) 0x01 )

-#define portCLEAR_VIC_INTERRUPT		( ( unsigned portLONG ) 0 )

+#define portTIMER_MATCH_ISR_BIT		( ( unsigned char ) 0x01 )

+#define portCLEAR_VIC_INTERRUPT		( ( unsigned long ) 0 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 

 #define portINT_LEVEL_SENSITIVE  0

-#define portPIT_ENABLE      	( ( unsigned portSHORT ) 0x1 << 24 )

-#define portPIT_INT_ENABLE     	( ( unsigned portSHORT ) 0x1 << 25 )

+#define portPIT_ENABLE      	( ( unsigned short ) 0x1 << 24 )

+#define portPIT_INT_ENABLE     	( ( unsigned short ) 0x1 << 25 )

 

 /* Constants required to setup the VIC for the tick ISR. */

-#define portTIMER_VIC_CHANNEL		( ( unsigned portLONG ) 0x0004 )

-#define portTIMER_VIC_CHANNEL_BIT	( ( unsigned portLONG ) 0x0010 )

-#define portTIMER_VIC_ENABLE		( ( unsigned portLONG ) 0x0020 )

+#define portTIMER_VIC_CHANNEL		( ( unsigned long ) 0x0004 )

+#define portTIMER_VIC_CHANNEL_BIT	( ( unsigned long ) 0x0010 )

+#define portTIMER_VIC_ENABLE		( ( unsigned long ) 0x0020 )

 

 /*-----------------------------------------------------------*/

 

@@ -105,7 +106,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /*-----------------------------------------------------------*/

 

@@ -250,7 +251,7 @@
 

 static void prvSetupTimerInterrupt( void )

 {

-unsigned portLONG ulCompareMatch;

+unsigned long ulCompareMatch;

 

 	/* A 1ms tick does not require the use of the timer prescale.  This is

 	defaulted to zero but can be used if necessary. */

@@ -282,13 +283,13 @@
 	{	

 		extern void ( vPortPreemptiveTickEntry )( void );

 

-		VICVectAddr0 = ( unsigned portLONG ) vPortPreemptiveTickEntry;

+		VICVectAddr0 = ( unsigned long ) vPortPreemptiveTickEntry;

 	}

 	#else

 	{

 		extern void ( vNonPreemptiveTick )( void );

 

-		VICVectAddr0 = ( portLONG ) vPortNonPreemptiveTick;

+		VICVectAddr0 = ( long ) vPortNonPreemptiveTick;

 	}

 	#endif

 

diff --git a/Source/portable/IAR/LPC2000/portmacro.h b/Source/portable/IAR/LPC2000/portmacro.h
index 22d8234..82c7acf 100644
--- a/Source/portable/IAR/LPC2000/portmacro.h
+++ b/Source/portable/IAR/LPC2000/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/MSP430/port.c b/Source/portable/IAR/MSP430/port.c
index d66ff76..5171004 100644
--- a/Source/portable/IAR/MSP430/port.c
+++ b/Source/portable/IAR/MSP430/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Scheduler includes. */

@@ -56,7 +57,7 @@
 /* Constants required for hardware setup.  The tick ISR runs off the ACLK,

 not the MCLK. */

 #define portACLK_FREQUENCY_HZ			( ( portTickType ) 32768 )

-#define portINITIAL_CRITICAL_NESTING	( ( unsigned portSHORT ) 10 )

+#define portINITIAL_CRITICAL_NESTING	( ( unsigned short ) 10 )

 #define portFLAGS_INT_ENABLED			( ( portSTACK_TYPE ) 0x08 )

 

 /* We require the address of the pxCurrentTCB variable, but don't want to know

@@ -72,7 +73,7 @@
 usCriticalNesting will get set to zero when the scheduler starts, but must

 not be initialised to zero as this will cause problems during the startup

 sequence. */

-volatile unsigned portSHORT usCriticalNesting = portINITIAL_CRITICAL_NESTING;

+volatile unsigned short usCriticalNesting = portINITIAL_CRITICAL_NESTING;

 /*-----------------------------------------------------------*/

 

 

diff --git a/Source/portable/IAR/MSP430/portasm.h b/Source/portable/IAR/MSP430/portasm.h
index 61661bd..7c5d0e7 100644
--- a/Source/portable/IAR/MSP430/portasm.h
+++ b/Source/portable/IAR/MSP430/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTASM_H

diff --git a/Source/portable/IAR/MSP430/portext.s43 b/Source/portable/IAR/MSP430/portext.s43
index 2e1d001..a5bb833 100644
--- a/Source/portable/IAR/MSP430/portext.s43
+++ b/Source/portable/IAR/MSP430/portext.s43
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 #include "FreeRTOSConfig.h"

 #include "portasm.h"

diff --git a/Source/portable/IAR/MSP430/portmacro.h b/Source/portable/IAR/MSP430/portmacro.h
index db8baac..501d019 100644
--- a/Source/portable/IAR/MSP430/portmacro.h
+++ b/Source/portable/IAR/MSP430/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/IAR/STR71x/port.c b/Source/portable/IAR/STR71x/port.c
index 5d46c44..2fc9adf 100644
--- a/Source/portable/IAR/STR71x/port.c
+++ b/Source/portable/IAR/STR71x/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -67,7 +68,7 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 #define portMICROS_PER_SECOND 1000000

 

@@ -79,7 +80,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /* Tick interrupt routines for cooperative and preemptive operation

 respectively.  The preemptive version is not defined as __irq as it is called

diff --git a/Source/portable/IAR/STR71x/portmacro.h b/Source/portable/IAR/STR71x/portmacro.h
index ca9e184..91704d3 100644
--- a/Source/portable/IAR/STR71x/portmacro.h
+++ b/Source/portable/IAR/STR71x/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/STR75x/ISR_Support.h b/Source/portable/IAR/STR75x/ISR_Support.h
index cb463c7..9d37291 100644
--- a/Source/portable/IAR/STR75x/ISR_Support.h
+++ b/Source/portable/IAR/STR75x/ISR_Support.h
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 	EXTERN pxCurrentTCB

diff --git a/Source/portable/IAR/STR75x/port.c b/Source/portable/IAR/STR75x/port.c
index 9a0e4b3..af72c61 100644
--- a/Source/portable/IAR/STR75x/port.c
+++ b/Source/portable/IAR/STR75x/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -63,7 +64,7 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 /* Prescale used on the timer clock when calculating the tick period. */

 #define portPRESCALE 20

@@ -77,7 +78,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /* Tick interrupt routines for preemptive operation. */

 __arm void vPortPreemptiveTick( void );

diff --git a/Source/portable/IAR/STR75x/portasm.s79 b/Source/portable/IAR/STR75x/portasm.s79
index 2549231..c731a84 100644
--- a/Source/portable/IAR/STR75x/portasm.s79
+++ b/Source/portable/IAR/STR75x/portasm.s79
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 	RSEG ICODE:CODE

diff --git a/Source/portable/IAR/STR75x/portmacro.h b/Source/portable/IAR/STR75x/portmacro.h
index e0a31a5..df328aa 100644
--- a/Source/portable/IAR/STR75x/portmacro.h
+++ b/Source/portable/IAR/STR75x/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/STR91x/ISR_Support.h b/Source/portable/IAR/STR91x/ISR_Support.h
index df725d6..97379d2 100644
--- a/Source/portable/IAR/STR91x/ISR_Support.h
+++ b/Source/portable/IAR/STR91x/ISR_Support.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 	EXTERN pxCurrentTCB

diff --git a/Source/portable/IAR/STR91x/port.c b/Source/portable/IAR/STR91x/port.c
index fdc9da8..f0a9afd 100644
--- a/Source/portable/IAR/STR91x/port.c
+++ b/Source/portable/IAR/STR91x/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -75,7 +76,7 @@
 #define portINSTRUCTION_SIZE			( ( portSTACK_TYPE ) 4 )

 

 /* Constants required to handle critical sections. */

-#define portNO_CRITICAL_NESTING 		( ( unsigned portLONG ) 0 )

+#define portNO_CRITICAL_NESTING 		( ( unsigned long ) 0 )

 

 #ifndef abs

 	#define abs(x) ((x)>0 ? (x) : -(x))

@@ -112,7 +113,7 @@
 /* ulCriticalNesting will get set to zero when the first task starts.  It

 cannot be initialised to 0 as this will cause interrupts to be enabled

 during the kernel initialisation process. */

-unsigned portLONG ulCriticalNesting = ( unsigned portLONG ) 9999;

+unsigned long ulCriticalNesting = ( unsigned long ) 9999;

 

 /* Tick interrupt routines for cooperative and preemptive operation

 respectively.  The preemptive version is not defined as __irq as it is called

@@ -262,8 +263,8 @@
 	static void prvSetupTimerInterrupt( void )

 	{

 	WDG_InitTypeDef xWdg;

-	unsigned portSHORT a;

-	unsigned portLONG n = configCPU_PERIPH_HZ / configTICK_RATE_HZ, b;

+	unsigned short a;

+	unsigned long n = configCPU_PERIPH_HZ / configTICK_RATE_HZ, b;

 	

 		/* Configure the watchdog as a free running timer that generates a

 		periodic interrupt. */

@@ -282,8 +283,8 @@
 		VIC_ITCmd( WDG_ITLine, ENABLE );

 		

 		/* Install the default handlers for both VIC's. */

-		VIC0->DVAR = ( unsigned portLONG ) prvDefaultHandler;

-		VIC1->DVAR = ( unsigned portLONG ) prvDefaultHandler;

+		VIC0->DVAR = ( unsigned long ) prvDefaultHandler;

+		VIC1->DVAR = ( unsigned long ) prvDefaultHandler;

 		

 		WDG_Cmd(ENABLE);

 	}

@@ -349,9 +350,9 @@
 

 	static void prvSetupTimerInterrupt( void )

 	{

-		unsigned portCHAR a;

-		unsigned portSHORT b;

-		unsigned portLONG n = configCPU_PERIPH_HZ / configTICK_RATE_HZ;

+		unsigned char a;

+		unsigned short b;

+		unsigned long n = configCPU_PERIPH_HZ / configTICK_RATE_HZ;

 		

 		TIM_InitTypeDef timer;

 		

@@ -375,8 +376,8 @@
 		VIC_ITCmd( TIM2_ITLine, ENABLE );

 		

 		/* Install the default handlers for both VIC's. */

-		VIC0->DVAR = ( unsigned portLONG ) prvDefaultHandler;

-		VIC1->DVAR = ( unsigned portLONG ) prvDefaultHandler;

+		VIC0->DVAR = ( unsigned long ) prvDefaultHandler;

+		VIC1->DVAR = ( unsigned long ) prvDefaultHandler;

 		

 		TIM_CounterCmd(TIM2, TIM_CLEAR);

 		TIM_CounterCmd(TIM2, TIM_START);

diff --git a/Source/portable/IAR/STR91x/portasm.s79 b/Source/portable/IAR/STR91x/portasm.s79
index e9dd800..377a3b4 100644
--- a/Source/portable/IAR/STR91x/portasm.s79
+++ b/Source/portable/IAR/STR91x/portasm.s79
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 		RSEG ICODE:CODE

diff --git a/Source/portable/IAR/STR91x/portmacro.h b/Source/portable/IAR/STR91x/portmacro.h
index 305011a..fc64e07 100644
--- a/Source/portable/IAR/STR91x/portmacro.h
+++ b/Source/portable/IAR/STR91x/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/IAR/V850ES/ISR_Support.h b/Source/portable/IAR/V850ES/ISR_Support.h
index 86e968b..069b41c 100644
--- a/Source/portable/IAR/V850ES/ISR_Support.h
+++ b/Source/portable/IAR/V850ES/ISR_Support.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 	EXTERN pxCurrentTCB

diff --git a/Source/portable/IAR/V850ES/port.c b/Source/portable/IAR/V850ES/port.c
index 7f57f7b..3ef5e80 100644
--- a/Source/portable/IAR/V850ES/port.c
+++ b/Source/portable/IAR/V850ES/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Standard includes. */

diff --git a/Source/portable/IAR/V850ES/portasm.s85 b/Source/portable/IAR/V850ES/portasm.s85
index 503995e..70e529e 100644
--- a/Source/portable/IAR/V850ES/portasm.s85
+++ b/Source/portable/IAR/V850ES/portasm.s85
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 ; Note: Select the correct include files for the device used by the application.

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/IAR/V850ES/portasm_Fx3.s85 b/Source/portable/IAR/V850ES/portasm_Fx3.s85
index 46112f7..e4bbd79 100644
--- a/Source/portable/IAR/V850ES/portasm_Fx3.s85
+++ b/Source/portable/IAR/V850ES/portasm_Fx3.s85
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 ; Note: Select the correct include files for the device used by the application.

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/IAR/V850ES/portasm_Hx2.s85 b/Source/portable/IAR/V850ES/portasm_Hx2.s85
index e6b53f6..88ea34c 100644
--- a/Source/portable/IAR/V850ES/portasm_Hx2.s85
+++ b/Source/portable/IAR/V850ES/portasm_Hx2.s85
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 ; Note: Select the correct include files for the device used by the application.

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/IAR/V850ES/portmacro.h b/Source/portable/IAR/V850ES/portmacro.h
index f971e7e..1836884 100644
--- a/Source/portable/IAR/V850ES/portmacro.h
+++ b/Source/portable/IAR/V850ES/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/MPLAB/PIC18F/port.c b/Source/portable/MPLAB/PIC18F/port.c
index 00e7853..60225a8 100644
--- a/Source/portable/MPLAB/PIC18F/port.c
+++ b/Source/portable/MPLAB/PIC18F/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* 

@@ -86,7 +87,7 @@
  *----------------------------------------------------------*/

 

 /* Hardware setup for tick. */

-#define portTIMER_FOSC_SCALE			( ( unsigned portLONG ) 4 )

+#define portTIMER_FOSC_SCALE			( ( unsigned long ) 4 )

 

 /* Initial interrupt enable state for newly created tasks.  This value is

 copied into INTCON when a task switches in for the first time. */

@@ -103,7 +104,7 @@
 area's get used by the compiler for temporary storage, especially when 

 performing mathematical operations, or when using 32bit data types.  This

 constant defines the size of memory area which must be saved. */

-#define portCOMPILER_MANAGED_MEMORY_SIZE	( ( unsigned portCHAR ) 0x13 )

+#define portCOMPILER_MANAGED_MEMORY_SIZE	( ( unsigned char ) 0x13 )

 

 /* We require the address of the pxCurrentTCB variable, but don't want to know

 any details of its type. */

@@ -111,8 +112,8 @@
 extern volatile tskTCB * volatile pxCurrentTCB;

 

 /* IO port constants. */

-#define portBIT_SET		( ( unsigned portCHAR ) 1 )

-#define portBIT_CLEAR	( ( unsigned portCHAR ) 0 )

+#define portBIT_SET		( ( unsigned char ) 1 )

+#define portBIT_CLEAR	( ( unsigned char ) 0 )

 

 /*

  * The serial port ISR's are defined in serial.c, but are called from portable

@@ -225,7 +226,7 @@
 	_endasm																		\

 																				\

 		/* Store each address from the hardware stack. */						\

-		while( STKPTR > ( unsigned portCHAR ) 0 )								\

+		while( STKPTR > ( unsigned char ) 0 )								\

 		{																		\

 			_asm																\

 				MOVFF	TOSL, PREINC1											\

@@ -364,8 +365,8 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portLONG ulAddress;

-unsigned portCHAR ucBlock;

+unsigned long ulAddress;

+unsigned char ucBlock;

 

 	/* Place a few bytes of known values on the bottom of the stack. 

 	This is just useful for debugging. */

@@ -383,12 +384,12 @@
 

 	First store the function parameters.  This is where the task will expect to

 	find them when it starts running. */

-	ulAddress = ( unsigned portLONG ) pvParameters;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned portLONG ) 0x00ff );

+	ulAddress = ( unsigned long ) pvParameters;

+	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned long ) 0x00ff );

 	pxTopOfStack++;

 

 	ulAddress >>= 8;

-	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned portLONG ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned long ) 0x00ff );

 	pxTopOfStack++;

 

 	/* Next we just leave a space.  When a context is saved the stack pointer

@@ -465,20 +466,20 @@
 

 	/* The only function return address so far is the address of the 

 	task. */

-	ulAddress = ( unsigned portLONG ) pxCode;

+	ulAddress = ( unsigned long ) pxCode;

 

 	/* TOS low. */

-	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned portLONG ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned long ) 0x00ff );

 	pxTopOfStack++;

 	ulAddress >>= 8;

 

 	/* TOS high. */

-	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned portLONG ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned long ) 0x00ff );

 	pxTopOfStack++;

 	ulAddress >>= 8;

 

 	/* TOS even higher. */

-	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned portLONG ) 0x00ff );

+	*pxTopOfStack = ( portSTACK_TYPE ) ( ulAddress & ( unsigned long ) 0x00ff );

 	pxTopOfStack++;

 

 	/* Store the number of return addresses on the hardware stack - so far only

@@ -602,9 +603,9 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulConstCompareValue = ( ( configCPU_CLOCK_HZ / portTIMER_FOSC_SCALE ) / configTICK_RATE_HZ );

-unsigned portLONG ulCompareValue;

-unsigned portCHAR ucByte;

+const unsigned long ulConstCompareValue = ( ( configCPU_CLOCK_HZ / portTIMER_FOSC_SCALE ) / configTICK_RATE_HZ );

+unsigned long ulCompareValue;

+unsigned char ucByte;

 

 	/* Interrupts are disabled when this function is called.

 

@@ -612,14 +613,14 @@
 	1.

 

 	Clear the time count then setup timer. */

-	TMR1H = ( unsigned portCHAR ) 0x00;

-	TMR1L = ( unsigned portCHAR ) 0x00;

+	TMR1H = ( unsigned char ) 0x00;

+	TMR1L = ( unsigned char ) 0x00;

 

 	/* Set the compare match value. */

 	ulCompareValue = ulConstCompareValue;

-	CCPR1L = ( unsigned portCHAR ) ( ulCompareValue & ( unsigned portLONG ) 0xff );

-	ulCompareValue >>= ( unsigned portLONG ) 8;

-	CCPR1H = ( unsigned portCHAR ) ( ulCompareValue & ( unsigned portLONG ) 0xff );	

+	CCPR1L = ( unsigned char ) ( ulCompareValue & ( unsigned long ) 0xff );

+	ulCompareValue >>= ( unsigned long ) 8;

+	CCPR1H = ( unsigned char ) ( ulCompareValue & ( unsigned long ) 0xff );	

 

 	CCP1CONbits.CCP1M0 = portBIT_SET;	/*< Compare match mode. */

 	CCP1CONbits.CCP1M1 = portBIT_SET;	/*< Compare match mode. */

diff --git a/Source/portable/MPLAB/PIC18F/portmacro.h b/Source/portable/MPLAB/PIC18F/portmacro.h
index e033729..27ea97a 100644
--- a/Source/portable/MPLAB/PIC18F/portmacro.h
+++ b/Source/portable/MPLAB/PIC18F/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/MPLAB/PIC24_dsPIC/port.c b/Source/portable/MPLAB/PIC24_dsPIC/port.c
index f8f85f5..30df49f 100644
--- a/Source/portable/MPLAB/PIC24_dsPIC/port.c
+++ b/Source/portable/MPLAB/PIC24_dsPIC/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -147,7 +148,7 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portSHORT usCode;

+unsigned short usCode;

 portBASE_TYPE i;

 

 const portSTACK_TYPE xInitialStack[] = 

@@ -188,7 +189,7 @@
 	/* Setup the stack as if a yield had occurred.

 

 	Save the low bytes of the program counter. */

-	usCode = ( unsigned portSHORT ) pxCode;

+	usCode = ( unsigned short ) pxCode;

 	*pxTopOfStack = ( portSTACK_TYPE ) usCode;

 	pxTopOfStack++;

 

@@ -254,13 +255,13 @@
  */

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulCompareMatch = ( configCPU_CLOCK_HZ / portTIMER_PRESCALE ) / configTICK_RATE_HZ;

+const unsigned long ulCompareMatch = ( configCPU_CLOCK_HZ / portTIMER_PRESCALE ) / configTICK_RATE_HZ;

 

 	/* Prescale of 8. */

 	T1CON = 0;

 	TMR1 = 0;

 

-	PR1 = ( unsigned portSHORT ) ulCompareMatch;

+	PR1 = ( unsigned short ) ulCompareMatch;

 

 	/* Setup timer 1 interrupt priority. */

 	IPC0bits.T1IP = configKERNEL_INTERRUPT_PRIORITY;

diff --git a/Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S b/Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S
index 156e6a2..0088385 100644
--- a/Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S
+++ b/Source/portable/MPLAB/PIC24_dsPIC/portasm_PIC24.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

         .global _vPortYield

diff --git a/Source/portable/MPLAB/PIC24_dsPIC/portasm_dsPIC.S b/Source/portable/MPLAB/PIC24_dsPIC/portasm_dsPIC.S
index 7eb2b84..272b1a7 100644
--- a/Source/portable/MPLAB/PIC24_dsPIC/portasm_dsPIC.S
+++ b/Source/portable/MPLAB/PIC24_dsPIC/portasm_dsPIC.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

         .global _vPortYield

diff --git a/Source/portable/MPLAB/PIC24_dsPIC/portmacro.h b/Source/portable/MPLAB/PIC24_dsPIC/portmacro.h
index b12e4ed..3087743 100644
--- a/Source/portable/MPLAB/PIC24_dsPIC/portmacro.h
+++ b/Source/portable/MPLAB/PIC24_dsPIC/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/MPLAB/PIC32MX/ISR_Support.h b/Source/portable/MPLAB/PIC32MX/ISR_Support.h
index 4809e75..db8a4a7 100644
--- a/Source/portable/MPLAB/PIC32MX/ISR_Support.h
+++ b/Source/portable/MPLAB/PIC32MX/ISR_Support.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/MPLAB/PIC32MX/port.c b/Source/portable/MPLAB/PIC32MX/port.c
index c6270bc..08bd2fe 100644
--- a/Source/portable/MPLAB/PIC32MX/port.c
+++ b/Source/portable/MPLAB/PIC32MX/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -127,7 +128,7 @@
  */

 void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulCompareMatch = ( (configPERIPHERAL_CLOCK_HZ / portTIMER_PRESCALE) / configTICK_RATE_HZ ) - 1;

+const unsigned long ulCompareMatch = ( (configPERIPHERAL_CLOCK_HZ / portTIMER_PRESCALE) / configTICK_RATE_HZ ) - 1;

 

 	OpenTimer1( ( T1_ON | T1_PS_1_8 | T1_SOURCE_INT ), ulCompareMatch );

 	ConfigIntTimer1( T1_INT_ON | configKERNEL_INTERRUPT_PRIORITY );

diff --git a/Source/portable/MPLAB/PIC32MX/port_asm.S b/Source/portable/MPLAB/PIC32MX/port_asm.S
index 51394e4..eeaacb9 100644
--- a/Source/portable/MPLAB/PIC32MX/port_asm.S
+++ b/Source/portable/MPLAB/PIC32MX/port_asm.S
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

  

 #include <p32xxxx.h>

diff --git a/Source/portable/MPLAB/PIC32MX/portmacro.h b/Source/portable/MPLAB/PIC32MX/portmacro.h
index dec79b4..a4d0b0d 100644
--- a/Source/portable/MPLAB/PIC32MX/portmacro.h
+++ b/Source/portable/MPLAB/PIC32MX/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/MemMang/heap_1.c b/Source/portable/MemMang/heap_1.c
index 0f4a38e..27582c1 100644
--- a/Source/portable/MemMang/heap_1.c
+++ b/Source/portable/MemMang/heap_1.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -72,9 +73,9 @@
 	#if portBYTE_ALIGNMENT == 8

 		volatile portDOUBLE dDummy;

 	#else

-		volatile unsigned portLONG ulDummy;

+		volatile unsigned long ulDummy;

 	#endif	

-	unsigned portCHAR ucHeap[ configTOTAL_HEAP_SIZE ];

+	unsigned char ucHeap[ configTOTAL_HEAP_SIZE ];

 } xHeap;

 

 static size_t xNextFreeByte = ( size_t ) 0;

diff --git a/Source/portable/MemMang/heap_2.c b/Source/portable/MemMang/heap_2.c
index a3808df..e1f22dc 100644
--- a/Source/portable/MemMang/heap_2.c
+++ b/Source/portable/MemMang/heap_2.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -72,9 +73,9 @@
 	#if portBYTE_ALIGNMENT == 8

 		volatile portDOUBLE dDummy;

 	#else

-		volatile unsigned portLONG ulDummy;

+		volatile unsigned long ulDummy;

 	#endif

-	unsigned portCHAR ucHeap[ configTOTAL_HEAP_SIZE ];

+	unsigned char ucHeap[ configTOTAL_HEAP_SIZE ];

 } xHeap;

 

 /* Define the linked list structure.  This is used to link free blocks in order

@@ -86,7 +87,7 @@
 } xBlockLink;

 

 

-static const unsigned portSHORT  heapSTRUCT_SIZE	= ( sizeof( xBlockLink ) + portBYTE_ALIGNMENT - ( sizeof( xBlockLink ) % portBYTE_ALIGNMENT ) );

+static const unsigned short  heapSTRUCT_SIZE	= ( sizeof( xBlockLink ) + portBYTE_ALIGNMENT - ( sizeof( xBlockLink ) % portBYTE_ALIGNMENT ) );

 #define heapMINIMUM_BLOCK_SIZE	( ( size_t ) ( heapSTRUCT_SIZE * 2 ) )

 

 /* Create a couple of list links to mark the start and end of the list. */

@@ -188,7 +189,7 @@
 			{

 				/* Return the memory space - jumping over the xBlockLink structure

 				at its start. */

-				pvReturn = ( void * ) ( ( ( unsigned portCHAR * ) pxPreviousBlock->pxNextFreeBlock ) + heapSTRUCT_SIZE );

+				pvReturn = ( void * ) ( ( ( unsigned char * ) pxPreviousBlock->pxNextFreeBlock ) + heapSTRUCT_SIZE );

 

 				/* This block is being returned for use so must be taken our of the

 				list of free blocks. */

@@ -200,7 +201,7 @@
 					/* This block is to be split into two.  Create a new block

 					following the number of bytes requested. The void cast is

 					used to prevent byte alignment warnings from the compiler. */

-					pxNewBlockLink = ( void * ) ( ( ( unsigned portCHAR * ) pxBlock ) + xWantedSize );

+					pxNewBlockLink = ( void * ) ( ( ( unsigned char * ) pxBlock ) + xWantedSize );

 

 					/* Calculate the sizes of two blocks split from the single

 					block. */

@@ -231,7 +232,7 @@
 

 void vPortFree( void *pv )

 {

-unsigned portCHAR *puc = ( unsigned portCHAR * ) pv;

+unsigned char *puc = ( unsigned char * ) pv;

 xBlockLink *pxLink;

 

 	if( pv )

diff --git a/Source/portable/MemMang/heap_3.c b/Source/portable/MemMang/heap_3.c
index 7ff08b6..3bccca6 100644
--- a/Source/portable/MemMang/heap_3.c
+++ b/Source/portable/MemMang/heap_3.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/Paradigm/Tern_EE/large_untested/port.c b/Source/portable/Paradigm/Tern_EE/large_untested/port.c
index 38a3f77..7771832 100644
--- a/Source/portable/Paradigm/Tern_EE/large_untested/port.c
+++ b/Source/portable/Paradigm/Tern_EE/large_untested/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -61,10 +62,10 @@
 #include "portasm.h"

 

 /* The timer increments every four clocks, hence the divide by 4. */

-#define portTIMER_COMPARE ( unsigned portSHORT ) ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) / ( unsigned portLONG ) 4 )

+#define portTIMER_COMPARE ( unsigned short ) ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ ) / ( unsigned long ) 4 )

 

 /* From the RDC data sheet. */

-#define portENABLE_TIMER_AND_INTERRUPT ( unsigned portSHORT ) 0xe001

+#define portENABLE_TIMER_AND_INTERRUPT ( unsigned short ) 0xe001

 

 /* Interrupt control. */

 #define portEIO_REGISTER 0xff22

@@ -228,8 +229,8 @@
 

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portSHORT usTimerACompare = portTIMER_COMPARE, usTimerAMode = portENABLE_TIMER_AND_INTERRUPT;

-const unsigned portSHORT usT2_IRQ = 0x13;

+const unsigned short usTimerACompare = portTIMER_COMPARE, usTimerAMode = portENABLE_TIMER_AND_INTERRUPT;

+const unsigned short usT2_IRQ = 0x13;

 

 	/* Configure the timer, the dummy handler is used here as the init

 	function leaves interrupts enabled. */

diff --git a/Source/portable/Paradigm/Tern_EE/large_untested/portasm.h b/Source/portable/Paradigm/Tern_EE/large_untested/portasm.h
index 36c8cf1..70554b4 100644
--- a/Source/portable/Paradigm/Tern_EE/large_untested/portasm.h
+++ b/Source/portable/Paradigm/Tern_EE/large_untested/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 typedef void tskTCB;

diff --git a/Source/portable/Paradigm/Tern_EE/large_untested/portmacro.h b/Source/portable/Paradigm/Tern_EE/large_untested/portmacro.h
index 2501ca8..1132a17 100644
--- a/Source/portable/Paradigm/Tern_EE/large_untested/portmacro.h
+++ b/Source/portable/Paradigm/Tern_EE/large_untested/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/Paradigm/Tern_EE/small/port.c b/Source/portable/Paradigm/Tern_EE/small/port.c
index 0caa349..7381c46 100644
--- a/Source/portable/Paradigm/Tern_EE/small/port.c
+++ b/Source/portable/Paradigm/Tern_EE/small/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

@@ -65,8 +66,8 @@
 #define portTIMER_COMPARE ( configCPU_CLOCK_HZ  / ( configTICK_RATE_HZ * 4UL ) )

 

 /* From the RDC data sheet. */

-#define portENABLE_TIMER_AND_INTERRUPT 	( unsigned portSHORT ) 0xe00b

-#define portENABLE_TIMER				( unsigned portSHORT ) 0xC001

+#define portENABLE_TIMER_AND_INTERRUPT 	( unsigned short ) 0xe00b

+#define portENABLE_TIMER				( unsigned short ) 0xC001

 

 /* Interrupt control. */

 #define portEIO_REGISTER 0xff22

@@ -212,10 +213,10 @@
 

 static void prvSetupTimerInterrupt( void )

 {

-const unsigned portLONG ulCompareValue = portTIMER_COMPARE;

-unsigned portSHORT usTimerCompare;

+const unsigned long ulCompareValue = portTIMER_COMPARE;

+unsigned short usTimerCompare;

 

-	usTimerCompare = ( unsigned portSHORT ) ( ulCompareValue >> 4 );

+	usTimerCompare = ( unsigned short ) ( ulCompareValue >> 4 );

     t2_init( portENABLE_TIMER, portPRESCALE_VALUE, NULL );

 

 	#if( configUSE_PREEMPTION == 1 )

diff --git a/Source/portable/Paradigm/Tern_EE/small/portasm.h b/Source/portable/Paradigm/Tern_EE/small/portasm.h
index 295a870..1fc0504 100644
--- a/Source/portable/Paradigm/Tern_EE/small/portasm.h
+++ b/Source/portable/Paradigm/Tern_EE/small/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORT_ASM_H

diff --git a/Source/portable/Paradigm/Tern_EE/small/portmacro.h b/Source/portable/Paradigm/Tern_EE/small/portmacro.h
index e1f662b..9c4b691 100644
--- a/Source/portable/Paradigm/Tern_EE/small/portmacro.h
+++ b/Source/portable/Paradigm/Tern_EE/small/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/RVDS/ARM7_LPC21xx/port.c b/Source/portable/RVDS/ARM7_LPC21xx/port.c
index 500cee1..7233656 100644
--- a/Source/portable/RVDS/ARM7_LPC21xx/port.c
+++ b/Source/portable/RVDS/ARM7_LPC21xx/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/RVDS/ARM7_LPC21xx/portASM.s b/Source/portable/RVDS/ARM7_LPC21xx/portASM.s
index 31212ef..4ab8def 100644
--- a/Source/portable/RVDS/ARM7_LPC21xx/portASM.s
+++ b/Source/portable/RVDS/ARM7_LPC21xx/portASM.s
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 	INCLUDE portmacro.inc

diff --git a/Source/portable/RVDS/ARM7_LPC21xx/portmacro.h b/Source/portable/RVDS/ARM7_LPC21xx/portmacro.h
index 4b2b0f9..809e965 100644
--- a/Source/portable/RVDS/ARM7_LPC21xx/portmacro.h
+++ b/Source/portable/RVDS/ARM7_LPC21xx/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/RVDS/ARM7_LPC21xx/portmacro.inc b/Source/portable/RVDS/ARM7_LPC21xx/portmacro.inc
index 465eab4..81ac45d 100644
--- a/Source/portable/RVDS/ARM7_LPC21xx/portmacro.inc
+++ b/Source/portable/RVDS/ARM7_LPC21xx/portmacro.inc
@@ -1,48 +1,49 @@
 ;/*

-;	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+;    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 ;

-;	This file is part of the FreeRTOS distribution.

+;    This file is part of the FreeRTOS distribution.

 ;

-;	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-;	the terms of the GNU General Public License (version 2) as published by the 

-;	Free Software Foundation and modified by the FreeRTOS exception.

-;	**NOTE** The exception to the GPL is included to allow you to distribute a

-;	combined work that includes FreeRTOS without being obliged to provide the 

-;	source code for proprietary components outside of the FreeRTOS kernel.  

-;	Alternative commercial license and support terms are also available upon 

-;	request.  See the licensing section of http://www.FreeRTOS.org for full 

-;	license details.

+;    FreeRTOS is free software; you can redistribute it and/or modify it    under

+;    the terms of the GNU General Public License (version 2) as published by the

+;    Free Software Foundation and modified by the FreeRTOS exception.

+;    **NOTE** The exception to the GPL is included to allow you to distribute a

+;    combined work that includes FreeRTOS without being obliged to provide the

+;    source code for proprietary components outside of the FreeRTOS kernel.

+;    Alternative commercial license and support terms are also available upon

+;    request.  See the licensing section of http://www.FreeRTOS.org for full

+;    license details.

 ;

-;	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-;	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-;	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-;	more details.

+;    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+;    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+;    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+;    more details.

 ;

-;	You should have received a copy of the GNU General Public License along

-;	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-;	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+;    You should have received a copy of the GNU General Public License along

+;    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+;    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 ;

 ;

-;	***************************************************************************

-;	*                                                                         *

-;	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-;	* See http://www.FreeRTOS.org/Documentation for details                   *

-;	*                                                                         *

-;	***************************************************************************

+;    ***************************************************************************

+;    *                                                                         *

+;    * The FreeRTOS eBook and reference manual are available to purchase for a *

+;    * small fee. Help yourself get started quickly while also helping the     *

+;    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+;    *                                                                         *

+;    ***************************************************************************

 ;

-;	1 tab == 4 spaces!

+;    1 tab == 4 spaces!

 ;

-;	Please ensure to read the configuration and relevant port sections of the

-;	online documentation.

+;    Please ensure to read the configuration and relevant port sections of the

+;    online documentation.

 ;

-;	http://www.FreeRTOS.org - Documentation, latest information, license and

-;	contact details.

+;    http://www.FreeRTOS.org - Documentation, latest information, license and

+;    contact details.

 ;

-;	http://www.SafeRTOS.com - A version that is certified for use in safety

-;	critical systems.

+;    http://www.SafeRTOS.com - A version that is certified for use in safety

+;    critical systems.

 ;

-;	http://www.OpenRTOS.com - Commercial support, development, porting,

-;	licensing and training services.

+;    http://www.OpenRTOS.com - Commercial support, development, porting,

+;    licensing and training services.

 ;*/

 

 	IMPORT  ulCriticalNesting		;

diff --git a/Source/portable/RVDS/ARM_CM3/port.c b/Source/portable/RVDS/ARM_CM3/port.c
index d4133cc..28a13c3 100644
--- a/Source/portable/RVDS/ARM_CM3/port.c
+++ b/Source/portable/RVDS/ARM_CM3/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -58,16 +59,16 @@
 #endif

 

 /* Constants required to manipulate the NVIC. */

-#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned portLONG *) 0xe000e010 )

-#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned portLONG *) 0xe000e014 )

-#define portNVIC_INT_CTRL			( ( volatile unsigned portLONG *) 0xe000ed04 )

-#define portNVIC_SYSPRI2			( ( volatile unsigned portLONG *) 0xe000ed20 )

+#define portNVIC_SYSTICK_CTRL		( ( volatile unsigned long *) 0xe000e010 )

+#define portNVIC_SYSTICK_LOAD		( ( volatile unsigned long *) 0xe000e014 )

+#define portNVIC_INT_CTRL			( ( volatile unsigned long *) 0xe000ed04 )

+#define portNVIC_SYSPRI2			( ( volatile unsigned long *) 0xe000ed20 )

 #define portNVIC_SYSTICK_CLK		0x00000004

 #define portNVIC_SYSTICK_INT		0x00000002

 #define portNVIC_SYSTICK_ENABLE		0x00000001

 #define portNVIC_PENDSVSET			0x10000000

-#define portNVIC_PENDSV_PRI			( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

-#define portNVIC_SYSTICK_PRI		( ( ( unsigned portLONG ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

+#define portNVIC_PENDSV_PRI			( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

+#define portNVIC_SYSTICK_PRI		( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

 

 /* Constants required to set up the initial stack. */

 #define portINITIAL_XPSR			( 0x01000000 )

@@ -236,7 +237,7 @@
 

 void xPortSysTickHandler( void )

 {

-unsigned portLONG ulDummy;

+unsigned long ulDummy;

 

 	/* If using preemption, also force a context switch. */

 	#if configUSE_PREEMPTION == 1

diff --git a/Source/portable/RVDS/ARM_CM3/portmacro.h b/Source/portable/RVDS/ARM_CM3/portmacro.h
index c0dd260..37117d5 100644
--- a/Source/portable/RVDS/ARM_CM3/portmacro.h
+++ b/Source/portable/RVDS/ARM_CM3/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/Rowley/MSP430F449/port.c b/Source/portable/Rowley/MSP430F449/port.c
index 02d1b4c..7b74bd4 100644
--- a/Source/portable/Rowley/MSP430F449/port.c
+++ b/Source/portable/Rowley/MSP430F449/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* Scheduler includes. */

@@ -56,7 +57,7 @@
 /* Constants required for hardware setup.  The tick ISR runs off the ACLK, 

 not the MCLK. */

 #define portACLK_FREQUENCY_HZ			( ( portTickType ) 32768 )

-#define portINITIAL_CRITICAL_NESTING	( ( unsigned portSHORT ) 10 )

+#define portINITIAL_CRITICAL_NESTING	( ( unsigned short ) 10 )

 #define portFLAGS_INT_ENABLED			( ( portSTACK_TYPE ) 0x08 )

 

 /* We require the address of the pxCurrentTCB variable, but don't want to know

@@ -72,7 +73,7 @@
 usCriticalNesting will get set to zero when the scheduler starts, but must

 not be initialised to zero as this will cause problems during the startup

 sequence. */

-volatile unsigned portSHORT usCriticalNesting = portINITIAL_CRITICAL_NESTING;

+volatile unsigned short usCriticalNesting = portINITIAL_CRITICAL_NESTING;

 /*-----------------------------------------------------------*/

 

 

diff --git a/Source/portable/Rowley/MSP430F449/portasm.h b/Source/portable/Rowley/MSP430F449/portasm.h
index 7c7b154..a554a7c 100644
--- a/Source/portable/Rowley/MSP430F449/portasm.h
+++ b/Source/portable/Rowley/MSP430F449/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORT_ASM_H

diff --git a/Source/portable/Rowley/MSP430F449/portext.asm b/Source/portable/Rowley/MSP430F449/portext.asm
index a8d3a87..956d552 100644
--- a/Source/portable/Rowley/MSP430F449/portext.asm
+++ b/Source/portable/Rowley/MSP430F449/portext.asm
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOSConfig.h"

diff --git a/Source/portable/Rowley/MSP430F449/portmacro.h b/Source/portable/Rowley/MSP430F449/portmacro.h
index 771013a..1d72224 100644
--- a/Source/portable/Rowley/MSP430F449/portmacro.h
+++ b/Source/portable/Rowley/MSP430F449/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/SDCC/Cygnal/port.c b/Source/portable/SDCC/Cygnal/port.c
index 1dabcfb..0089ad0 100644
--- a/Source/portable/SDCC/Cygnal/port.c
+++ b/Source/portable/SDCC/Cygnal/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*-----------------------------------------------------------

@@ -57,10 +58,10 @@
 #include "task.h"

 

 /* Constants required to setup timer 2 to produce the RTOS tick. */

-#define portCLOCK_DIVISOR				( ( unsigned portLONG ) 12 )

-#define portMAX_TIMER_VALUE				( ( unsigned portLONG ) 0xffff )

-#define portENABLE_TIMER				( ( unsigned portCHAR ) 0x04 )

-#define portTIMER_2_INTERRUPT_ENABLE	( ( unsigned portCHAR ) 0x20 )

+#define portCLOCK_DIVISOR				( ( unsigned long ) 12 )

+#define portMAX_TIMER_VALUE				( ( unsigned long ) 0xffff )

+#define portENABLE_TIMER				( ( unsigned char ) 0x04 )

+#define portTIMER_2_INTERRUPT_ENABLE	( ( unsigned char ) 0x20 )

 

 /* The value used in the IE register when a task first starts. */

 #define portGLOBAL_INTERRUPT_BIT	( ( portSTACK_TYPE ) 0x80 )

@@ -73,7 +74,7 @@
 

 /* Used during a context switch to store the size of the stack being copied

 to or from XRAM. */

-data static unsigned portCHAR ucStackBytes;

+data static unsigned char ucStackBytes;

 

 /* Used during a context switch to point to the next byte in XRAM from/to which

 a RAM byte is to be copied. */

@@ -155,7 +156,7 @@
 	} while( ucStackBytes );																	\

 																								\

 	/* Restore the stack pointer ready to use the restored stack. */							\

-	SP = ( unsigned portCHAR ) pxRAMStack;														\

+	SP = ( unsigned char ) pxRAMStack;														\

 }

 /*-----------------------------------------------------------*/

 

@@ -234,7 +235,7 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portLONG ulAddress;

+unsigned long ulAddress;

 portSTACK_TYPE *pxStartOfStack;

 

 	/* Leave space to write the size of the stack as the first byte. */

@@ -255,7 +256,7 @@
 	ISR. 

 

 	The return address that would have been pushed by the MCU. */

-	ulAddress = ( unsigned portLONG ) pxCode;

+	ulAddress = ( unsigned long ) pxCode;

 	*pxTopOfStack = ( portSTACK_TYPE ) ulAddress;

 	ulAddress >>= 8;

 	pxTopOfStack++;

@@ -272,7 +273,7 @@
 

 	/* The function parameters will be passed in the DPTR and B register as

 	a three byte generic pointer is used. */

-	ulAddress = ( unsigned portLONG ) pvParameters;

+	ulAddress = ( unsigned long ) pvParameters;

 	*pxTopOfStack = ( portSTACK_TYPE ) ulAddress;	/* DPL */

 	ulAddress >>= 8;

 	*pxTopOfStack++;

@@ -399,14 +400,14 @@
 

 static void prvSetupTimerInterrupt( void )

 {

-unsigned portCHAR ucOriginalSFRPage;

+unsigned char ucOriginalSFRPage;

 

 /* Constants calculated to give the required timer capture values. */

-const unsigned portLONG ulTicksPerSecond = configCPU_CLOCK_HZ / portCLOCK_DIVISOR;

-const unsigned portLONG ulCaptureTime = ulTicksPerSecond / configTICK_RATE_HZ;

-const unsigned portLONG ulCaptureValue = portMAX_TIMER_VALUE - ulCaptureTime;

-const unsigned portCHAR ucLowCaptureByte = ( unsigned portCHAR ) ( ulCaptureValue & ( unsigned portLONG ) 0xff );

-const unsigned portCHAR ucHighCaptureByte = ( unsigned portCHAR ) ( ulCaptureValue >> ( unsigned portLONG ) 8 );

+const unsigned long ulTicksPerSecond = configCPU_CLOCK_HZ / portCLOCK_DIVISOR;

+const unsigned long ulCaptureTime = ulTicksPerSecond / configTICK_RATE_HZ;

+const unsigned long ulCaptureValue = portMAX_TIMER_VALUE - ulCaptureTime;

+const unsigned char ucLowCaptureByte = ( unsigned char ) ( ulCaptureValue & ( unsigned long ) 0xff );

+const unsigned char ucHighCaptureByte = ( unsigned char ) ( ulCaptureValue >> ( unsigned long ) 8 );

 

 	/* NOTE:  This uses a timer only present on 8052 architecture. */

 

@@ -416,7 +417,7 @@
 	SFRPAGE = 0;

 

 	/* TMR2CF can be left in its default state. */	

-	TMR2CF = ( unsigned portCHAR ) 0;

+	TMR2CF = ( unsigned char ) 0;

 

 	/* Setup the overflow reload value. */

 	RCAP2L = ucLowCaptureByte;

diff --git a/Source/portable/SDCC/Cygnal/portmacro.h b/Source/portable/SDCC/Cygnal/portmacro.h
index efcc73a..9aa59cb 100644
--- a/Source/portable/SDCC/Cygnal/portmacro.h
+++ b/Source/portable/SDCC/Cygnal/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/Softune/MB91460/port.c b/Source/portable/Softune/MB91460/port.c
index 56da508..c827067 100644
--- a/Source/portable/Softune/MB91460/port.c
+++ b/Source/portable/Softune/MB91460/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOS.h"

@@ -225,7 +226,7 @@
 static void prvSetupTimerInterrupt( void )

 {

 /* The peripheral clock divided by 32 is used by the timer. */

-const unsigned portSHORT usReloadValue = ( unsigned portSHORT ) ( ( ( configPER_CLOCK_HZ / configTICK_RATE_HZ ) / 32UL ) - 1UL );

+const unsigned short usReloadValue = ( unsigned short ) ( ( ( configPER_CLOCK_HZ / configTICK_RATE_HZ ) / 32UL ) - 1UL );

 

 	/* Setup RLT0 to generate a tick interrupt. */

 

diff --git a/Source/portable/Softune/MB91460/portmacro.h b/Source/portable/Softune/MB91460/portmacro.h
index 02b3513..0caee03 100644
--- a/Source/portable/Softune/MB91460/portmacro.h
+++ b/Source/portable/Softune/MB91460/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/Softune/MB96340/port.c b/Source/portable/Softune/MB96340/port.c
index 2710508..fa17ee8 100644
--- a/Source/portable/Softune/MB96340/port.c
+++ b/Source/portable/Softune/MB96340/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include "FreeRTOS.h"

@@ -298,7 +299,7 @@
 	bits. */ 

 	#if( ( configMEMMODEL == portCOMPACT ) || ( configMEMMODEL == portLARGE ) )

 	{

-		*pxTopOfStack = ( portSTACK_TYPE ) ( ( unsigned portLONG ) ( pvParameters ) >> 16 );

+		*pxTopOfStack = ( portSTACK_TYPE ) ( ( unsigned long ) ( pvParameters ) >> 16 );

 		pxTopOfStack--;         

 	}

 	#endif

@@ -311,7 +312,7 @@
     the task stack. */

 	#if( ( configMEMMODEL == portMEDIUM ) || ( configMEMMODEL == portLARGE ) )

 	{

-		*pxTopOfStack = ( xGet_DTB_PCB_bank() & 0xff00 ) | ( ( ( portLONG ) ( pxCode ) >> 16 ) & 0xff );      

+		*pxTopOfStack = ( xGet_DTB_PCB_bank() & 0xff00 ) | ( ( ( long ) ( pxCode ) >> 16 ) & 0xff );      

 		pxTopOfStack--;       

 	}

 	#endif

@@ -341,7 +342,7 @@
 	along with PC to indicate the start address of the function. */

 	#if( ( configMEMMODEL == portMEDIUM ) || ( configMEMMODEL == portLARGE ) )

 	{

-		*pxTopOfStack = ( xGet_DTB_PCB_bank() & 0xff00 ) | ( ( ( portLONG ) ( pxCode ) >> 16 ) & 0xff );

+		*pxTopOfStack = ( xGet_DTB_PCB_bank() & 0xff00 ) | ( ( ( long ) ( pxCode ) >> 16 ) & 0xff );

 		pxTopOfStack--;       

 	}

 	#endif

@@ -382,7 +383,7 @@
 static void prvSetupRLT0Interrupt( void )

 {

 /* The peripheral clock divided by 16 is used by the timer. */

-const unsigned portSHORT usReloadValue = ( unsigned portSHORT ) ( ( ( configCLKP1_CLOCK_HZ / configTICK_RATE_HZ ) / 16UL ) - 1UL );

+const unsigned short usReloadValue = ( unsigned short ) ( ( ( configCLKP1_CLOCK_HZ / configTICK_RATE_HZ ) / 16UL ) - 1UL );

 

 	/* set reload value = 34999+1, TICK Interrupt after 10 ms @ 56MHz of CLKP1 */

 	TMRLR0 = usReloadValue;    

diff --git a/Source/portable/Softune/MB96340/portmacro.h b/Source/portable/Softune/MB96340/portmacro.h
index 7b3f133..7ac2706 100644
--- a/Source/portable/Softune/MB96340/portmacro.h
+++ b/Source/portable/Softune/MB96340/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 

diff --git a/Source/portable/WizC/PIC18/Drivers/Tick/Tick.c b/Source/portable/WizC/PIC18/Drivers/Tick/Tick.c
index 23c412b..15fdb02 100644
--- a/Source/portable/WizC/PIC18/Drivers/Tick/Tick.c
+++ b/Source/portable/WizC/PIC18/Drivers/Tick/Tick.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* 

@@ -110,8 +111,8 @@
 	/*

 	 * Set the compare match value.

 	 */

-	CCPR1H = ( unsigned portCHAR ) ( ( portTIMER_COMPARE_VALUE >> 8 ) & 0xff );

-	CCPR1L = ( unsigned portCHAR )   ( portTIMER_COMPARE_VALUE & 0xff );

+	CCPR1H = ( unsigned char ) ( ( portTIMER_COMPARE_VALUE >> 8 ) & 0xff );

+	CCPR1L = ( unsigned char )   ( portTIMER_COMPARE_VALUE & 0xff );

 

 	/*

 	 * Set Compare Special Event Trigger Mode

@@ -141,8 +142,8 @@
 	/*

 	 * Clear the time count

 	 */

-	TMR1H = ( unsigned portCHAR ) 0x00;

-	TMR1L = ( unsigned portCHAR ) 0x00;

+	TMR1H = ( unsigned char ) 0x00;

+	TMR1L = ( unsigned char ) 0x00;

 

 	/*

 	 * Setup the timer

diff --git a/Source/portable/WizC/PIC18/Drivers/Tick/isrTick.c b/Source/portable/WizC/PIC18/Drivers/Tick/isrTick.c
index 8650108..e803e75 100644
--- a/Source/portable/WizC/PIC18/Drivers/Tick/isrTick.c
+++ b/Source/portable/WizC/PIC18/Drivers/Tick/isrTick.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* 

diff --git a/Source/portable/WizC/PIC18/addFreeRTOS.h b/Source/portable/WizC/PIC18/addFreeRTOS.h
index bc5b481..1355b83 100644
--- a/Source/portable/WizC/PIC18/addFreeRTOS.h
+++ b/Source/portable/WizC/PIC18/addFreeRTOS.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/portable/WizC/PIC18/port.c b/Source/portable/WizC/PIC18/port.c
index 9e05d56..9ec2f86 100644
--- a/Source/portable/WizC/PIC18/port.c
+++ b/Source/portable/WizC/PIC18/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -107,7 +108,7 @@
 #define portSTACK_MINIMAL_CALLRETURN_DEPTH	( 10 )

 #define portSTACK_OTHER_BYTES				( 20 )

 

-unsigned portSHORT usCalcMinStackSize		= 0;

+unsigned short usCalcMinStackSize		= 0;

 

 /*-----------------------------------------------------------*/

 

@@ -117,7 +118,7 @@
  * and portEXIT_CRITICAL() can be called without interrupts

  * being enabled before the scheduler starts.

  */

-register unsigned portCHAR ucCriticalNesting = 0x7F;

+register unsigned char ucCriticalNesting = 0x7F;

 

 /*-----------------------------------------------------------*/

 

@@ -127,7 +128,7 @@
  */

 portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )

 {

-unsigned portCHAR ucScratch;

+unsigned char ucScratch;

 	/*

 	 * Get the size of the RAMarea in page 0 used by the compiler

 	 * We do this here already to avoid W-register conflicts.

@@ -155,8 +156,8 @@
 	 * First store the function parameters.  This is where the task expects

 	 * to find them when it starts running.

 	 */

-	*pxTopOfStack-- = ( portSTACK_TYPE ) ( (( unsigned portSHORT ) pvParameters >> 8) & 0x00ff );

-	*pxTopOfStack-- = ( portSTACK_TYPE ) (  ( unsigned portSHORT ) pvParameters       & 0x00ff );

+	*pxTopOfStack-- = ( portSTACK_TYPE ) ( (( unsigned short ) pvParameters >> 8) & 0x00ff );

+	*pxTopOfStack-- = ( portSTACK_TYPE ) (  ( unsigned short ) pvParameters       & 0x00ff );

 

 	/*

 	 * Next are all the registers that form part of the task context.

@@ -198,8 +199,8 @@
 #if _ROMSIZE > 0x8000

 	*pxTopOfStack-- = ( portSTACK_TYPE ) 0;

 #endif

-	*pxTopOfStack-- = ( portSTACK_TYPE ) ( ( ( unsigned portSHORT ) pxCode >> 8 ) & 0x00ff );

-	*pxTopOfStack-- = ( portSTACK_TYPE ) ( (   unsigned portSHORT ) pxCode        & 0x00ff );

+	*pxTopOfStack-- = ( portSTACK_TYPE ) ( ( ( unsigned short ) pxCode >> 8 ) & 0x00ff );

+	*pxTopOfStack-- = ( portSTACK_TYPE ) ( (   unsigned short ) pxCode        & 0x00ff );

 

 	/*

 	 * Store the number of return addresses on the hardware stack.

@@ -220,7 +221,7 @@
 }

 /*-----------------------------------------------------------*/

 

-unsigned portSHORT usPortCALCULATE_MINIMAL_STACK_SIZE( void )

+unsigned short usPortCALCULATE_MINIMAL_STACK_SIZE( void )

 {

 	/*

 	 * Fetch the size of compiler's scratchspace.

@@ -302,7 +303,7 @@
 

 /*-----------------------------------------------------------*/

 

-void *pvPortMalloc( unsigned portSHORT usWantedSize )

+void *pvPortMalloc( unsigned short usWantedSize )

 {

 void *pvReturn;

 

diff --git a/Source/portable/WizC/PIC18/portmacro.h b/Source/portable/WizC/PIC18/portmacro.h
index 8c74e73..08c9d85 100644
--- a/Source/portable/WizC/PIC18/portmacro.h
+++ b/Source/portable/WizC/PIC18/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /* 

diff --git a/Source/portable/oWatcom/16BitDOS/Flsh186/port.c b/Source/portable/oWatcom/16BitDOS/Flsh186/port.c
index db654f0..d758002 100644
--- a/Source/portable/oWatcom/16BitDOS/Flsh186/port.c
+++ b/Source/portable/oWatcom/16BitDOS/Flsh186/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -80,15 +81,15 @@
 /*lint -e950 Non ANSI reserved words okay in this file only. */

 

 #define portTIMER_EOI_TYPE		( 8 )

-#define portRESET_PIC()			portOUTPUT_WORD( ( unsigned portSHORT ) 0xff22, portTIMER_EOI_TYPE )

+#define portRESET_PIC()			portOUTPUT_WORD( ( unsigned short ) 0xff22, portTIMER_EOI_TYPE )

 #define portTIMER_INT_NUMBER	0x12

 

-#define portTIMER_1_CONTROL_REGISTER	( ( unsigned portSHORT ) 0xff5e )

-#define portTIMER_0_CONTROL_REGISTER	( ( unsigned portSHORT ) 0xff56 )

-#define portTIMER_INTERRUPT_ENABLE		( ( unsigned portSHORT ) 0x2000 )

+#define portTIMER_1_CONTROL_REGISTER	( ( unsigned short ) 0xff5e )

+#define portTIMER_0_CONTROL_REGISTER	( ( unsigned short ) 0xff56 )

+#define portTIMER_INTERRUPT_ENABLE		( ( unsigned short ) 0x2000 )

 

 /* Setup the hardware to generate the required tick frequency. */

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz );

+static void prvSetTickFrequency( unsigned long ulTickRateHz );

 

 /* Set the hardware back to the state as per before the scheduler started. */

 static void prvExitFunction( void );

@@ -109,7 +110,7 @@
 /*lint -e956 File scopes necessary here. */

 

 /* Set true when the vectors are set so the scheduler will service the tick. */

-static portSHORT sSchedulerRunning = pdFALSE;

+static short sSchedulerRunning = pdFALSE;

 

 /* Points to the original routine installed on the vector we use for manual context switches.  This is then used to restore the original routine during prvExitFunction(). */

 static void ( __interrupt __far *pxOldSwitchISR )();

@@ -207,8 +208,8 @@
 

 static void prvExitFunction( void )

 {

-const unsigned portSHORT usTimerDisable = 0x0000;

-unsigned portSHORT usTimer0Control;

+const unsigned short usTimerDisable = 0x0000;

+unsigned short usTimer0Control;

 

 	/* Interrupts should be disabled here anyway - but no 

 	harm in making sure. */

@@ -240,23 +241,23 @@
 }

 /*-----------------------------------------------------------*/

 

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz )

+static void prvSetTickFrequency( unsigned long ulTickRateHz )

 {

-const unsigned portSHORT usMaxCountRegister = 0xff5a;

-const unsigned portSHORT usTimerPriorityRegister = 0xff32;

-const unsigned portSHORT usTimerEnable = 0xC000;

-const unsigned portSHORT usRetrigger = 0x0001;

-const unsigned portSHORT usTimerHighPriority = 0x0000;

-unsigned portSHORT usTimer0Control;

+const unsigned short usMaxCountRegister = 0xff5a;

+const unsigned short usTimerPriorityRegister = 0xff32;

+const unsigned short usTimerEnable = 0xC000;

+const unsigned short usRetrigger = 0x0001;

+const unsigned short usTimerHighPriority = 0x0000;

+unsigned short usTimer0Control;

 

 /* ( CPU frequency / 4 ) / clock 2 max count [inpw( 0xff62 ) = 7] */

 

-const unsigned portLONG ulClockFrequency = 0x7f31a0;

+const unsigned long ulClockFrequency = 0x7f31a0;

 

-unsigned portLONG ulTimerCount = ulClockFrequency / ulTickRateHz;

+unsigned long ulTimerCount = ulClockFrequency / ulTickRateHz;

 

 	portOUTPUT_WORD( portTIMER_1_CONTROL_REGISTER, usTimerEnable | portTIMER_INTERRUPT_ENABLE | usRetrigger );

-	portOUTPUT_WORD( usMaxCountRegister, ( unsigned portSHORT ) ulTimerCount );

+	portOUTPUT_WORD( usMaxCountRegister, ( unsigned short ) ulTimerCount );

 	portOUTPUT_WORD( usTimerPriorityRegister, usTimerHighPriority );

 

 	/* Stop the DOS tick - don't do this if you want to maintain a TOD clock. */

diff --git a/Source/portable/oWatcom/16BitDOS/Flsh186/portmacro.h b/Source/portable/oWatcom/16BitDOS/Flsh186/portmacro.h
index 9edc830..08c931b 100644
--- a/Source/portable/oWatcom/16BitDOS/Flsh186/portmacro.h
+++ b/Source/portable/oWatcom/16BitDOS/Flsh186/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/oWatcom/16BitDOS/PC/port.c b/Source/portable/oWatcom/16BitDOS/PC/port.c
index 082edd2..109e5d7 100644
--- a/Source/portable/oWatcom/16BitDOS/PC/port.c
+++ b/Source/portable/oWatcom/16BitDOS/PC/port.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

@@ -88,7 +89,7 @@
 #define portTIMER_INT_NUMBER	0x08

 

 /* Setup hardware for required tick interrupt rate. */

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz );

+static void prvSetTickFrequency( unsigned long ulTickRateHz );

 

 /* Restore hardware to as it was prior to starting the scheduler. */

 static void prvExitFunction( void );

@@ -119,10 +120,10 @@
 /*lint -e956 File scopes necessary here. */

 

 /* Used to signal when to chain to the DOS tick, and when to just clear the PIC ourselves. */

-static portSHORT sDOSTickCounter;							

+static short sDOSTickCounter;							

 

 /* Set true when the vectors are set so the scheduler will service the tick. */

-static portSHORT sSchedulerRunning = pdFALSE;				

+static short sSchedulerRunning = pdFALSE;				

 

 /* Points to the original routine installed on the vector we use for manual context switches.  This is then used to restore the original routine during prvExitFunction(). */

 static void ( __interrupt __far *pxOldSwitchISR )();		

@@ -237,7 +238,7 @@
 	--sDOSTickCounter;

 	if( sDOSTickCounter <= 0 )

 	{

-		sDOSTickCounter = ( portSHORT ) portTICKS_PER_DOS_TICK;

+		sDOSTickCounter = ( short ) portTICKS_PER_DOS_TICK;

 		__asm{ int	portSWITCH_INT_NUMBER + 1 };		 

 	}

 	else

@@ -292,29 +293,29 @@
 }

 /*-----------------------------------------------------------*/

 

-static void prvSetTickFrequency( unsigned portLONG ulTickRateHz )

+static void prvSetTickFrequency( unsigned long ulTickRateHz )

 {

-const unsigned portSHORT usPIT_MODE = ( unsigned portSHORT ) 0x43;

-const unsigned portSHORT usPIT0 = ( unsigned portSHORT ) 0x40;

-const unsigned portLONG ulPIT_CONST = ( unsigned portLONG ) 1193180;

-const unsigned portSHORT us8254_CTR0_MODE3 = ( unsigned portSHORT ) 0x36;

-unsigned portLONG ulOutput;

+const unsigned short usPIT_MODE = ( unsigned short ) 0x43;

+const unsigned short usPIT0 = ( unsigned short ) 0x40;

+const unsigned long ulPIT_CONST = ( unsigned long ) 1193180;

+const unsigned short us8254_CTR0_MODE3 = ( unsigned short ) 0x36;

+unsigned long ulOutput;

 

 	/* Setup the 8245 to tick at the wanted frequency. */

 	portOUTPUT_BYTE( usPIT_MODE, us8254_CTR0_MODE3 );

 	ulOutput = ulPIT_CONST / ulTickRateHz;

    

-	portOUTPUT_BYTE( usPIT0, ( unsigned portSHORT )( ulOutput & ( unsigned portLONG ) 0xff ) );

+	portOUTPUT_BYTE( usPIT0, ( unsigned short )( ulOutput & ( unsigned long ) 0xff ) );

 	ulOutput >>= 8;

-	portOUTPUT_BYTE( usPIT0, ( unsigned portSHORT ) ( ulOutput & ( unsigned portLONG ) 0xff ) );

+	portOUTPUT_BYTE( usPIT0, ( unsigned short ) ( ulOutput & ( unsigned long ) 0xff ) );

 }

 /*-----------------------------------------------------------*/

 

 static void prvSetTickFrequencyDefault( void )

 {

-const unsigned portSHORT usPIT_MODE = ( unsigned portSHORT ) 0x43;

-const unsigned portSHORT usPIT0 = ( unsigned portSHORT ) 0x40;

-const unsigned portSHORT us8254_CTR0_MODE3 = ( unsigned portSHORT ) 0x36;

+const unsigned short usPIT_MODE = ( unsigned short ) 0x43;

+const unsigned short usPIT0 = ( unsigned short ) 0x40;

+const unsigned short us8254_CTR0_MODE3 = ( unsigned short ) 0x36;

 

 	portOUTPUT_BYTE( usPIT_MODE, us8254_CTR0_MODE3 );

 	portOUTPUT_BYTE( usPIT0,0 );

diff --git a/Source/portable/oWatcom/16BitDOS/PC/portmacro.h b/Source/portable/oWatcom/16BitDOS/PC/portmacro.h
index bc2ba0a..7457de9 100644
--- a/Source/portable/oWatcom/16BitDOS/PC/portmacro.h
+++ b/Source/portable/oWatcom/16BitDOS/PC/portmacro.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #ifndef PORTMACRO_H

diff --git a/Source/portable/oWatcom/16BitDOS/common/portasm.h b/Source/portable/oWatcom/16BitDOS/common/portasm.h
index 493dcf6..d386453 100644
--- a/Source/portable/oWatcom/16BitDOS/common/portasm.h
+++ b/Source/portable/oWatcom/16BitDOS/common/portasm.h
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 typedef void tskTCB;

diff --git a/Source/portable/oWatcom/16BitDOS/common/portcomn.c b/Source/portable/oWatcom/16BitDOS/common/portcomn.c
index fe1c805..2a1d3e4 100644
--- a/Source/portable/oWatcom/16BitDOS/common/portcomn.c
+++ b/Source/portable/oWatcom/16BitDOS/common/portcomn.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under 

-	the terms of the GNU General Public License (version 2) as published by the 

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the 

-	source code for proprietary components outside of the FreeRTOS kernel.  

-	Alternative commercial license and support terms are also available upon 

-	request.  See the licensing section of http://www.FreeRTOS.org for full 

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*                                                                         *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!          *

-	* See http://www.FreeRTOS.org/Documentation for details                   *

-	*                                                                         *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 /*

diff --git a/Source/queue.c b/Source/queue.c
index 3bc2ade..8bb4f90 100644
--- a/Source/queue.c
+++ b/Source/queue.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */

 

 #include <stdlib.h>

diff --git a/Source/tasks.c b/Source/tasks.c
index 1005895..9bc5d46 100644
--- a/Source/tasks.c
+++ b/Source/tasks.c
@@ -1,48 +1,49 @@
 /*

-	FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.

+    FreeRTOS V6.0.0 - Copyright (C) 2009 Real Time Engineers Ltd.

 

-	This file is part of the FreeRTOS distribution.

+    This file is part of the FreeRTOS distribution.

 

-	FreeRTOS is free software; you can redistribute it and/or modify it	under

-	the terms of the GNU General Public License (version 2) as published by the

-	Free Software Foundation and modified by the FreeRTOS exception.

-	**NOTE** The exception to the GPL is included to allow you to distribute a

-	combined work that includes FreeRTOS without being obliged to provide the

-	source code for proprietary components outside of the FreeRTOS kernel.

-	Alternative commercial license and support terms are also available upon

-	request.  See the licensing section of http://www.FreeRTOS.org for full

-	license details.

+    FreeRTOS is free software; you can redistribute it and/or modify it    under

+    the terms of the GNU General Public License (version 2) as published by the

+    Free Software Foundation and modified by the FreeRTOS exception.

+    **NOTE** The exception to the GPL is included to allow you to distribute a

+    combined work that includes FreeRTOS without being obliged to provide the

+    source code for proprietary components outside of the FreeRTOS kernel.

+    Alternative commercial license and support terms are also available upon

+    request.  See the licensing section of http://www.FreeRTOS.org for full

+    license details.

 

-	FreeRTOS is distributed in the hope that it will be useful,	but WITHOUT

-	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

-	FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

-	more details.

+    FreeRTOS is distributed in the hope that it will be useful,    but WITHOUT

+    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or

+    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for

+    more details.

 

-	You should have received a copy of the GNU General Public License along

-	with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

-	Temple Place, Suite 330, Boston, MA  02111-1307  USA.

+    You should have received a copy of the GNU General Public License along

+    with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59

+    Temple Place, Suite 330, Boston, MA  02111-1307  USA.

 

 

-	***************************************************************************

-	*																		 *

-	* Looking for a quick start?  Then check out the FreeRTOS eBook!		  *

-	* See http://www.FreeRTOS.org/Documentation for details				   *

-	*																		 *

-	***************************************************************************

+    ***************************************************************************

+    *                                                                         *

+    * The FreeRTOS eBook and reference manual are available to purchase for a *

+    * small fee. Help yourself get started quickly while also helping the     *

+    * FreeRTOS project! See http://www.FreeRTOS.org/Documentation for details *

+    *                                                                         *

+    ***************************************************************************

 

-	1 tab == 4 spaces!

+    1 tab == 4 spaces!

 

-	Please ensure to read the configuration and relevant port sections of the

-	online documentation.

+    Please ensure to read the configuration and relevant port sections of the

+    online documentation.

 

-	http://www.FreeRTOS.org - Documentation, latest information, license and

-	contact details.

+    http://www.FreeRTOS.org - Documentation, latest information, license and

+    contact details.

 

-	http://www.SafeRTOS.com - A version that is certified for use in safety

-	critical systems.

+    http://www.SafeRTOS.com - A version that is certified for use in safety

+    critical systems.

 

-	http://www.OpenRTOS.com - Commercial support, development, porting,

-	licensing and training services.

+    http://www.OpenRTOS.com - Commercial support, development, porting,

+    licensing and training services.

 */