lsflib/include/lsf/cpuid.h
author Markus Brökers <mbroeker@largo.homelinux.org>
Tue, 17 Aug 2010 18:57:57 +0200
changeset 139 cb1d3f4cf18e
parent 120 430dbec0c228
permissions -rw-r--r--
execve returns a value on error and this catches it

/**
 * test/demos/lsflib/include/cpuid.h
 * Copyright (C) 2008 Markus Broeker
 */

#ifndef __CPUID_H__
#define __CPUID_H__

#include <memory.h>

typedef unsigned long ULONG;

char *get_cpu_brand (int);
char *get_cpu_vendor (void);

ULONG get_cpu_function (ULONG, ULONG *, ULONG *, ULONG *, ULONG *);

#endif