1 2 3 4 5 6 7 8 9
#ifndef _SPARC_MEMCTRL_H #define _SPARC_MEMCTRL_H typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen); int register_dimm_printer(dimm_printer_t func); void unregister_dimm_printer(dimm_printer_t func); #endif /* _SPARC_MEMCTRL_H */