?? algrf_setup.c
字號(hào):
/*
* Copyright 2002 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.00.00 11-14-02 (swat-c17)" */
/*
* ======== algrf_setup.c ========
*/
#pragma CODE_SECTION(ALGRF_setup, ".text:setup")
#include <std.h>
#include <atm.h>
#include <algrf.h>
ALGRF_Config ALGRF_config = {
0, /* default segment for Internal Heap */
0, /* default segment for External Heap */
};
ALGRF_Config* ALGRF = &ALGRF_config;
/*
* ======== ALGRF_setup ========
* Configure the system to use the selected heaps.
*
*/
Void ALGRF_setup(Int internalHeap, Int externalHeap)
{
static Int firstTime = TRUE;
/* Only set the first time. */
if (ATM_seti(&firstTime, FALSE) == TRUE) {
ALGRF->INTHEAP = internalHeap;
ALGRF->EXTHEAP = externalHeap;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -