New message type 9: 5 longs, 3 shorts, and 2 chars.
This commit is contained in:
		
							parent
							
								
									498728bdbe
								
							
						
					
					
						commit
						23fd914307
					
				@ -20,6 +20,8 @@ typedef struct {long m6l1, m6l2, m6l3; short m6s1, m6s2, m6s3; char m6c1, m6c2;
 | 
			
		||||
        char *m6p1, *m6p2;} mess_6;
 | 
			
		||||
typedef struct {int m7i1, m7i2, m7i3, m7i4; char *m7p1, *m7p2;} mess_7;
 | 
			
		||||
typedef struct {int m8i1, m8i2; char *m8p1, *m8p2, *m8p3, *m8p4;} mess_8;
 | 
			
		||||
typedef struct {long m9l1, m9l2, m9l3, m9l4, m9l5; short m9s1, m9s2, m9s3;
 | 
			
		||||
	char m9c1, m9c2; } mess_9;
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
  endpoint_t m_source;		/* who sent the message */
 | 
			
		||||
@ -33,6 +35,7 @@ typedef struct {
 | 
			
		||||
	mess_7 m_m7;
 | 
			
		||||
	mess_8 m_m8;
 | 
			
		||||
	mess_6 m_m6;
 | 
			
		||||
	mess_9 m_m9;
 | 
			
		||||
  } m_u;
 | 
			
		||||
} message;
 | 
			
		||||
 | 
			
		||||
@ -97,6 +100,17 @@ typedef struct {
 | 
			
		||||
#define m8_p3  m_u.m_m8.m8p3
 | 
			
		||||
#define m8_p4  m_u.m_m8.m8p4
 | 
			
		||||
 | 
			
		||||
#define m9_l1  m_u.m_m9.m9l1
 | 
			
		||||
#define m9_l2  m_u.m_m9.m9l2
 | 
			
		||||
#define m9_l3  m_u.m_m9.m9l3
 | 
			
		||||
#define m9_l4  m_u.m_m9.m9l4
 | 
			
		||||
#define m9_l5  m_u.m_m9.m9l5
 | 
			
		||||
#define m9_s1  m_u.m_m9.m9s1
 | 
			
		||||
#define m9_s2  m_u.m_m9.m9s2
 | 
			
		||||
#define m9_s3  m_u.m_m9.m9s3
 | 
			
		||||
#define m9_c1  m_u.m_m9.m9c1
 | 
			
		||||
#define m9_c2  m_u.m_m9.m9c2
 | 
			
		||||
 | 
			
		||||
/*==========================================================================* 
 | 
			
		||||
 * Minix run-time system (IPC). 					    *
 | 
			
		||||
 *==========================================================================*/ 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user