Root/
Source at commit 177 created 13 years 10 months ago. By valv, call the cpu/freq detection code late in the booter. Thanks Kabyl. New FSB detection code, plus a FixFSB and busratio keys. Added support for newer intel CPUs (Core i7/i5/i3). More nVidia Device-IDs added. Got rid of some annoying verbose messages. Healed DSDT dependency. Better CPU injection. | |
---|---|
1 | /*␊ |
2 | * Copyright 2010 AsereBLN. All rights reserved. <aserebln@googlemail.com>␊ |
3 | *␊ |
4 | * mem.c - obtain system memory information␊ |
5 | */␊ |
6 | ␊ |
7 | #include "libsaio.h"␊ |
8 | #include "pci.h"␊ |
9 | #include "platform.h"␊ |
10 | #include "cpu.h"␊ |
11 | #include "mem.h"␊ |
12 | ␊ |
13 | #ifndef DEBUG_MEM␊ |
14 | #define DEBUG_MEM 0␊ |
15 | #endif␊ |
16 | ␊ |
17 | #if DEBUG_MEM␊ |
18 | #define DBG(x...)␉␉printf(x)␊ |
19 | #else␊ |
20 | #define DBG(x...)␊ |
21 | #endif␊ |
22 | ␊ |
23 | void scan_memory(PlatformInfo_t *p)␊ |
24 | {␊ |
25 | ␉/* NYI */␊ |
26 | }␊ |
27 |