00001
00043 #if !defined (DRV_PMGR_H)
00044 #define DRV_PMGR_H
00045
00046
00047 #if defined (__cplusplus)
00048 extern "C" {
00049 #endif
00050
00051
00052 #include <linux/ioctl.h>
00053
00054
00055 #include <dsplink.h>
00056 #include <_dsplink.h>
00057 #include <procdefs.h>
00058 #include <linkcfgdefs.h>
00059 #include <_idm_usr.h>
00060 #if defined (POOL_COMPONENT)
00061 #include <pooldefs.h>
00062 #endif
00063 #if defined (MSGQ_COMPONENT)
00064 #include <msgqdefs.h>
00065 #endif
00066 #if defined (CHNL_COMPONENT)
00067 #include <chnldefs.h>
00068 #endif
00069 #if defined (RINGIO_COMPONENT)
00070 #include <_ringiodefs.h>
00071 #include <ringiodefs.h>
00072 #endif
00073 #if defined (MPCS_COMPONENT)
00074 #include <mpcsdefs.h>
00075 #endif
00076 #if defined (MPLIST_COMPONENT)
00077 #include <mplistdefs.h>
00078 #endif
00079
00080
00081 #if defined (DDSP_PROFILE)
00082 #include <profile.h>
00083 #endif
00084
00085
00086
00087
00088
00089
00090
00091 #define GROUP_BASE_CMD 0xe0
00092
00093
00094
00095
00096
00097
00098
00099 #define BASE_CMD 0x10
00100
00101
00102
00103
00104
00105
00106
00107 #define CMD_PROC_SETUP _IOWR(GROUP_BASE_CMD,\
00108 BASE_CMD + 1u,\
00109 CMD_Args)
00110
00111 #define CMD_PROC_DESTROY _IOWR(GROUP_BASE_CMD,\
00112 BASE_CMD + 2u,\
00113 CMD_Args)
00114
00115
00116 #define CMD_PROC_START _IOWR(GROUP_BASE_CMD,\
00117 BASE_CMD + 3u,\
00118 CMD_Args)
00119
00120 #define CMD_PROC_STOP _IOWR(GROUP_BASE_CMD,\
00121 BASE_CMD + 4u,\
00122 CMD_Args)
00123
00124 #define CMD_PROC_LOAD _IOWR(GROUP_BASE_CMD,\
00125 BASE_CMD + 5u,\
00126 CMD_Args)
00127
00128 #define CMD_PROC_LOADSECTION _IOWR(GROUP_BASE_CMD,\
00129 BASE_CMD + 6u,\
00130 CMD_Args)
00131
00132 #define CMD_PROC_DETACH _IOWR(GROUP_BASE_CMD,\
00133 BASE_CMD + 7u,\
00134 CMD_Args)
00135
00136 #define CMD_PROC_ATTACH _IOWR(GROUP_BASE_CMD,\
00137 BASE_CMD + 8u,\
00138 CMD_Args)
00139
00140 #define CMD_PROC_GETSTATE _IOWR(GROUP_BASE_CMD,\
00141 BASE_CMD + 9u,\
00142 CMD_Args)
00143
00144 #define CMD_PROC_CONTROL _IOWR(GROUP_BASE_CMD,\
00145 BASE_CMD + 10u,\
00146 CMD_Args)
00147
00148 #define CMD_PROC_READ _IOWR(GROUP_BASE_CMD,\
00149 BASE_CMD + 11u,\
00150 CMD_Args)
00151
00152 #define CMD_PROC_WRITE _IOWR(GROUP_BASE_CMD,\
00153 BASE_CMD + 12u,\
00154 CMD_Args)
00155
00156 #define CMD_PROC_GETSYMBOLADDRESS _IOWR(GROUP_BASE_CMD,\
00157 BASE_CMD + 13u,\
00158 CMD_Args)
00159
00160 #define CMD_PROC_SENDTERMEVT _IOWR(GROUP_BASE_CMD,\
00161 BASE_CMD + 14u,\
00162 CMD_Args)
00163
00164 #define CMD_PROC_ISLASTDESTROY _IOWR(GROUP_BASE_CMD,\
00165 BASE_CMD + 15u,\
00166 CMD_Args)
00167
00168 #define CMD_PROC_ISLASTDETACH _IOWR(GROUP_BASE_CMD,\
00169 BASE_CMD + 16u,\
00170 CMD_Args)
00171
00172
00173 #if defined (DDSP_PROFILE)
00174 #define CMD_PROC_INSTRUMENT _IOWR(GROUP_BASE_CMD,\
00175 BASE_CMD + 17u,\
00176 CMD_Args)
00177
00178 #endif
00179
00180 #if defined (DDSP_DEBUG)
00181 #define CMD_PROC_DEBUG _IOWR(GROUP_BASE_CMD,\
00182 BASE_CMD + 18u,\
00183 CMD_Args)
00184
00185 #endif
00186
00187 #define CMD_PROC_CLEANUP _IOWR(GROUP_BASE_CMD,\
00188 BASE_CMD + 19u,\
00189 CMD_Args)
00190
00191 #define CMD_PROC_ADDRTRANSLATE _IOWR(GROUP_BASE_CMD,\
00192 BASE_CMD + 20u,\
00193 CMD_Args)
00194
00195
00196
00197 #if defined (CHNL_COMPONENT)
00198
00199
00200
00201
00202
00203
00204 #define CMD_CHNL_CREATE _IOWR(GROUP_BASE_CMD,\
00205 BASE_CMD + 21u,\
00206 CMD_Args)
00207
00208 #define CMD_CHNL_DELETE _IOWR(GROUP_BASE_CMD,\
00209 BASE_CMD + 22u,\
00210 CMD_Args)
00211
00212 #define CMD_CHNL_ISSUE _IOWR(GROUP_BASE_CMD,\
00213 BASE_CMD + 23u,\
00214 CMD_Args)
00215
00216 #define CMD_CHNL_RECLAIM _IOWR(GROUP_BASE_CMD,\
00217 BASE_CMD + 24u,\
00218 CMD_Args)
00219
00220 #define CMD_CHNL_ALLOCATEBUFFER _IOWR(GROUP_BASE_CMD,\
00221 BASE_CMD + 25u,\
00222 CMD_Args)
00223
00224 #define CMD_CHNL_FREEBUFFER _IOWR(GROUP_BASE_CMD,\
00225 BASE_CMD + 26u,\
00226 CMD_Args)
00227
00228 #define CMD_CHNL_IDLE _IOWR(GROUP_BASE_CMD,\
00229 BASE_CMD + 27u,\
00230 CMD_Args)
00231
00232 #define CMD_CHNL_FLUSH _IOWR(GROUP_BASE_CMD,\
00233 BASE_CMD + 28u,\
00234 CMD_Args)
00235
00236 #define CMD_CHNL_CONTROL _IOWR(GROUP_BASE_CMD,\
00237 BASE_CMD + 29u,\
00238 CMD_Args)
00239
00240
00241
00242 #if defined (DDSP_PROFILE)
00243 #define CMD_CHNL_INSTRUMENT _IOWR(GROUP_BASE_CMD,\
00244 BASE_CMD + 30u,\
00245 CMD_Args)
00246
00247 #endif
00248
00249
00250 #if defined (DDSP_DEBUG)
00251 #define CMD_CHNL_DEBUG _IOWR(GROUP_BASE_CMD,\
00252 BASE_CMD + 31u,\
00253 CMD_Args)
00254
00255 #endif
00256 #endif
00257
00258
00259
00260
00261
00262
00263
00264
00265 #if defined (CHNL_COMPONENT)
00266 #define CMD_DRV_GETCHNLMAPTABLE_ADDRESS _IOWR(GROUP_BASE_CMD,\
00267 BASE_CMD + 32u,\
00268 CMD_Args)
00269
00270 #endif
00271
00272
00273 #if defined (MSGQ_COMPONENT)
00274
00275
00276
00277
00278
00279
00280 #define CMD_MSGQ_TRANSPORTOPEN _IOWR(GROUP_BASE_CMD,\
00281 BASE_CMD + 33u,\
00282 CMD_Args)
00283
00284 #define CMD_MSGQ_TRANSPORTCLOSE _IOWR(GROUP_BASE_CMD,\
00285 BASE_CMD + 34u,\
00286 CMD_Args)
00287
00288 #define CMD_MSGQ_OPEN _IOWR(GROUP_BASE_CMD,\
00289 BASE_CMD + 35u,\
00290 CMD_Args)
00291
00292 #define CMD_MSGQ_CLOSE _IOWR(GROUP_BASE_CMD,\
00293 BASE_CMD + 36u,\
00294 CMD_Args)
00295
00296 #define CMD_MSGQ_LOCATE _IOWR(GROUP_BASE_CMD,\
00297 BASE_CMD + 37u,\
00298 CMD_Args)
00299
00300 #define CMD_MSGQ_LOCATEASYNC _IOWR(GROUP_BASE_CMD,\
00301 BASE_CMD + 38u,\
00302 CMD_Args)
00303
00304 #define CMD_MSGQ_RELEASE _IOWR(GROUP_BASE_CMD,\
00305 BASE_CMD + 39u,\
00306 CMD_Args)
00307
00308 #define CMD_MSGQ_ALLOC _IOWR(GROUP_BASE_CMD,\
00309 BASE_CMD + 40u,\
00310 CMD_Args)
00311
00312 #define CMD_MSGQ_FREE _IOWR(GROUP_BASE_CMD,\
00313 BASE_CMD + 41u,\
00314 CMD_Args)
00315
00316 #define CMD_MSGQ_PUT _IOWR(GROUP_BASE_CMD,\
00317 BASE_CMD + 42u,\
00318 CMD_Args)
00319
00320 #define CMD_MSGQ_GET _IOWR(GROUP_BASE_CMD,\
00321 BASE_CMD + 43u,\
00322 CMD_Args)
00323
00324 #define CMD_MSGQ_SETERRORHANDLER _IOWR(GROUP_BASE_CMD,\
00325 BASE_CMD + 44u,\
00326 CMD_Args)
00327
00328 #define CMD_MSGQ_COUNT _IOWR(GROUP_BASE_CMD,\
00329 BASE_CMD + 45u,\
00330 CMD_Args)
00331
00332
00333
00334 #if defined (DDSP_PROFILE)
00335 #define CMD_MSGQ_INSTRUMENT _IOWR(GROUP_BASE_CMD,\
00336 BASE_CMD + 46u,\
00337 CMD_Args)
00338
00339 #endif
00340
00341
00342 #if defined (DDSP_DEBUG)
00343 #define CMD_MSGQ_DEBUG _IOWR(GROUP_BASE_CMD,\
00344 BASE_CMD + 47u,\
00345 CMD_Args)
00346
00347 #endif
00348
00349
00350 #endif
00351
00352
00353
00354
00355
00356
00357
00358 #define CMD_POOL_OPEN _IOWR(GROUP_BASE_CMD,\
00359 BASE_CMD + 48u,\
00360 CMD_Args)
00361
00362 #define CMD_POOL_CLOSE _IOWR(GROUP_BASE_CMD,\
00363 BASE_CMD + 49u,\
00364 CMD_Args)
00365
00366 #define CMD_POOL_ALLOC _IOWR(GROUP_BASE_CMD,\
00367 BASE_CMD + 50u,\
00368 CMD_Args)
00369
00370 #define CMD_POOL_FREE _IOWR(GROUP_BASE_CMD,\
00371 BASE_CMD + 51u,\
00372 CMD_Args)
00373
00374 #define CMD_POOL_TRANSLATEADDR _IOWR(GROUP_BASE_CMD,\
00375 BASE_CMD + 52u,\
00376 CMD_Args)
00377
00378 #define CMD_POOL_RECONFIGURE _IOWR(GROUP_BASE_CMD,\
00379 BASE_CMD + 53u,\
00380 CMD_Args)
00381
00382 #define CMD_POOL_WRITEBACK _IOWR(GROUP_BASE_CMD,\
00383 BASE_CMD + 54u,\
00384 CMD_Args)
00385
00386 #define CMD_POOL_INVALIDATE _IOWR(GROUP_BASE_CMD,\
00387 BASE_CMD + 55u,\
00388 CMD_Args)
00389
00390
00391 #if defined (MPCS_COMPONENT)
00392
00393
00394
00395
00396
00397
00398 #define CMD_MPCS_MAPREGION _IOWR(GROUP_BASE_CMD,\
00399 BASE_CMD + 56u,\
00400 CMD_Args)
00401
00402 #define CMD_MPCS_UNMAPREGION _IOWR(GROUP_BASE_CMD,\
00403 BASE_CMD + 57u,\
00404 CMD_Args)
00405
00406 #endif
00407
00408
00409
00410
00411
00412
00413
00414 #define CMD_NOTIFY_INITIALIZE _IOWR(GROUP_BASE_CMD,\
00415 BASE_CMD + 58u,\
00416 CMD_Args)
00417
00418 #define CMD_NOTIFY_FINALIZE _IOWR(GROUP_BASE_CMD,\
00419 BASE_CMD + 59u,\
00420 CMD_Args)
00421
00422 #define CMD_NOTIFY_REGISTER _IOWR(GROUP_BASE_CMD,\
00423 BASE_CMD + 60u,\
00424 CMD_Args)
00425
00426 #define CMD_NOTIFY_UNREGISTER _IOWR(GROUP_BASE_CMD,\
00427 BASE_CMD + 61u,\
00428 CMD_Args)
00429
00430 #define CMD_NOTIFY_NOTIFY _IOWR(GROUP_BASE_CMD,\
00431 BASE_CMD + 62u,\
00432 CMD_Args)
00433
00434
00435 #if defined (DDSP_PROFILE)
00436 #define CMD_NOTIFY_INSTRUMENT _IOWR(GROUP_BASE_CMD,\
00437 BASE_CMD + 63u,\
00438 CMD_Args)
00439
00440 #endif
00441
00442
00443
00444
00445
00446
00447
00448 #define CMD_RINGIO_MAPREGION _IOWR(GROUP_BASE_CMD,\
00449 BASE_CMD + 64u,\
00450 CMD_Args)
00451
00452 #define CMD_RINGIO_UNMAPREGION _IOWR(GROUP_BASE_CMD,\
00453 BASE_CMD + 65u,\
00454 CMD_Args)
00455
00456
00457
00458
00459
00460
00461
00462
00463 #define CMD_MPLIST_MAPREGION _IOWR(GROUP_BASE_CMD,\
00464 BASE_CMD + 66u,\
00465 CMD_Args)
00466
00467 #define CMD_MPLIST_UNMAPREGION _IOWR(GROUP_BASE_CMD,\
00468 BASE_CMD + 67u,\
00469 CMD_Args)
00470
00471
00472
00473
00474
00475
00476
00477
00478 #define CMD_IDM_INIT _IOWR(GROUP_BASE_CMD,\
00479 BASE_CMD + 68u,\
00480 CMD_Args)
00481
00482 #define CMD_IDM_EXIT _IOWR(GROUP_BASE_CMD,\
00483 BASE_CMD + 69u,\
00484 CMD_Args)
00485
00486 #define CMD_IDM_CREATE _IOWR(GROUP_BASE_CMD,\
00487 BASE_CMD + 70u,\
00488 CMD_Args)
00489
00490 #define CMD_IDM_DELETE _IOWR(GROUP_BASE_CMD,\
00491 BASE_CMD + 71u,\
00492 CMD_Args)
00493
00494 #define CMD_IDM_ACQUIREID _IOWR(GROUP_BASE_CMD,\
00495 BASE_CMD + 72u,\
00496 CMD_Args)
00497
00498 #define CMD_IDM_RELEASEID _IOWR(GROUP_BASE_CMD,\
00499 BASE_CMD + 73u,\
00500 CMD_Args)
00501
00502
00509 #define DRV_INITIALIZE(handle) DRV_Initialize (handle, NULL)
00510
00517 #define DRV_FINALIZE(handle) DRV_Finalize (handle, NULL)
00518
00525 #define DRV_INVOKE(handle,cmd,arg1) DRV_Invoke (handle, cmd, arg1, NULL)
00526
00527
00540 typedef struct CMD_Args_tag {
00541 DSP_STATUS apiStatus ;
00542 union {
00543 struct {
00544 LINKCFG_Object * linkCfg ;
00545 } procSetupArgs ;
00546
00547 struct {
00548 Char8 dummy ;
00549 } procDestroyArgs ;
00550
00551 struct {
00552 ProcessorId procId ;
00553 } procStartArgs ;
00554
00555 struct {
00556 ProcessorId procId ;
00557 } procStopArgs ;
00558
00559 struct {
00560 ProcessorId procId ;
00561 Char8 * symbolName ;
00562 Uint32 * dspAddr ;
00563 } procGetSymbolAddressArgs ;
00564
00565 struct {
00566 ProcessorId procId;
00567 } procSendTermEvtArgs;
00568
00569 struct {
00570 ProcessorId procId ;
00571 PROC_Attrs * attr ;
00572 } procAttachArgs ;
00573
00574 struct {
00575 ProcessorId procId ;
00576 } procDetachArgs ;
00577
00578 struct {
00579 ProcessorId procId ;
00580 Char8 * imagePath ;
00581 Uint32 argc ;
00582 Char8 ** argv ;
00583 } procLoadArgs ;
00584
00585 struct {
00586 ProcessorId procId ;
00587 Uint32 dspAddr ;
00588 Uint32 numBytes ;
00589 Pvoid buffer ;
00590 } procReadArgs ;
00591
00592 struct {
00593 ProcessorId procId ;
00594 Uint32 dspAddr ;
00595 Uint32 numBytes ;
00596 Pvoid buffer ;
00597 } procWriteArgs ;
00598
00599 struct {
00600 ProcessorId procId ;
00601 PROC_State * procState ;
00602 } procGetStateArgs ;
00603
00604 struct {
00605 ProcessorId procId ;
00606 Int32 cmd ;
00607 Pvoid arg ;
00608 } procControlArgs ;
00609
00610 struct {
00611 ProcessorId procId ;
00612 Char8 * imagePath ;
00613 Uint32 sectID ;
00614 } procLoadSectionArgs ;
00615
00616 struct {
00617 Bool lastDestroy ;
00618 } procIsLastDestroyArgs ;
00619
00620 struct {
00621 ProcessorId procId ;
00622 Bool lastDetach ;
00623 } procIsLastDetachArgs ;
00624
00625 #if defined (DDSP_PROFILE)
00626 struct {
00627 ProcessorId procId ;
00628 PROC_Instrument * procStats ;
00629 } procInstrumentArgs ;
00630 #endif
00631
00632 #if defined (DDSP_DEBUG)
00633 struct {
00634 ProcessorId procId ;
00635 } procDebugArgs ;
00636 #endif
00637
00638 struct {
00639 ProcessorId procId ;
00640 Uint32 bufAddr ;
00641 Uint32 * physAddr ;
00642 } procAddrTranslateArgs ;
00643
00644 #if defined (CHNL_COMPONENT)
00645 struct {
00646 ProcessorId procId ;
00647 ChannelId chnlId ;
00648 ChannelAttrs * attrs ;
00649 } chnlCreateArgs ;
00650
00651 struct {
00652 ProcessorId procId ;
00653 ChannelId chnlId ;
00654 } chnlDeleteArgs ;
00655
00656 struct {
00657 ProcessorId procId ;
00658 ChannelId chnlId ;
00659 ChannelIOInfo * ioReq ;
00660 } chnlIssueArgs ;
00661
00662 struct {
00663 ProcessorId procId ;
00664 ChannelId chnlId ;
00665 Uint32 timeout ;
00666 ChannelIOInfo * ioReq ;
00667 } chnlReclaimArgs ;
00668
00669 struct {
00670 ProcessorId procId ;
00671 ChannelId chnlId ;
00672 Char8 ** bufArray ;
00673 Uint32 size ;
00674 Uint32 numBufs ;
00675 } chnlAllocateBufferArgs ;
00676
00677 struct {
00678 ProcessorId procId ;
00679 ChannelId chnlId ;
00680 Char8 ** bufArray ;
00681 Uint32 numBufs ;
00682 } chnlFreeBufferArgs ;
00683
00684 struct {
00685 ProcessorId procId ;
00686 ChannelId chnlId ;
00687 } chnlFlushArgs ;
00688
00689 struct {
00690 ProcessorId procId ;
00691 ChannelId chnlId ;
00692 } chnlIdleArgs ;
00693
00694 struct {
00695 ProcessorId procId ;
00696 ChannelId chnlId ;
00697 Int32 cmd ;
00698 Pvoid arg ;
00699 } chnlControlArgs ;
00700
00701 #if defined (DDSP_PROFILE)
00702 struct {
00703 ProcessorId procId ;
00704 ChannelId chnlId ;
00705 CHNL_Instrument * chnlStats ;
00706 } chnlInstrumentArgs ;
00707 #endif
00708
00709 #if defined (DDSP_DEBUG)
00710 struct {
00711 ProcessorId procId ;
00712 ChannelId chnlId ;
00713 } chnlDebugArgs ;
00714 #endif
00715 #endif
00716
00717 struct {
00718 Void * phyAddr ;
00719 } drvPhyAddrArgs ;
00720
00721 #if defined (MSGQ_COMPONENT)
00722 struct {
00723 ProcessorId procId ;
00724 Pvoid attrs ;
00725 } msgqTransportOpenArgs ;
00726
00727 struct {
00728 ProcessorId procId ;
00729 } msgqTransportCloseArgs ;
00730
00731 struct {
00732 Pstr queueName ;
00733 MSGQ_Queue * msgqQueue ;
00734 MSGQ_Attrs * attrs ;
00735 } msgqOpenArgs ;
00736
00737 struct {
00738 MSGQ_Queue msgqQueue ;
00739 } msgqCloseArgs ;
00740
00741 struct {
00742 Pstr queueName ;
00743 MSGQ_Queue * msgqQueue ;
00744 MSGQ_LocateAttrs * attrs ;
00745 } msgqLocateArgs ;
00746
00747 struct {
00748 Pstr queueName ;
00749 MSGQ_Queue replyQueue ;
00750 MSGQ_LocateAsyncAttrs * attrs ;
00751 } msgqLocateAsyncArgs ;
00752
00753 struct {
00754 MSGQ_Queue msgqQueue ;
00755 } msgqReleaseArgs ;
00756
00757 struct {
00758 PoolId poolId ;
00759 Uint16 size ;
00760 Uint32 msgAddr ;
00761 } msgqAllocArgs ;
00762
00763 struct {
00764 MSGQ_Msg msg ;
00765 } msgqFreeArgs ;
00766
00767 struct {
00768 MSGQ_Queue msgqQueue ;
00769 MSGQ_Msg msg ;
00770 } msgqPutArgs ;
00771
00772 struct {
00773 Uint32 poolId ;
00774 MSGQ_Queue msgqQueue ;
00775 Uint32 timeout ;
00776 Uint32 msgAddr ;
00777 } msgqGetArgs ;
00778
00779 struct {
00780 MSGQ_Queue errorQueue ;
00781 PoolId poolId ;
00782 } msgqSetErrorHandlerArgs ;
00783
00784 struct {
00785 MSGQ_Queue msgqQueue ;
00786 Uint16 * count ;
00787 } msgqCountArgs ;
00788
00789 #if defined (DDSP_PROFILE)
00790 struct {
00791 MSGQ_Queue msgqQueue ;
00792 MSGQ_Instrument * retVal ;
00793 } msgqInstrumentArgs ;
00794 #endif
00795
00796 #if defined (DDSP_DEBUG)
00797 struct {
00798 MSGQ_Queue msgqQueue ;
00799 } msgqDebugArgs ;
00800 #endif
00801 #endif
00802
00803 struct {
00804 PoolId poolId ;
00805 Pvoid params ;
00806 } poolOpenArgs ;
00807
00808 struct {
00809 PoolId poolId ;
00810 } poolCloseArgs ;
00811
00812 #if defined (POOL_COMPONENT)
00813 struct {
00814 PoolId poolId ;
00815 Uint32 size ;
00816 Pvoid * bufPtr ;
00817 } poolAllocArgs ;
00818
00819 struct {
00820 PoolId poolId ;
00821 Uint32 size ;
00822 Pvoid bufPtr ;
00823 } poolFreeArgs ;
00824
00825 struct {
00826 PoolId poolId ;
00827 Pvoid * dstAddr ;
00828 AddrType dstAddrType ;
00829 Pvoid srcAddr ;
00830 AddrType srcAddrType ;
00831 } poolTranslateAddrArgs ;
00832
00833 struct {
00834 PoolId poolId ;
00835 Uint32 size ;
00836 Pvoid bufPtr ;
00837 } poolWBArgs ;
00838
00839 struct {
00840 PoolId poolId ;
00841 Uint32 size ;
00842 Pvoid bufPtr ;
00843 } poolInvArgs ;
00844 #endif
00845
00846 #if defined (RINGIO_COMPONENT)
00847 struct {
00848 RingIO_MemInfo ringioRegionArgs ;
00849 } ringIoArgs ;
00850 #endif
00851
00852 #if defined (MPLIST_COMPONENT)
00853 struct {
00854 MPLIST_MemInfo mplistRegionArgs ;
00855 } mplistArgs ;
00856 #endif
00857
00858 #if defined (MPCS_COMPONENT)
00859 struct {
00860 MPCS_MemInfo mpcsRegionArgs ;
00861 } mpcsMapArgs ;
00862 #endif
00863
00864 #if defined (NOTIFY_COMPONENT)
00865 struct {
00866 ProcessorId dspId ;
00867 } notifyInitializeArgs ;
00868
00869 struct {
00870 ProcessorId dspId ;
00871 } notifyFinalizeArgs ;
00872
00873 struct {
00874 ProcessorId dspId ;
00875 Uint32 ipsId ;
00876 Uint32 eventNo ;
00877 Pvoid fnNotifyCbck ;
00878 Pvoid cbckArg ;
00879 } notifyRegisterArgs ;
00880
00881 struct {
00882 ProcessorId dspId ;
00883 Uint32 ipsId ;
00884 Uint32 eventNo ;
00885 Pvoid fnNotifyCbck ;
00886 Pvoid cbckArg ;
00887 } notifyUnregisterArgs ;
00888
00889 struct {
00890 ProcessorId dspId ;
00891 Uint32 ipsId ;
00892 Uint32 eventNo ;
00893 Uint32 payload ;
00894 } notifyNotifyArgs ;
00895 #endif
00896
00897 #if defined (DDSP_PROFILE)
00898 struct {
00899 ProcessorId dspId ;
00900 Uint32 ipsId ;
00901 IPS_Instrument * ipsStats ;
00902 } ipsInstrumentArgs ;
00903 #endif
00904
00905 struct {
00906 Uint32 key ;
00907 IDM_Attrs * attrs ;
00908 } idmCreateArgs ;
00909
00910 struct {
00911 Uint32 key ;
00912 } idmDeleteArgs ;
00913
00914 struct {
00915 Uint32 key ;
00916 Pstr idKey ;
00917 Uint32 * id ;
00918 } idmAcquireIdArgs ;
00919
00920 struct {
00921 Uint32 key ;
00922 Uint32 id ;
00923 } idmReleaseIdArgs ;
00924 } apiArgs ;
00925 } CMD_Args ;
00926
00927
00928 #if defined (__cplusplus)
00929 }
00930 #endif
00931
00932
00933 #endif