Root/
Source at commit 1146 created 12 years 10 months ago. By azimutz, Sync with trunk (r1145). Add nVidia dev id's, 0DF4 for "GeForce GT 450M" (issue 99) and 1251 for "GeForce GTX 560M" (thanks to oSxFr33k for testing). | |
---|---|
1 | /*␊ |
2 | * dram controller access and scan from the pci host controller␊ |
3 | * Integrated and adapted for chameleon 2.0 RC5 by Rekursor from bs0d work␊ |
4 | * original source comes from:␊ |
5 | *␊ |
6 | * memtest86␊ |
7 | *␊ |
8 | * Released under version 2 of the Gnu Public License.␊ |
9 | * By Chris Brady, cbrady@sgi.com␊ |
10 | * ----------------------------------------------------␊ |
11 | * MemTest86+ V4.00 Specific code (GPL V2.0)␊ |
12 | * By Samuel DEMEULEMEESTER, sdemeule@memtest.org␊ |
13 | * http://www.canardpc.com - http://www.memtest.org␊ |
14 | */␊ |
15 | ␊ |
16 | #ifndef __LIBSAIO_DRAM_CONTROLLERS_H␊ |
17 | #define __LIBSAIO_DRAM_CONTROLLERS_H␊ |
18 | ␊ |
19 | #include "libsaio.h"␊ |
20 | ␊ |
21 | void scan_dram_controller();␊ |
22 | ␊ |
23 | struct mem_controller_t {␊ |
24 | ␉uint16_t vendor;␊ |
25 | ␉uint16_t device;␊ |
26 | ␉char *name;␊ |
27 | ␉void (*initialise)(pci_dt_t *dram_dev);␊ |
28 | ␉void (*poll_speed)(pci_dt_t *dram_dev);␊ |
29 | ␉void (*poll_timings)(pci_dt_t *dram_dev);␊ |
30 | };␊ |
31 | ␊ |
32 | #endif /* !__LIBSAIO_DRAM_CONTROLLERS_H */␊ |
33 |