Adjusted to show side effects and their handling
When dealing with static buffers, successive calls point
to the same memory location and overwrite formers ones...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
/**
* 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