Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-242
PROCESSOR_GETINFOLIST_ Procedure
If PROCESSOR_GETINFOLIST_ cannot obtain meaningful data for an attribute that
returns an array, it returns a value of 0 for the number of array elements and allocates
no space for the actual array. Except where otherwise noted,
PROCESSOR_GETINFOLIST_ returns a value of -1 (for an INT), -1D (for an INT(32)),
or -1F (for a FIXED) when it cannot obtain a meaningful value for an attribute that does
not return an array.
2: processor type
See Table 12-6
for processor type values.
3: software version
the version of the operating system that is running. This value has the same
format as the value returned by the TOSVERSION procedure. Refer to the
description of the TOSVERSION procedure.
4: page size
the page size of physical memory, in bytes.
5: memory size
the size of physical memory, in pages. If the number of pages exceeds
2,147,483,647 (2**31 - 1), the returned value is -1D.
6: first virtual page
the page number of the first swappable page.
7: swappable pages
the current number of memory pages that can be swapped. If the number of pages
exceeds 2,147,483,647 (2**31 - 1), the returned value is -1D.
8: free pages
the current number of nonallocated memory pages. If the number of pages
exceeds 2,147,483,647 (2**31 - 1), the returned value is -1D.
9: current locked memory
the current amount of virtual memory, in pages, that is locked in physical memory.
If the number of pages exceeds 2,147,483,647 (2**31 - 1), the returned value is -
1D.