lsflib/include/lsf/cpuid.h
author Markus Bröker<broeker.markus@googlemail.com>
Sun, 10 Feb 2019 13:17:01 +0100
changeset 173 374a86886bc5
parent 120 430dbec0c228
permissions -rw-r--r--
LAST-DIGIT-BUG: INCREMENT before LF

/**
 * 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