source: trunk/lib_ir/AgnerTestP/DriverSrcLinux/MSRdrvL.h

Last change on this file was 4221, checked in by linmengl, 5 years ago

initial checkin of Agner Fog's performance script

File size: 559 bytes
Line 
1//                       msrdriver.h                    © 2012-03-02 Agner Fog
2
3// Device driver for access to Model-specific registers and control registers
4// in Linux (32 and 64 bit x86 platform)
5
6// (c) Copyright 2010-2012 by Agner Fog. GNU General Public License www.gnu.org/licences
7
8#ifndef MSRDRV_H
9#define MSRDRV_H
10
11#include <linux/types.h>
12#include "MSRDriver.h"
13
14#define DEV_MAJOR 222
15#define DEV_MINOR 0
16#define DEV_NAME "MSRdrv"
17
18#define IOCTL_NOACTION _IO(DEV_MAJOR, 0)
19#define IOCTL_PROCESS_LIST _IO(DEV_MAJOR, 1)
20
21#endif
Note: See TracBrowser for help on using the repository browser.