#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/kobject.h>
#include <linux/percpu.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/sysfs.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/smp.h>
#include <asm/amd_nb.h>
#include <asm/apic.h>
#include <asm/idle.h>
#include <asm/mce.h>
#include <asm/msr.h>
Go to the source code of this file.
#define INT_TYPE_APIC 0x00020000 |
#define MASK_BLKPTR_LO 0xFF000000 |
#define MASK_CNTP_HI 0x40000000 |
#define MASK_COUNT_EN_HI 0x00080000 |
#define MASK_ERR_COUNT_HI 0x00000FFF |
#define MASK_INT_TYPE_HI 0x00060000 |
#define MASK_LOCKED_HI 0x20000000 |
#define MASK_LVTOFF_HI 0x00F00000 |
#define MASK_OVERFLOW_HI 0x00010000 |
#define MASK_VALID_HI 0x80000000 |
#define MCG_XBLK_ADDR 0xC0000400 |
#define SHOW_FIELDS |
( |
|
name | ) |
|
#define THRESHOLD_MAX 0xFFF |
late_initcall |
( |
threshold_init_device |
| ) |
|
RW_ATTR |
( |
interrupt_enable |
| ) |
|
RW_ATTR |
( |
threshold_limit |
| ) |
|