ts-7000
[Top] [All Lists]

[ts-7000] confused by virtual memory on the 7250

To:
Subject: [ts-7000] confused by virtual memory on the 7250
From: "Dom Storey" <>
Date: Tue, 02 Mar 2010 08:35:58 -0000
I'm writing a kernel driver and am struggling to understand the virtual memory 
mapping. Looking at Matthiew Crapet's drivers, I see in ts72xx.h that there are 
two ways of specifying the same memory and io loations - virtual and physical. 
It seems that all the inline functions that test for the presence of a device 
use virtual memory, yet all driver resources are specified in physical memory.

Are they equivalent? Can I swap one definition for the other in a function 
call? I see that all resources specify physical addresses (presumably because 
they will be re-mapped with ioremap() in the driver later..) 

How do I calculate the virtual address? How were the values arrived at in the 
header file?

And the last question - for boards with 64m of ram, do I still need to specify 
the 8M regions on the kernel boot line like this?

exec -c "mem= mem= mem= mem= ... <other options>"

will my boot fail silently if I don't?

thanks Dominic



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU