Back to home page

Quest Cross Reference

 
 

    


Warning, cross-references for /kernel/include/arch/i386-mtrr.h need to be fixed.

0001 /*                    The Quest Operating System
0002  *  Copyright (C) 2005-2010  Richard West, Boston University
0003  *
0004  *  This program is free software: you can redistribute it and/or modify
0005  *  it under the terms of the GNU General Public License as published by
0006  *  the Free Software Foundation, either version 3 of the License, or
0007  *  (at your option) any later version.
0008  *
0009  *  This program is distributed in the hope that it will be useful,
0010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  *  GNU General Public License for more details.
0013  *
0014  *  You should have received a copy of the GNU General Public License
0015  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
0016  */
0017 
0018 #ifndef __I386_MTRR_H__
0019 #define __I386_MTRR_H__
0020 #include"types.h"
0021 
0022 #define IA32_MTRRCAP 0xFE
0023 #define IA32_MTRR_DEF_TYPE 0x2FF
0024 #define IA32_MTRR_PHYS_BASE(n) ((0x200) + (n << 1))
0025 #define IA32_MTRR_PHYS_MASK(n) ((0x201) + (n << 1))
0026 
0027 #endif
0028 
0029 /*
0030  * Local Variables:
0031  * indent-tabs-mode: nil
0032  * mode: C
0033  * c-file-style: "gnu"
0034  * c-basic-offset: 2
0035  * End:
0036  */
0037 
0038 /* vi: set et sw=2 sts=2: */