7 struct mem_controller {
9 device_t f0, f1, f2, f3;
10 uint16_t channel0[DIMM_SOCKETS];
11 uint16_t channel1[DIMM_SOCKETS];
15 void exit_from_self(int controllers, const struct mem_controller *ctrl, struct sys_info *sysinfo);
16 void setup_resource_map(const unsigned int *register_values, int max);
18 #if defined(__PRE_RAM__) && defined(RAMINIT_SYSINFO) && RAMINIT_SYSINFO == 1
19 void sdram_initialize(int controllers, const struct mem_controller *ctrl, void *sysinfo);
21 void sdram_initialize(int controllers, const struct mem_controller *ctrl);
24 #endif /* RAMINIT_H */