Eric,
Several Macro in console/console.h should be changed.
For example: #define print_debug_hex8(HEX) printk_debug("0x08x", ((HEX)) #define print_debug_hex16(HEX) printk_debug("0x016x", ((HEX)) #define print_debug_hex32(HEX) printk_debug("0x032x", ((HEX))
to: #define print_debug_hex8(HEX) printk_debug("0x02x", ((HEX)) #define print_debug_hex16(HEX) printk_debug("0x04x", ((HEX)) #define print_debug_hex32(HEX) printk_debug("0x08x", ((HEX))
regards
Yinghai Lu
-----邮件原件----- 发件人: YhLu 发送时间: 2003年7月31日 20:44 收件人: ebiederman@lnxi.com 抄送: ron minnich; Stefan Reinauer; linuxbios@clustermatic.org 主题: 答复: Fixes for Tyan s2880
Eric,
I see.
I move some code from raminit.c setup_top_ram to it and have a try.
Regards
Yinghai Lu
-----邮件原件----- 发件人: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] 发送时间: 2003年7月31日 20:40 收件人: YhLu 抄送: ron minnich; Stefan Reinauer; linuxbios@clustermatic.org 主题: Re: Fixes for Tyan s2880
YhLu YhLu@tyan.com writes:
Eric,
I have checked your old k8/cpufixup.c, and it already has TOM2 etc setup. and SYSCFG_TOM2_EN...etc...
I shift by 12 instead of 10 for the low half of TOP_MEM2...
Which tends to leave TOP_MEM2 at 4GB...
Eric _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
YhLu YhLu@tyan.com writes:
Eric,
Several Macro in console/console.h should be changed.
For example: #define print_debug_hex8(HEX) printk_debug("0x08x", ((HEX)) #define print_debug_hex16(HEX) printk_debug("0x016x", ((HEX)) #define print_debug_hex32(HEX) printk_debug("0x032x", ((HEX))
to: #define print_debug_hex8(HEX) printk_debug("0x02x", ((HEX)) #define print_debug_hex16(HEX) printk_debug("0x04x", ((HEX)) #define print_debug_hex32(HEX) printk_debug("0x08x", ((HEX))
regards
Thanks. That was a thinko.
Eric.