See patch.
This is required for my MSI MS-6178 patch to work (which already uses the global failover.c file) and will enable us to drop quite a bunch of duplicate files from the repo (which will be an extra patch, though).
Uwe.
* Uwe Hermann uwe@hermann-uwe.de [070908 21:23]:
Add a common/global failover.c file which can be used by all (or at least most) mainboards. This should put and end to copy-paste'ing the same file again and again for every mainboard.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de
This code is not common but x86 only.
+normal_image:
- __asm__ __volatile__("jmp __normal_image" : : "a" (bist) : );
+cpu_reset:
- __asm__ __volatile__("jmp __cpu_reset" : : "a" (bist) : );
On Mon, Sep 10, 2007 at 11:44:00AM +0200, Stefan Reinauer wrote:
- Uwe Hermann uwe@hermann-uwe.de [070908 21:23]:
Add a common/global failover.c file which can be used by all (or at least most) mainboards. This should put and end to copy-paste'ing the same file again and again for every mainboard.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de
This code is not common but x86 only.
Good point, moved to src/arch/i386/lib/failover.c. Updated patch attached.
Uwe.
On Mon, Sep 10, 2007 at 03:25:46PM +0200, Uwe Hermann wrote:
Add a common/global failover.c file which can be used by all (or at least most) mainboards.
How would this be used by a mainboard?
//Peter
On Fri, Sep 14, 2007 at 01:52:55PM +0200, Peter Stuge wrote:
On Mon, Sep 10, 2007 at 03:25:46PM +0200, Uwe Hermann wrote:
Add a common/global failover.c file which can be used by all (or at least most) mainboards.
How would this be used by a mainboard?
Pretty much like this: http://tracker.linuxbios.org/trac/LinuxBIOS/changeset/2772
Instead of the usual Config.lb blurb to use the local failover.c you change it to use the common one.
Uwe.
On Fri, Sep 14, 2007 at 03:01:17PM +0200, Uwe Hermann wrote:
On Fri, Sep 14, 2007 at 01:52:55PM +0200, Peter Stuge wrote:
On Mon, Sep 10, 2007 at 03:25:46PM +0200, Uwe Hermann wrote:
Add a common/global failover.c file which can be used by all (or at least most) mainboards.
How would this be used by a mainboard?
Pretty much like this: http://tracker.linuxbios.org/trac/LinuxBIOS/changeset/2772
Instead of the usual Config.lb blurb to use the local failover.c you change it to use the common one.
Yes. Nice.
Acked-by: Peter Stuge peter@stuge.se
//Peter
On Fri, Sep 14, 2007 at 03:08:56PM +0200, Peter Stuge wrote:
How would this be used by a mainboard?
Pretty much like this: http://tracker.linuxbios.org/trac/LinuxBIOS/changeset/2772
Instead of the usual Config.lb blurb to use the local failover.c you change it to use the common one.
Yes. Nice.
Acked-by: Peter Stuge peter@stuge.se
Thanks, but it's already committed in r2772, Corey ACKed that in a different thread too, and I forgot to reply here...
Uwe.
On Fri, Sep 14, 2007 at 06:22:39PM +0200, Uwe Hermann wrote:
Thanks, but it's already committed in r2772, Corey ACKed that in a different thread too, and I forgot to reply here...
Doh. I looked for it in my tree but forgot to svn up.
//Peter