Adam Meyerowitz wrote:
>
> ptr=(MyStruct *)__va(BASE_ADDRESS)
>
> Is this another case where I need to use ioremap?
Yes , if you use kernel 2.2.x , you need to remap your physical free
memory.
exemple :
typedef struct
{
int data1[56] ;
int data2[89] ;
char videobuffer[1024*768] ;
} TMap ;
TMap *mapping ;
mapping = (TMap *)ioremap(PHYSICAL_FREE_MEM_BASE,FREE_MEM_SIZE) ;
and then , use the virtual address pointer mapping structure ...
--
Kumsta Christophe
<[EMAIL PROTECTED]>
Real-Time System developper
RT-Linux/RTAI ( Use the Source Luck !)
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/