1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _SPARC_MEMCTRL_H 3 #define _SPARC_MEMCTRL_H 4 5 typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen); 6 7 int register_dimm_printer(dimm_printer_t func); 8 void unregister_dimm_printer(dimm_printer_t func); 9 10 #endif /* _SPARC_MEMCTRL_H */ 11