 2a8fabf4ad
			
		
	
	
		2a8fabf4ad
		
	
	
	
	
		
			
			-Convert the include directory over to using bsdmake syntax -Update/add mkfiles -Modify install(1) so that it can create symlinks -Update makefiles to use new install(1) options -Rename /usr/include/ibm to /usr/include/i386 -Create /usr/include/machine symlink to arch header files -Move vm_i386.h to its new home in the /usr/include/i386 -Update source files to #include the header files at their new homes. -Add new gnu-includes target for building GCC headers
		
			
				
	
	
		
			20 lines
		
	
	
		
			637 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			637 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _IBM_CPU_H
 | |
| #define _IBM_CPU_H 1
 | |
| 
 | |
| #define X86_FLAG_C	(1L << 0)	/* S  Carry */
 | |
| #define X86_FLAG_P	(1L << 2)	/* S  Parity */
 | |
| #define X86_FLAG_A	(1L << 4)	/* S  Aux. carry */
 | |
| #define X86_FLAG_Z	(1L << 6)	/* S  Zero */
 | |
| #define X86_FLAG_S	(1L << 7)	/* S  Sign */
 | |
| 
 | |
| #define X86_FLAG_T	(1L <<  8)	/* X  Trap */
 | |
| #define X86_FLAG_I	(1L <<  9)	/* X  Interrupt */
 | |
| #define X86_FLAG_D	(1L << 10)	/* C  Direction */
 | |
| #define X86_FLAG_O	(1L << 11)	/* S  Overflow */
 | |
| 
 | |
| /* User flags are S (Status) and C (Control) flags. */
 | |
| #define X86_FLAGS_USER (X86_FLAG_C | X86_FLAG_P | X86_FLAG_A | X86_FLAG_Z | \
 | |
| 	X86_FLAG_S | X86_FLAG_D | X86_FLAG_O)
 | |
| 
 | |
| #endif
 |