Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

1394 on WIN2K: driver programming question

Status
Not open for further replies.

radu

Member level 2
Member level 2
Joined
May 30, 2001
Messages
51
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Baenre compound, MENZOBERRANZAN
Activity points
398
Hello all,
I'm wondering if any of you have tried to allocate an address range using the NO BACKING STORE option in windows. If so (given that you have to handle the data passing yourself with RtlCopyMemory() ), do you have any suggestions as to what kind of data structure should be used for the buffers?
For example: (this is an example of Bill Mackenzie from wd-3)
.....
case TCODE_WRITE_REQUEST_QUADLET:
{
//copy the quadlet data TO our receive buffer at the offset specified in request packet
RtlCopyMemory
( (PCHAR)pDeviceExtension->pReceiveBuffer + offset, (PCHAR)&pRequestPacket->u3.OHCI_Quadlet_Data,
sizeof(ULONG)
);
It is not clear to me as to what pReceiveBuffer should point to; obviously it should be of type char, but an array/list or what?
I'm a hardware guy, this is my first driver project don't be to hard on me :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top