On Aug 6, 2008, at 3:17 PM, Wolfgang Denk wrote: > In message <9D199630-11FA-4028-8EE6- > [EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users