[U-Boot-Users] [PATCH][FOR 1.3.4] 85xx: Don't move interrupt vector to low memory

Kumar Gala galak at kernel.crashing.org
Wed Aug 6 22:46:29 CEST 2008


On Aug 6, 2008, at 3:41 PM, Wolfgang Denk wrote:

> In message <D5CA3AB9-3AE3-439C-A169- 
> F8CD26D4A320 at kernel.crashing.org> you wrote:
>>
>>>> Book-E will need different code for handing IVPR/IVORs than  
>>>> classic.
>>>
>>> Umm... the exception code itself may be different, but does this  
>>> imply
>>> that the code used to copy / relocate the exception handlers to low
>>> mem must be different, too?
>>
>> the copying bit should be do-able in generic code.
>>
>> 74xx_7xx/mpc512x/mpc5xx/mpc8xx/mpc8220/mpc824x/mpc83xx/mpc86xx:
>>
>> copy from [_start, _end_of_vectors] to 0x100
>>
>> 4xx/85xx:
>>
>> copy from [_start_of_vectors, _end_of_vectors] to 0x100
>
> OK, that's what I exoected. So we should plan to factor out this part
> of code one day.
>
>>>>> Maybe. But then, these can use exception vectors at low mem, too,
>>>>> right?
>>>>
>>>> They can, but it has to be setup.
>>>
>>> What is Linux doing?
>>
>> don't follow the question.. what is linux doing with what?
>
> Where is Linux setting up exception vectors on these systems?

they are at 0 for 6xx/8xx/40x systems.  They can be anywhere on 85xx/ 
44x (and we take advantage of this).

- k




More information about the U-Boot mailing list