Jump to content

KernRASSysTrace: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernRASSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size); ==Description== This is the equivalence of the DevHlp_RASTrace function. ==Param..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
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 ([[ULONG]]) - input: Major number of RAS event.
;minor ([[ULONG]]) - input: Minor number of RAS event.
;buf ([[PVOID]]) - input: Buffer to be added to the RAS log.
;size ([[ULONG]]) - input: Size of the buffer.


major
==Comments==
    Major number of RAS event
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.
minor
    Minor number of RAS event
buf
    buffer to be added to the RAS log
size
    size of the buffer


[[Category:The OS/2 API Project]]
[[Category:KEE]]

Latest revision as of 03:32, 28 May 2025

This is the equivalence of the DevHlp_RASTrace function.

Synopsis

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

Parameters

major (ULONG) - input
Major number of RAS event.
minor (ULONG) - input
Minor number of RAS event.
buf (PVOID) - input
Buffer to be added to the RAS log.
size (ULONG) - input
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.