OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [char/] [ftape/] [kernel-interface.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
#ifndef _KERNEL_INTERFACE_H
2
#define _KERNEL_INTERFACE_H
3
 
4
/*
5
 * Copyright (C) 1993-1995 Bas Laarhoven.
6
 
7
 This program is free software; you can redistribute it and/or modify
8
 it under the terms of the GNU General Public License as published by
9
 the Free Software Foundation; either version 2, or (at your option)
10
 any later version.
11
 
12
 This program is distributed in the hope that it will be useful,
13
 but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 GNU General Public License for more details.
16
 
17
 You should have received a copy of the GNU General Public License
18
 along with this program; see the file COPYING.  If not, write to
19
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20
 
21
 *
22
 $Source: /home/marcus/revision_ctrl_test/oc_cvs/cvs/or1k/rc203soc/sw/uClinux/drivers/char/ftape/kernel-interface.h,v $
23
 $Author: jcastillo $
24
 *
25
 $Revision: 1.1 $
26
 $Date: 2005-12-20 10:16:52 $
27
 $State: Exp $
28
 *
29
 * ----Description----
30
 *
31
 */
32
 
33
#include <linux/linkage.h>
34
#include <linux/signal.h>
35
 
36
#define _S(nr) (1<<((nr)-1))
37
#define _NEVER_BLOCK    (_S(SIGKILL)|_S(SIGSTOP))
38
#define _DONT_BLOCK     (_NEVER_BLOCK|_S(SIGINT))
39
#define _DO_BLOCK       (_S(SIGPIPE))
40
#define _BLOCK_ALL      (0xffffffffL)
41
 
42
 
43
#ifndef QIC117_TAPE_MAJOR
44
#define QIC117_TAPE_MAJOR 27
45
#endif
46
 
47
#define FTAPE_NO_REWIND 4       /* mask for minor nr */
48
 
49
/*      kernel-interface.c defined global variables.
50
 */
51
extern byte *tape_buffer[];
52
extern char kernel_version[];
53
 
54
/*      kernel-interface.c defined global functions.
55
 */
56
asmlinkage extern int init_module(void);
57
asmlinkage extern void cleanup_module(void);
58
 
59
/*      kernel global functions not (yet) standard accessible
60
 *      (linked at load time by modules package).
61
 */
62
asmlinkage extern int sys_sgetmask(void);
63
asmlinkage extern int sys_ssetmask(int);
64
 
65
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.