Works now.
pcchips is now pretty fast!
This commit is contained in:
parent
8df16b00d8
commit
80f9c91e66
1 changed files with 2 additions and 1 deletions
|
|
@ -10,9 +10,10 @@
|
|||
|
||||
#define MTRRVARDRAMEN (1 << 20)
|
||||
void
|
||||
cpufixup(unsigned long ram_megabytes)
|
||||
cpufixup(unsigned long ram_kilobytes)
|
||||
{
|
||||
unsigned long lo = 0, hi = 0, i;
|
||||
unsigned long ram_megabytes = ram_kilobytes * 1024;
|
||||
// 8 MB alignment please
|
||||
ram_megabytes += 0x7fffff;
|
||||
ram_megabytes &= (~0x7fffff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue