Hi all,

Can anyone can give me a clear idea about the cached to uncached offset...

In my code, i can see something like

BOOT_FLASH_BASE_PHYSICAL EQU 0x00000000
BOOT_FLASH_BASE_C_VIRTUAL EQU 0x98300000
BOOT_FLASH_BASE_U_VIRTUAL EQU (BOOT_FLASH_BASE_C_VIRTUAL +
lCACHED_TO_UNCACHED_OFFSET)

??
--
Ramesh.c

Re: cached to uncached offset... by Luca

Luca
Wed Feb 06 22:58:56 PST 2008

For your (ARM) processor the OAL defines a table (OEMAddressTable) which
maps some of the 4GB processor phyisical addresses to the 512MB virtual
memory addressable by the kernel: this virtual memory lies between
0x80000000 and 0x9FFFFFFF and has caching and buffering enabled. The virtual
addresses between 0xA0000000 and 0xBFFFFFFF maps to the same phyisical
addresses of the OEMAddressTable but when you use them you will will have
caching and buffering disabled. so lCACHED_TO_UNCACHED_OFFSET == 0x20000000.



--

Luca Calligaris
www.eurotech.it

"Rameshchandra" <Rameshchandra@discussions.microsoft.com> ha scritto nel
messaggio news:848A04AE-FC32-4E95-BE8A-A0473EEDED32@microsoft.com...
> Hi all,
>
> Can anyone can give me a clear idea about the cached to uncached offset...
>
> In my code, i can see something like
>
> BOOT_FLASH_BASE_PHYSICAL EQU 0x00000000
> BOOT_FLASH_BASE_C_VIRTUAL EQU 0x98300000
> BOOT_FLASH_BASE_U_VIRTUAL EQU (BOOT_FLASH_BASE_C_VIRTUAL +
> lCACHED_TO_UNCACHED_OFFSET)
>
> ??
> --
> Ramesh.c