From 52e32b2c9f0e5ac7cfb31fd2306e6536340955e1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 17 Nov 2015 18:23:48 +0100 Subject: Support for 64-bit registes --- pcilib/cpu.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pcilib/cpu.h (limited to 'pcilib/cpu.h') diff --git a/pcilib/cpu.h b/pcilib/cpu.h new file mode 100644 index 0000000..2b3ed80 --- /dev/null +++ b/pcilib/cpu.h @@ -0,0 +1,17 @@ +#ifndef _PCILIB_CPU_H +#define _PCILIB_CPU_H + +#ifdef __cplusplus +extern "C" { +#endif + +int pcilib_get_page_mask(); +int pcilib_get_cpu_count(); +int pcilib_get_cpu_gen(); + +#ifdef __cplusplus +} +#endif + + +#endif /* _PCILIB_CPU_H */ -- cgit v1.2.3