2006-12-09 19:20:00 +00:00
|
|
|
/*
|
|
|
|
util - helper functions
|
2014-03-20 10:23:35 +00:00
|
|
|
Copyright (C) 2006-2011 Jean Delvare <jdelvare@suse.de>
|
2006-12-09 19:20:00 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-08-15 08:23:15 +00:00
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
2006-12-09 19:20:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _UTIL_H
|
|
|
|
#define _UTIL_H
|
|
|
|
|
|
|
|
extern int user_ack(int def);
|
2011-04-15 08:26:49 +00:00
|
|
|
extern unsigned long inx(int addr, int width);
|
2011-04-15 08:27:30 +00:00
|
|
|
extern void outx(unsigned long value, int addr, int width);
|
2006-12-09 19:20:00 +00:00
|
|
|
|
|
|
|
#endif /* _UTIL_H */
|