/* $NetBSD: sig.h,v 1.8 2009/02/19 15:20:22 christos Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Christos Zoulas of Cornell University. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)sig.h 8.1 (Berkeley) 6/4/93 */ /* * el.sig.h: Signal handling functions */ #ifndef _h_el_sig #define _h_el_sig #include #include "histedit.h" /* * Define here all the signals we are going to handle * The _DO macro is used to iterate in the source code */ #define ALLSIGS \ _DO(SIGINT) \ _DO(SIGTSTP) \ _DO(SIGQUIT) \ _DO(SIGHUP) \ _DO(SIGTERM) \ _DO(SIGCONT) \ _DO(SIGWINCH) #define ALLSIGSNO 7 typedef struct { struct sigaction sig_action[ALLSIGSNO]; sigset_t sig_set; volatile sig_atomic_t sig_no; } *el_signal_t; protected void sig_end(EditLine*); protected int sig_init(EditLine*); protected void sig_set(EditLine*); protected void sig_clr(EditLine*); #endif /* _h_el_sig */ be89818cb043e'>algor/dev
AgeCommit message (Expand)Author
2016-05-31If ALGOR_P6032 is not defined, set sc_bonito to NULL instead of usingdholland
2015-06-09#include <mips/cpuregs.h>matt
2012-10-27split device_t/softc for all remaining drivers.chs
2012-01-27converting extent(9) from malloc(9) to kmem(9)para
2011-07-09Allow algor kernels to be built under either algor/algor64 ormatt
2011-07-08Major update of algor.matt
2011-07-01#include <sys/bus.h> instead of <machine/bus.h>.dyoung
2011-06-05struct device * -> device_t, struct cfdata * -> cfdata_tmatt
2011-05-17PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functionaldyoung
2011-02-20Merge forward from matt-nb5-mips64.matt
2009-11-27- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.rmind
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-29Don't forget to initialize sc_dev.tsutsui
2008-03-28Split device_t and softc for MI mc146818 clock,tsutsui
2008-03-14Split device_t and softc for all com(4) devices (well, everything thatcube
2008-03-07Split the softc from the device_t for all lpt(4) variants and attachmentscube
2008-02-29Use pmf_device_register1() instead of shutdownhook_establish() todyoung
2008-01-10Move todr_attach(9) calls from each MD attachment to MI mc146818_attach().tsutsui
2008-01-09Fix botch on MI todr(9) migration of algor on September 2006:tsutsui
2006-09-05Update algor clock handling. This includes using the common mc146818gdamore
2006-07-13Add an option COM_REGMAP to allow com(4) to use an array of register indices.gdamore
2005-12-11merge ktrace-lwp.christos
2005-08-26s/locdesc_t/int/gdrochner
2005-06-30adaptions to config_search() change, and minor autoconf fixes, mostly from Ha...drochner
2005-06-28kill questionable uses of config(8) generated xxxlocnames[]drochner
2005-06-28convert remaining autoconf bus "submatch" functions to use the newdrochner
2004-08-30Phase out the use of a string as first "attach args" member to controldrochner
2003-07-14add __KERNEL_RCSID()lukem
2003-06-15Handle 64bit DMA addresses on PCI for platforms that can (currently onlyfvdl
2003-01-01Use aprint_normal() for cfprint() routines.thorpej
2002-10-02Fix script-o's in last.thorpej
2002-10-02Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-09-27Introduce a new routine, config_match(), which invokes thethorpej
2002-09-27Rather than referencing the cfdriver directly in the cfdata entries,thorpej