add cvs identification string
#ifndef lint static char rcsid[] = "$Id:$"; #endif
This commit is contained in:
parent
e459d37a34
commit
075e8642af
6 changed files with 32 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <pciconf.h>
|
||||
#include <subr.h>
|
||||
#include <printk.h>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,11 @@
|
|||
* Intel Architecture Software Developer's Manual
|
||||
* Volume 3: System Programming
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <cpu/p6/msr.h>
|
||||
#include <cpu/p6/mtrr.h>
|
||||
#include <cpu/p5/cpuid.h>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
/* microcode.c: Microcode update for PIII and later CPUS
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <pciconf.h>
|
||||
#include <subr.h>
|
||||
#include <cpu/p6/msr.h>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <cpu/p6/msr.h>
|
||||
#include <cpu/p6/mtrr.h>
|
||||
#include <printk.h>
|
||||
|
|
@ -134,6 +138,7 @@ void intel_set_var_mtrr(unsigned int reg, unsigned long base, unsigned long size
|
|||
"wbinvd\n\t"
|
||||
"movl %0, %%cr0\n\t"
|
||||
"wbinvd\n\t":"=r" (tmp)::"memory");
|
||||
|
||||
if (size == 0) {
|
||||
/* The invalid bit is kept in the mask, so we simply clear the
|
||||
relevant mask register to disable a range. */
|
||||
|
|
@ -144,7 +149,6 @@ void intel_set_var_mtrr(unsigned int reg, unsigned long base, unsigned long size
|
|||
}
|
||||
|
||||
// turn cache back on.
|
||||
|
||||
asm volatile ("movl %%cr0, %0\n\t"
|
||||
"andl $0x9fffffff, %0\n\t"
|
||||
"movl %0, %%cr0\n\t":"=r" (tmp)::"memory");
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
* Copyright 1997 -- 1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
|
||||
*/
|
||||
|
||||
/* the intent of this file is to easily copy any new pci.c from the
|
||||
* linux source tree, so keep your mods to a minimum, please
|
||||
* RGM
|
||||
*/
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <pci.h>
|
||||
#include <pci_ids.h>
|
||||
#include <cpu/p5/io.h>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@
|
|||
#define PCI_MEM_START 0x80000000
|
||||
#define PCI_IO_START 0x1000
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id$";
|
||||
#endif
|
||||
|
||||
// historical functions, sometimes very useful.
|
||||
/*
|
||||
* Write the special configuration registers on the INTEL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue