beautypg.com

Pciopensync, Pciclosesync, Pciputsync – Sundance SMT6025 v.2.9 User Manual

Page 34: Pciputdone

background image

Version 2.9

Page 34 of 45

SMT6025 User Manual

15.7.6 PciOpenSync

This function locks and associates the memory specified with the HSC
object. This function blocks until the DSP sends a

HSC_OpenPci

command to the host.

Prototype

void * HscDflt::PciOpenSync (UINT Bytes, void *pMem,

bool bLocked=false)

Parameters

nBytes

The size of the memory pointed to by pMem.

pMem

Points to the host memory that is to be associated
with this channel.

bLocked

Specifies that the memory pointed to by pMem has
already been locked, and should not be unlocked
when the channel is closed later on.

15.7.7 PciCloseSync

This function disassociates the host memory previously associated by
calling PciOpenSync(). This function blocks until the DSP sends a
HSC_ClosePci command to the host. This is used to synchronise the
controlled shutdown of the host side program.

Prototype

void HscDflt::PciCloseSync (void)

Parameters

None

15.7.8 PciPutSync

Initiate a write to the PCI memory for this high-speed-channel.

Prototype

UINT HscDflt::PciPutSync (void)

Parameters

None

Return value

The number bytes actually asked for by the DSP.

15.7.9 PciPutDone

Complete a write to PCI memory operation for this HSC object.

Prototype

User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002

This manual is related to the following products: