Function
FwupdPlugincpuid
since: 1.8.2
Declaration [src]
gboolean
fu_cpuid (
guint32 leaf,
guint32* eax,
guint32* ebx,
guint32* ecx,
guint32* edx,
GError** error
)
Parameters
leaf-
Type:
guint32The CPUID level, now called the ‘leaf’ by Intel.
eax-
Type:
guint32*EAX register.
The argument will be set by the function. The argument can be set to NULLby the function. ebx-
Type:
guint32*EBX register.
The argument will be set by the function. The argument can be set to NULLby the function. ecx-
Type:
guint32*ECX register.
The argument will be set by the function. The argument can be set to NULLby the function. edx-
Type:
guint32*EDX register.
The argument will be set by the function. The argument can be set to NULLby the function. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will left initialized to NULLby the function if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.