forked from xt-sys/exectos
		
	CurrentPrcb is needed here
This commit is contained in:
		@@ -35,7 +35,7 @@ XTAPI
 | 
				
			|||||||
PKPROCESSOR_CONTROL_BLOCK
 | 
					PKPROCESSOR_CONTROL_BLOCK
 | 
				
			||||||
KeGetCurrentProcessorControlBlock(VOID)
 | 
					KeGetCurrentProcessorControlBlock(VOID)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return (PKPROCESSOR_CONTROL_BLOCK)ArReadGSQuadWord(FIELD_OFFSET(KPROCESSOR_BLOCK, Prcb));
 | 
					    return (PKPROCESSOR_CONTROL_BLOCK)ArReadGSQuadWord(FIELD_OFFSET(KPROCESSOR_BLOCK, CurrentPrcb));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user