f7a0ba84dc
- Add an additional consistency check to romcc and fix the more obvious problems it has uncovered With this update there are no known silent failures in romcc. - Update the memory initialization code to setup all 3 of the memory sizing registers properly - In auto.c test our dynamic maximum amount of ram. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@885 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
9 lines
158 B
C
9 lines
158 B
C
static void main(void)
|
|
{
|
|
__builtin_msr_t msr;
|
|
msr = __builtin_rdmsr(0xC001001A);
|
|
while(__builtin_inb(0x3fd))
|
|
;
|
|
__builtin_outb(msr.hi, 0x3f8);
|
|
|
|
}
|