Jump to content

KernRASSysTrace: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
This is the equivalence of the DevHlp_RASTrace function.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernRASSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);
APIRET APIENTRY KernRASSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);
==Description==
This is the equivalence of the DevHlp_RASTrace function.


==Parameters==
==Parameters==
 
; major :     Major number of RAS event  
major
; minor :    Minor number of RAS event  
     Major number of RAS event  
; buf :     buffer to be added to the RAS log  
minor
; size :     size of the buffer  
    Minor number of RAS event  
buf
     buffer to be added to the RAS log  
size
     size of the buffer  


==Comments==
==Comments==
This is not explained in the PDD reference manual, but in the debug handbook IIRC. Warning: The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area.  
This is not explained in the PDD reference manual, but in the debug handbook IIRC. Warning: The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area.  


[[Category:Kern]]
[[Category:KEE]]

Revision as of 21:49, 9 June 2017

This is the equivalence of the DevHlp_RASTrace function.

Synopsis

APIRET APIENTRY KernRASSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);

Parameters

major
Major number of RAS event
minor
Minor number of RAS event
buf
buffer to be added to the RAS log
size
size of the buffer

Comments

This is not explained in the PDD reference manual, but in the debug handbook IIRC. Warning: The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area.