forked from xt-sys/exectos
		
	Use __asm__ to comply with disabled GNU extensions
This commit is contained in:
		
				
					committed by
					
						 CodingWorkshop Signing Team
						CodingWorkshop Signing Team
					
				
			
			
				
	
				
						parent
						
							030575592c
						
					
				
				
					commit
					2e0a87e596
				
			| @@ -27,12 +27,12 @@ VOID | ||||
| MmZeroPages(IN PVOID Address, | ||||
|             IN ULONG Size) | ||||
| { | ||||
|     asm volatile("xor %%eax, %%eax\n" | ||||
|                  "rep stosb" | ||||
|                  : "=D"(Address), | ||||
|                    "=c"(Size) | ||||
|                  : "0"(Address), | ||||
|                    "1"(Size), | ||||
|                    "a"(0) | ||||
|                  : "memory"); | ||||
|     __asm__ volatile("xor %%eax, %%eax\n" | ||||
|                      "rep stosb" | ||||
|                      : "=D"(Address), | ||||
|                        "=c"(Size) | ||||
|                      : "0"(Address), | ||||
|                        "1"(Size), | ||||
|                        "a"(0) | ||||
|                      : "memory"); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user