Linux Kernel
3.7.1
|
#include <linux/firmware.h>
#include <linux/uaccess.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <asm/microcode.h>
#include <asm/processor.h>
#include <asm/msr.h>
Go to the source code of this file.
Data Structures | |
struct | microcode_header_intel |
struct | microcode_intel |
struct | extended_signature |
struct | extended_sigtable |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DEFAULT_UCODE_DATASIZE (2000) |
#define | MC_HEADER_SIZE (sizeof(struct microcode_header_intel)) |
#define | DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) |
#define | EXT_HEADER_SIZE (sizeof(struct extended_sigtable)) |
#define | EXT_SIGNATURE_SIZE (sizeof(struct extended_signature)) |
#define | DWSIZE (sizeof(u32)) |
#define | get_totalsize(mc) |
#define | get_datasize(mc) |
#define | sigmatch(s1, s2, p1, p2) (((s1) == (s2)) && (((p1) & (p2)) || (((p1) == 0) && ((p2) == 0)))) |
#define | exttable_size(et) ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE) |
Functions | |
MODULE_DESCRIPTION ("Microcode Update Driver") | |
MODULE_AUTHOR ("Tigran Aivazian <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
struct microcode_ops *__init | init_intel_microcode (void) |
#define DEFAULT_UCODE_DATASIZE (2000) |
Definition at line 122 of file microcode_intel.c.
#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) |
Definition at line 124 of file microcode_intel.c.
Definition at line 127 of file microcode_intel.c.
#define EXT_HEADER_SIZE (sizeof(struct extended_sigtable)) |
Definition at line 125 of file microcode_intel.c.
#define EXT_SIGNATURE_SIZE (sizeof(struct extended_signature)) |
Definition at line 126 of file microcode_intel.c.
#define exttable_size | ( | et | ) | ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE) |
Definition at line 141 of file microcode_intel.c.
#define get_datasize | ( | mc | ) |
Definition at line 134 of file microcode_intel.c.
#define get_totalsize | ( | mc | ) |
Definition at line 129 of file microcode_intel.c.
#define MC_HEADER_SIZE (sizeof(struct microcode_header_intel)) |
Definition at line 123 of file microcode_intel.c.
Definition at line 74 of file microcode_intel.c.
#define sigmatch | ( | s1, | |
s2, | |||
p1, | |||
p2 | |||
) | (((s1) == (s2)) && (((p1) & (p2)) || (((p1) == 0) && ((p2) == 0)))) |
Definition at line 138 of file microcode_intel.c.
|
read |
Definition at line 459 of file microcode_intel.c.
MODULE_AUTHOR | ( | "Tigran Aivazian <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Microcode Update Driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |