From a548ef34f83a89c56429c36801f280efcb016bc6 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 1 Aug 2011 08:07:44 +0000 Subject: [PATCH] Remove vTaskCleanUpResources() calls. --- 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(); } /*-----------------------------------------------------------*/