Logo Search packages:      
Sourcecode: x86info version File versions

MSR-Athlon.c

/*
 *  $Id: MSR-Athlon.c,v 1.5 2002/12/04 18:07:03 davej Exp $
 *  This file is part of x86info.
 *  (C) 2001 Dave Jones.
 *
 *  Licensed under the terms of the GNU GPL License version 2.
 *
 *  AMD-Athlon specific MSR information
 *
 */

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include "../x86info.h"
#include "AMD.h"

void dump_athlon_MSR(struct cpudata *cpu)
{
      if (!user_is_root)
            return;

      dumpmsr(cpu->number, 0x2A, 32);
      dumpmsr(cpu->number, 0xC0000080, 32);
      dumpmsr(cpu->number, 0xC0010010, 32);
      dumpmsr(cpu->number, 0xC0010015, 32);
      dumpmsr(cpu->number, MSR_CLKCTL, 32);
      printf ("\n");
}

Generated by  Doxygen 1.6.0   Back to index