📄 sscr_exit.c
字号:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) ReferenceFrameworks 2.20.00.08 07-18-03 (swat-f02)" */
/*
* ======== sscr_exit.c ========
* SSCR's exit file.
*/
#pragma CODE_SECTION(SSCR_exit, ".text:exit")
#include <std.h>
#include <mem.h>
#include <sscr.h>
/*
* ======== SSCR_exit ========
* The SSCR module exit. Release the resources used and set into
* a known state.
*/
Void SSCR_exit(Void)
{
/*
* Free _SSCR_bucketList. The _SSCR_bucketList is always allocated
* from the DSP/BIOS Objects segment which is guaranted to be 0.
*/
MEM_free(0, _SSCR_bucketList, (sizeof(SSCR_Bucket) * _SSCR_bucketCnt));
/* Set the globals back to an initial state. */
_SSCR_heapId = _SSCR_INVALIDHEAP;
_SSCR_bucketCnt = 0;
_SSCR_bucketList = NULL;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -