[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:34:56 CEST 2008


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

> In message <9D199630-11FA-4028-8EE6- 
> CBC59F6F67A0 at kernel.crashing.org> you wrote:
>>
>>> Good point. Why don't we factor this out and make it common code for
>>> all PPC?
>>
>> Because the relocation is specific to the various interrupt types.
>> 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

>>> 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?

- k




More information about the U-Boot mailing list