 bdab3c4cfb
			
		
	
	
		bdab3c4cfb
		
	
	
	
	
		
			
			features (specifically: 4MB pages and TLB global bit). Only enable these features in CR4 if available. 4MB pages to be used in the near future.
		
			
				
	
	
		
			25 lines
		
	
	
		
			800 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			800 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef _MINLIB
 | |
| #define _MINLIB
 | |
| 
 | |
| #ifndef _ANSI_H
 | |
| #include <ansi.h>
 | |
| #endif
 | |
| 
 | |
| /* Miscellaneous BSD. */
 | |
| _PROTOTYPE(void swab, (char *_from, char *_to, int _count));
 | |
| _PROTOTYPE(char *itoa, (int _n));
 | |
| _PROTOTYPE(char *getpass, (const char *_prompt));
 | |
| 
 | |
| /* Miscellaneous MINIX. */
 | |
| _PROTOTYPE(void std_err, (char *_s));
 | |
| _PROTOTYPE(void prints, (const char *_s, ...));
 | |
| _PROTOTYPE(int fsversion, (char *_dev, char *_prog));
 | |
| _PROTOTYPE(int getprocessor, (void));
 | |
| _PROTOTYPE(int _cpuid, (u32_t eax_in, u32_t *eax, u32_t *ebx, u32_t *ecx, u32_t *edx));
 | |
| _PROTOTYPE(int load_mtab, (char *_prog_name));
 | |
| _PROTOTYPE(int rewrite_mtab, (char *_prog_name));
 | |
| _PROTOTYPE(int get_mtab_entry, (char *_s1, char *_s2, char *_s3, char *_s4));
 | |
| _PROTOTYPE(int put_mtab_entry, (char *_s1, char *_s2, char *_s3, char *_s4));
 | |
| 
 | |
| #endif
 |