1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Very simple (yet, for some reason, very effective) memory tester. 4 * Originally by Simon Kirby <sim@stormix.com> <sim@neato.org> 5 * Version 2 by Charles Cazabon <charlesc-memtester@pyropus.ca> 6 * Version 3 not publicly released. 7 * Version 4 rewrite: 8 * Copyright (C) 2004-2012 Charles Cazabon <charlesc-memtester@pyropus.ca> 9 * Licensed under the terms of the GNU General Public License version 2 (only). 10 * See the file COPYING for details. 11 * 12 * This file contains the declarations for external variables from the main file. 13 * See other comments in that file. 14 * 15 */ 16 #ifndef __CMD_DDR_TOOL_MEMTESTER_MEMTESTER_H 17 #define __CMD_DDR_TOOL_MEMTESTER_MEMTESTER_H 18 #include <linux/types.h> 19 20 /* extern declarations. */ 21 22 extern int use_phys; 23 extern off_t physaddrbase; 24 25 int doing_memtester(unsigned long *arg, unsigned long testenable, 26 unsigned long loops, unsigned long err_exit, 27 unsigned long fix_bit, unsigned long fix_level); 28 #endif /* __CMD_DDR_TOOL_MEMTESTER_MEMTESTER_H */ 29