Chameleon

Chameleon Svn Source Tree

Root/branches/mozodojo/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
20struct mem_controller_t {
21uint16_t vendor;
22uint16_t device;
23char *name;
24void (*initialise)(pci_dt_t *dram_dev);
25void (*poll_speed)(pci_dt_t *dram_dev);
26void (*poll_timings)(pci_dt_t *dram_dev);
27};
28
29void scan_dram_controller(pci_dt_t *dram_dev);
30
31#endif /* !__LIBSAIO_DRAM_CONTROLLERS_H */
32

Archive Download this file

Revision: 238