forked from xt-sys/exectos
		
	More architecture specific definitions
This commit is contained in:
		@@ -22,14 +22,24 @@
 | 
				
			|||||||
    #define _ARCH_NAME                 "32-bit x86"
 | 
					    #define _ARCH_NAME                 "32-bit x86"
 | 
				
			||||||
    #define _ARCH_IMAGE_MACHINE_TYPE   0x014C
 | 
					    #define _ARCH_IMAGE_MACHINE_TYPE   0x014C
 | 
				
			||||||
    #define _XT32                      1
 | 
					    #define _XT32                      1
 | 
				
			||||||
 | 
					    #define CACHE_ALIGNMENT            64
 | 
				
			||||||
    #define EFI_ERROR_MASK             0x80000000
 | 
					    #define EFI_ERROR_MASK             0x80000000
 | 
				
			||||||
 | 
					    #define MAXIMUM_PROCESSORS         32
 | 
				
			||||||
 | 
					    #define MEMORY_ALIGNMENT           8
 | 
				
			||||||
 | 
					    #define MM_USERPAGE_TABLES         1536
 | 
				
			||||||
 | 
					    #define MM_VIRTUAL_PAGESIZE        20
 | 
				
			||||||
#elif defined(__amd64__) || defined(__x86_64__)
 | 
					#elif defined(__amd64__) || defined(__x86_64__)
 | 
				
			||||||
    #define _ARCH                      amd64
 | 
					    #define _ARCH                      amd64
 | 
				
			||||||
    #define _ARCH_AMD64                1
 | 
					    #define _ARCH_AMD64                1
 | 
				
			||||||
    #define _ARCH_NAME                 "64-bit x86"
 | 
					    #define _ARCH_NAME                 "64-bit x86"
 | 
				
			||||||
    #define _ARCH_IMAGE_MACHINE_TYPE   0x8664
 | 
					    #define _ARCH_IMAGE_MACHINE_TYPE   0x8664
 | 
				
			||||||
    #define _XT64                      1
 | 
					    #define _XT64                      1
 | 
				
			||||||
 | 
					    #define CACHE_ALIGNMENT            64
 | 
				
			||||||
    #define EFI_ERROR_MASK             0x8000000000000000
 | 
					    #define EFI_ERROR_MASK             0x8000000000000000
 | 
				
			||||||
 | 
					    #define MAXIMUM_PROCESSORS         256
 | 
				
			||||||
 | 
					    #define MEMORY_ALIGNMENT           16
 | 
				
			||||||
 | 
					    #define MM_USERPAGE_TABLES         4194304
 | 
				
			||||||
 | 
					    #define MM_VIRTUAL_PAGESIZE        52
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    #error Unknown architecture
 | 
					    #error Unknown architecture
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user