mtrr
YhLu
YhLu at tyan.com
Thu Nov 11 19:36:00 CET 2004
In the cpu/x86/mtrr/mtrr.c
#warning "FIXME I do not properly handle address more than 36 physical
address bits"
#ifdef k8
# define ADDRESS_BITS 40
#else
# define ADDRESS_BITS 36
#endif
#define ADDRESS_BITS_HIGH (ADDRESS_BITS - 32)
#define ADDRESS_MASK_HIGH ((1u << ADDRESS_BITS_HIGH) - 1)
It seems someone already remove k8 from Option.lb
Then ....
Regards
YH
-----Original Message-----
From: YhLu
Sent: Thursday, November 11, 2004 6:00 PM
To: YhLu; ebiederman at lnxi.com; Ronald G. Minnich
Cc: linuxbios at clustermatic.org
Subject: RE: mtrr
On 2.4.22 it becomes to
~ # cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=32768MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=16384MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size=4096MB: write-back, count=1
x 16
-----Original Message-----
From: YhLu
Sent: Thursday, November 11, 2004 5:24 PM
To: ebiederman at lnxi.com; Ronald G. Minnich
Cc: linuxbios at clustermatic.org
Subject: mtrr
I just found the mtrr after booting is not right.
~ # cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=985088MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=984064MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size=983296MB: write-back, count=1
and it should be
reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size=256MB: write-back, count=1
and it is has 98340MB more = 0xf0 0000 0000.
Regards
YH
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
More information about the coreboot
mailing list