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