File:  [MW Coherent from dump] / coherent / f / usr / include / sys / dosproc.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	__SYS_DOSPROC_H__
#define	__SYS_DOSPROC_H__

/*
 * Definitions for MS-DOS to emulate the Coherent process table and U area for
 * STREAMS testing.
 */

typedef enum {
	PS_RUN,
	PS_SIGNALLED,
	PS_SLEEP,
	PS_SLEEP_NO_SIG
} pstate_t;


typedef struct {
	pstate_t	p_state;
	char		p_nigel	[16];
} proc_t;


extern	proc_t		_dos_proc_;


#define	CURRENT_PROCESS()	((volatile proc_t *) & _dos_proc_)



typedef struct {
	char		u_nigel [16];
} uarea_t;


extern	uarea_t		_dos_uarea_;


#define	U_AREA()		(& _dos_uarea_)


#endif	/* ! defined (__SYS_DOSPROC_H__) */

unix.superglobalmegacorp.com

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