#include <linux/sched.h>
#include <linux/sched/clock.h>
#include <asm/cpu.h>
#include <asm/cpufeature.h>
#include "cpu.h"
#define MSR_ZHAOXIN_FCR57 …
#define ACE_PRESENT …
#define ACE_ENABLED …
#define ACE_FCR …
#define RNG_PRESENT …
#define RNG_ENABLED …
#define RNG_ENABLE …
static void init_zhaoxin_cap(struct cpuinfo_x86 *c)
{ … }
static void early_init_zhaoxin(struct cpuinfo_x86 *c)
{ … }
static void init_zhaoxin(struct cpuinfo_x86 *c)
{ … }
#ifdef CONFIG_X86_32
static unsigned int
zhaoxin_size_cache(struct cpuinfo_x86 *c, unsigned int size)
{
return size;
}
#endif
static const struct cpu_dev zhaoxin_cpu_dev = …;
cpu_dev_register(zhaoxin_cpu_dev);