#ifndef _KERNEL_INTERFACE_H #define _KERNEL_INTERFACE_H /* * Copyright (C) 1993-1995 Bas Laarhoven. 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 the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * $Source: /home/bas/distr/ftape-2.03b/RCS/kernel-interface.h,v $ $Author: bas $ * $Revision: 1.24 $ $Date: 1995/04/30 13:15:14 $ $State: Beta $ * * ----Description---- * */ #include #include #define _S(nr) (1<<((nr)-1)) #define _NEVER_BLOCK (_S(SIGKILL)|_S(SIGSTOP)) #define _DONT_BLOCK (_NEVER_BLOCK|_S(SIGINT)) #define _DO_BLOCK (_S(SIGPIPE)) #define _BLOCK_ALL (0xffffffffL) #ifndef QIC117_TAPE_MAJOR #define QIC117_TAPE_MAJOR 27 #endif #define FTAPE_NO_REWIND 4 /* mask for minor nr */ /* kernel-interface.c defined global variables. */ extern byte *tape_buffer[]; extern char kernel_version[]; /* kernel-interface.c defined global functions. */ asmlinkage extern int init_module(void); asmlinkage extern void cleanup_module(void); /* kernel global functions not (yet) standard accessible * (linked at load time by modules package). */ asmlinkage extern sys_sgetmask(void); asmlinkage extern sys_ssetmask(int); #endif