forked from xt-sys/exectos
		
	Introduce architecture-specific page map routines
This commit is contained in:
		
							
								
								
									
										26
									
								
								xtoskrnl/mm/i686/globals.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								xtoskrnl/mm/i686/globals.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| /** | ||||
|  * PROJECT:         ExectOS | ||||
|  * COPYRIGHT:       See COPYING.md in the top level directory | ||||
|  * FILE:            xtoskrnl/mm/i686/globals.c | ||||
|  * DESCRIPTION:     i686-specific global variables for the Memory Manager | ||||
|  * DEVELOPERS:      Aiken Harris <harraiken91@gmail.com> | ||||
|  */ | ||||
|  | ||||
| #include <xtos.h> | ||||
|  | ||||
|  | ||||
| /* Page mapping routines for systems using 2-level paging (PML2) */ | ||||
| CMMPAGEMAP_ROUTINES MmpPml2Routines = { | ||||
|     .ClearPte = MmpClearPte, | ||||
|     .PteValid = MmpPml2PteValid, | ||||
|     .SetPteCaching = MmpSetPml2PteCaching, | ||||
|     .SetPte = MmpSetPml2Pte, | ||||
| }; | ||||
|  | ||||
| /* Page mapping routines for systems using 3-level paging (PML3) */ | ||||
| CMMPAGEMAP_ROUTINES MmpPml3Routines = { | ||||
|     .ClearPte = MmpClearPte, | ||||
|     .PteValid = MmpPml3PteValid, | ||||
|     .SetPteCaching = MmpSetPml3PteCaching, | ||||
|     .SetPte = MmpSetPml3Pte, | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user