 b01aff70d2
			
		
	
	
		b01aff70d2
		
	
	
	
	
		
			
			libdriver. at_wini now queues messages it can't handle it receives when waiting for an interrupt. this way it can do receive(ANY) and timeouts should be working again (were broken for VFS, as with the advent of VFS, at_wini could get requests from a filesystem while it was waiting for an interrupt - as a hack, the receive() was changed to receive(HARDWARE)). Added mq.c to libdriver, and made libdriver an actual library that drivers link with -L../libdriver -ldriver. (So adding files, if necessary, is easier next time.)
		
			
				
	
	
		
			28 lines
		
	
	
		
			414 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			414 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
| inet/mq.h
 | |
| 
 | |
| Created:	Jan 3, 1992 by Philip Homburg
 | |
| 
 | |
| Copyright 1995 Philip Homburg
 | |
| */
 | |
| 
 | |
| #ifndef INET__MQ_H
 | |
| #define INET__MQ_H
 | |
| 
 | |
| typedef struct mq
 | |
| {
 | |
| 	message mq_mess;
 | |
| 	struct mq *mq_next;
 | |
| 	int mq_allocated;
 | |
| } mq_t;
 | |
| 
 | |
| _PROTOTYPE( mq_t *mq_get, (void) );
 | |
| _PROTOTYPE( void mq_free, (mq_t *mq) );
 | |
| _PROTOTYPE( void mq_init, (void) );
 | |
| 
 | |
| #endif /* INET__MQ_H */
 | |
| 
 | |
| /*
 | |
|  * $PchId: mq.h,v 1.4 1995/11/21 06:40:30 philip Exp $
 | |
|  */
 |