Question :  I was wondering how it coped with the problem that you can only bus-master to physical memory rather than logical memory (which is how you view it from Win32). Thus if you malloc some memory it may well be logically a contiguous area but consist of multiple disjoint physical pages.

We are planning on using the C6x EVM for some development for our Ethernet switch products. I have been reviewing the reference guide documentation for the EVM and have a question about the bus-mastering operation of the board.

Answer : This must be done at Ring 0 where you can get a contiguous memory buffer and allocate it at physical addresses. Ring 3 (Win32) applications do not have the privilege to do this. Therefore,
you can't just do malloc's to get memory for data transfers.


Device: TMS320C62x
Category: TI Tools
Detail: Debugger Tools
Detail2: EVM
Title: Physical rather than Logical memory
Source: Case from TMS320 Hotline
Date: 6/1/98
GenId: dspc1073

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!