pcppivar.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* $OpenBSD: pcppivar.h,v 1.3 2002/03/14 01:26:56 millert Exp $ */
  2. /* $NetBSD: pcppivar.h,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
  3. /*
  4. * Copyright (c) 1996 Carnegie-Mellon University.
  5. * All rights reserved.
  6. *
  7. * Author: Chris G. Demetriou
  8. *
  9. * Permission to use, copy, modify and distribute this software and
  10. * its documentation is hereby granted, provided that both the copyright
  11. * notice and this permission notice appear in all copies of the
  12. * software, derivative works or modified versions, and any portions
  13. * thereof, and that both notices appear in supporting documentation.
  14. *
  15. * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  16. * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
  17. * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  18. *
  19. * Carnegie Mellon requests users of this software to return to
  20. *
  21. * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
  22. * School of Computer Science
  23. * Carnegie Mellon University
  24. * Pittsburgh PA 15213-3890
  25. *
  26. * any improvements or extensions that they make and grant Carnegie the
  27. * rights to redistribute these changes.
  28. */
  29. typedef void *pcppi_tag_t;
  30. struct pcppi_attach_args {
  31. pcppi_tag_t pa_cookie;
  32. };
  33. #define PCPPI_BELL_SLEEP 0x01 /* synchronous; sleep for complete */
  34. #define PCPPI_BELL_POLL 0x02 /* synchronous; poll for complete */
  35. void pcppi_bell(pcppi_tag_t, int, int, int);