File:  [MW Coherent from dump] / coherent / f / usr / include / common / _intmask.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#ifndef	__COMMON__INTMASK_H__
#define	__COMMON__INTMASK_H__

/*
 * This internal header contains a definition for a data type used to hold
 * interrupt masking information. It is not formally specified whether this
 * type is arithmetic or non-arithmetic, and no portable uses for it have been
 * defined. It exists in the common space for use by the kernel configuration
 * mechanisms included in the base system.
 */

/*
 * If we are using interrupt masking to define our interrupt priority scheme,
 * then we need a type sufficient to hold a bitmask for at least 16 vectors
 * (for the IBM PC). Defining this as a long integer should be sufficient
 * for now.
 */

typedef	unsigned long	intmask_t;

#endif	/* ! defined (__COMMON__INTMASK_H__) */


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.