AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_OSWCMpl 構造体
Syntax
C++
typedef struct _AG903_OSWCMpl { uint32_t mplatr; uint32_t mplsz; void* mpl; int8_t memtype; int8_t reserve[3]; } AG903_OSWCMpl;
メンバ 
説明 
uint32_t mplatr; 
属性 
uint32_t mplsz; 
メモリプールのサイズ[バイト] 
void* mpl; 
メモリプール領域の先頭番地 
int8_t memtype; 
メモリタイプ 
int8_t reserve[3]; 
予約 

可変長メモリパラメータ 

mplatr は右から指定します。 _AG903_OswAttribute 

mpl にNULLを指定した場合はカーネルがメモリを確保します。 この時 memtype の設定は無効になります。(カーネルが使用する領域の設定に依存) 

memtype は右から指定します。 _AG903_OswMemType 

注:mpl でアドレス指定時、内部では4KB単位でメモリプールが作成されます。(端数切り上げ)

Copyright (c) 2017-2025 Axell Corporation. All rights reserved.