Chameleon

Chameleon Svn Source Tree

Root/trunk/i386/libsaio/dram_controllers.h

1/*
2 * dram controller access and scan from the pci host controller
3 * Adapted for chameleon 2.0 RC5 by Rekursor from original :
4 *
5 * memtest86
6 *
7 * Released under version 2 of the Gnu Public License.
8 * By Chris Brady, cbrady@sgi.com
9 * ----------------------------------------------------
10 * MemTest86+ V4.00 Specific code (GPL V2.0)
11 * By Samuel DEMEULEMEESTER, sdemeule@memtest.org
12 * http://www.canardpc.com - http://www.memtest.org
13 */
14
15#ifndef __LIBSAIO_DRAM_CONTROLLERS_H
16#define __LIBSAIO_DRAM_CONTROLLERS_H
17
18#include "libsaio.h"
19
20void scan_dram_controller();
21
22struct mem_controller_t {
23uint16_t vendor;
24uint16_t device;
25char *name;
26void (*initialise)(pci_dt_t *dram_dev);
27void (*poll_speed)(pci_dt_t *dram_dev);
28void (*poll_timings)(pci_dt_t *dram_dev);
29};
30
31#endif /* !__LIBSAIO_DRAM_CONTROLLERS_H */
32

Archive Download this file

Revision: 226