From d52158ab0bfe859bd8f8a8ef165fc93a10b473f9 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 1 Aug 2011 08:07:44 +0000 Subject: [PATCH] Remove vTaskCleanUpResources() calls. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1528 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/portable/BCC/16BitDOS/Flsh186/port.c | 5 ----- Source/portable/BCC/16BitDOS/PC/port.c | 5 ----- Source/portable/oWatcom/16BitDOS/Flsh186/port.c | 5 ----- Source/portable/oWatcom/16BitDOS/PC/port.c | 5 ----- 4 files changed, 20 deletions(-) diff --git a/Source/portable/BCC/16BitDOS/Flsh186/port.c b/Source/portable/BCC/16BitDOS/Flsh186/port.c index 718530979..69e33c14c 100644 --- a/Source/portable/BCC/16BitDOS/Flsh186/port.c +++ b/Source/portable/BCC/16BitDOS/Flsh186/port.c @@ -236,11 +236,6 @@ unsigned short usTimer0Control; portENABLE_INTERRUPTS(); - - /* This will free up all the memory used by the scheduler. - exiting back to dos with INT21 AH=4CH will do this anyway so - it is not necessary to call this. */ - vTaskCleanUpResources(); } /*-----------------------------------------------------------*/ diff --git a/Source/portable/BCC/16BitDOS/PC/port.c b/Source/portable/BCC/16BitDOS/PC/port.c index 83cb64e4f..4aff544c9 100644 --- a/Source/portable/BCC/16BitDOS/PC/port.c +++ b/Source/portable/BCC/16BitDOS/PC/port.c @@ -277,11 +277,6 @@ void ( __interrupt __far *pxOriginalTickISR )(); /* The tick timer is back how DOS wants it. We can re-enable interrupts without the scheduler being called. */ portENABLE_INTERRUPTS(); - - /* This will free up all the memory used by the scheduler. - exiting back to dos with INT21 AH=4CH will do this anyway so - it is not necessary to call this. */ - vTaskCleanUpResources(); } /*-----------------------------------------------------------*/ diff --git a/Source/portable/oWatcom/16BitDOS/Flsh186/port.c b/Source/portable/oWatcom/16BitDOS/Flsh186/port.c index e139cb17d..996f18f3c 100644 --- a/Source/portable/oWatcom/16BitDOS/Flsh186/port.c +++ b/Source/portable/oWatcom/16BitDOS/Flsh186/port.c @@ -238,11 +238,6 @@ unsigned short usTimer0Control; portENABLE_INTERRUPTS(); - - /* This will free up all the memory used by the scheduler. - exiting back to dos with INT21 AH=4CH will do this anyway so - it is not necessary to call this. */ - vTaskCleanUpResources(); } /*-----------------------------------------------------------*/ diff --git a/Source/portable/oWatcom/16BitDOS/PC/port.c b/Source/portable/oWatcom/16BitDOS/PC/port.c index 71ec0dbac..4770190b0 100644 --- a/Source/portable/oWatcom/16BitDOS/PC/port.c +++ b/Source/portable/oWatcom/16BitDOS/PC/port.c @@ -290,11 +290,6 @@ void ( __interrupt __far *pxOriginalTickISR )(); /* The tick timer is back how DOS wants it. We can re-enable interrupts without the scheduler being called. */ portENABLE_INTERRUPTS(); - - /* This will free up all the memory used by the scheduler. - exiting back to dos with INT21 AH=4CH will do this anyway so - it is not necessary to call this. */ - vTaskCleanUpResources(); } /*-----------------------------------------------------------*/ -- 2.39.5