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