全てを折りたたみ
AG903ライブラリリファレンス
AG903_VRAMMgrMalloc 関数
vrammgr.c
VRAM Manager
Body Source
可変長メモリ獲得
Syntax
C++
void
*
AG903_VRAMMgrMalloc
(int32_t
mplid
, uint32_t
blksz
);
ファイル
vrammgr.c
引数
引数
説明
int32_t mplid
[in] メモリプールID番号
uint32_t blksz
[in] メモリブロックサイズ(バイト数)
返値
可変長メモリ獲得結果
返値の詳細
返値の詳細
説明
獲得したメモリブロックへのポインタ
NULL:獲得失敗
説明
可変長メモリを獲得します。 (
AG903_OSWprGetMpl
を呼び出します。)
本文ソース
コピコード
1:
void
* AG903_VRAMMgrMalloc(int32_t mplid, uint32_t blksz) 2: { 3: int32_t result; 4:
void
* p_blk; 5: 6: result =
AG903_OSWprGetMpl
(mplid, blksz, &p_blk); 7:
if
(
AG903_ENONE
!= result) { 8: p_blk = NULL; 9: } 10: 11:
return
p_blk; 12: }
グループ
VRAM Manager
リンク
vrammgr.c
,
VRAM Manager
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム