[LinuxBIOS] [PATCH][v3] geodelx: Code cleanups

2007-07-20 Thread Uwe Hermann
See patch. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org Various code cleanups: - Simplify lots of code, especially msr-related code. - Move struct msrinit declaration into msr.h as we use it quite oft

Re: [LinuxBIOS] have a static initram improvements.

2007-07-20 Thread Peter Stuge
On Fri, Jul 20, 2007 at 10:27:59AM -0600, Jordan Crouse wrote: > > create a LAR file that is the symbol table for stage 0/1 that > > has been burned into FLASH. > > Frankly? Yes. I'm not super excited about re-inventing the wheel > here. Why put another symbol table in lar - it is a symbol tabl

Re: [LinuxBIOS] [v3][PATCH] have a static initram improvements.

2007-07-20 Thread Peter Stuge
On Fri, Jul 20, 2007 at 01:24:59PM -0600, Marc Jones wrote: > > yesterday. It required post_code, too. So I made an extra file > > post_code.c (post_code was in stage1.c before) > > post_code() should be a macro in post_code.h. It is small enough it > should always be inline. Yes/No? Not sure - i

Re: [LinuxBIOS] [v3][PATCH] POST_CODE macro

2007-07-20 Thread ron minnich
Sorry I have not been paying close attention. Why is post code a library function? So you can extend it with serial post output, and so on. I don't think this macro is the right thing to do. We've had post_code do much more over the years than outb to port 0x80. Sorry ron -- linuxbios mailing

[LinuxBIOS] [v3][PATCH] POST_CODE macro

2007-07-20 Thread Marc Jones
Not much to say. Marc -- Marc Jones Senior Firmware Engineer (970) 226-9684 Office mailto:[EMAIL PROTECTED] http://www.amd.com/embeddedprocessors Add a POST_CODE marco to post_code.h and change all post_code() function calls to POST_CODE macros. Signed-off-by: Marc Jones <[EMAIL PROTECTED]>

Re: [LinuxBIOS] missing header

2007-07-20 Thread Marc Jones
Marc Jones wrote: > FYI, I just found that arch/x86/keyboards.c is missing a header. > I will let the header/history gurus handle it. > Marc > Also, arch/x86/pci_ops_auto.c Marc -- Marc Jones Senior Firmware Engineer (970) 226-9684 Office mailto:[EMAIL PROTECTED] http://www.amd.com/embeddedp

[LinuxBIOS] missing header

2007-07-20 Thread Marc Jones
FYI, I just found that arch/x86/keyboards.c is missing a header. I will let the header/history gurus handle it. Marc -- Marc Jones Senior Firmware Engineer (970) 226-9684 Office mailto:[EMAIL PROTECTED] http://www.amd.com/embeddedprocessors -- linuxbios mailing list linuxbios@linuxbios.org ht

Re: [LinuxBIOS] [v3][PATCH] have a static initram improvements.

2007-07-20 Thread Marc Jones
Stefan Reinauer wrote: > * ron minnich <[EMAIL PROTECTED]> [070720 06:41]: >> Acked-by: Ronald G. Minnich <[EMAIL PROTECTED]> >> >> if you wish to commit. I think this is acceptable for the short term. >> >> ron > > I will work some more on this. I added the stuff for amd norwich, too, > yesterd

Re: [LinuxBIOS] have a static initram improvements.

2007-07-20 Thread ron minnich
On 7/20/07, Jordan Crouse <[EMAIL PROTECTED]> wrote: > On 20/07/07 09:18 -0700, ron minnich wrote: > > Then, one step further: create a LAR file that is the symbol table for > > stage 0/1 that has been burned into FLASH. The mainboard has its > > vector table, and this links against the symbols in

Re: [LinuxBIOS] have a static initram improvements.

2007-07-20 Thread Jordan Crouse
On 20/07/07 09:18 -0700, ron minnich wrote: > Then, one step further: create a LAR file that is the symbol table for > stage 0/1 that has been burned into FLASH. The mainboard has its > vector table, and this links against the symbols in the lar file. That > way, if you ONLY have a copy of the bios

Re: [LinuxBIOS] [v3][PATCH] stage0 and stage1 cleanup and improvements.

2007-07-20 Thread ron minnich
On 7/19/07, Stefan Reinauer <[EMAIL PROTECTED]> wrote: > * ron minnich <[EMAIL PROTECTED]> [070720 06:45]: > > we want stage2 printk and other code to use the stage0 support code > > because stage 0 has done some setup -- there is some state there -- > > that we'd like stage 2 to inherit. I think.

Re: [LinuxBIOS] [v3][PATCH] have a static initram improvements.

2007-07-20 Thread ron minnich
Hey, btw, I realized a way to do the vector table that might work well over time. I think I mentioned this before, but I'll mention it again. Rather than have LB define the vector table in a mainboard-independent way, which will get harder as we add more mainboards, have the MAINBOARD code define

Re: [LinuxBIOS] [PATCH][v3] static/const cleanups

2007-07-20 Thread Uwe Hermann
On Wed, Jul 18, 2007 at 03:05:33PM -0600, Marc Jones wrote: > Acked-by: Marc Jones <[EMAIL PROTECTED]> r460, thanks. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org signature.asc Description: Digital sig

[LinuxBIOS] r460 - in LinuxBIOSv3: arch/x86/geodelx include/arch/x86 northbridge/amd/geodelx southbridge/amd/cs5536

2007-07-20 Thread svn
Author: uwe Date: 2007-07-20 16:03:39 +0200 (Fri, 20 Jul 2007) New Revision: 460 Modified: LinuxBIOSv3/arch/x86/geodelx/cpu.c LinuxBIOSv3/arch/x86/geodelx/geodelx.c LinuxBIOSv3/arch/x86/geodelx/stage1.c LinuxBIOSv3/include/arch/x86/cpu.h LinuxBIOSv3/include/arch/x86/legacy.h Linu

Re: [LinuxBIOS] [v3][PATCH] have a static initram improvements.

2007-07-20 Thread Stefan Reinauer
* ron minnich <[EMAIL PROTECTED]> [070720 06:41]: > Acked-by: Ronald G. Minnich <[EMAIL PROTECTED]> > > if you wish to commit. I think this is acceptable for the short term. > > ron I will work some more on this. I added the stuff for amd norwich, too, yesterday. It required post_code, too. So I m

[LinuxBIOS] Linuxbios on ms7250 irq on pci slots problem

2007-07-20 Thread George V. Adamov
I just got Linux Bios running on msi ms7250 motherboard, but still have some difficulties: It boots linux, but have troubels whith irqs for cards pluged into pci slots (it's possible to set irq 23-16). But cards want to have something like irq 7,9 or 10, it's possible to program this (7, 9 o