X86: Create a directory for files that define register indexes.
This is to help tidy up arch/x86. These files should not be used external to the ISA. --HG-- rename : src/arch/x86/apicregs.hh => src/arch/x86/regs/apic.hh rename : src/arch/x86/floatregs.hh => src/arch/x86/regs/float.hh rename : src/arch/x86/intregs.hh => src/arch/x86/regs/int.hh rename : src/arch/x86/miscregs.hh => src/arch/x86/regs/misc.hh rename : src/arch/x86/segmentregs.hh => src/arch/x86/regs/segment.hh
This commit is contained in:
parent
7a6ed1b10b
commit
25ffa8eb8b
28 changed files with 34 additions and 34 deletions
|
@ -40,9 +40,9 @@
|
||||||
#ifndef __ARCH_X86_EMULENV_HH__
|
#ifndef __ARCH_X86_EMULENV_HH__
|
||||||
#define __ARCH_X86_EMULENV_HH__
|
#define __ARCH_X86_EMULENV_HH__
|
||||||
|
|
||||||
#include "arch/x86/intregs.hh"
|
|
||||||
#include "arch/x86/segmentregs.hh"
|
|
||||||
#include "arch/x86/registers.hh"
|
#include "arch/x86/registers.hh"
|
||||||
|
#include "arch/x86/regs/int.hh"
|
||||||
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "arch/x86/types.hh"
|
#include "arch/x86/types.hh"
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/insts/microfpop.hh"
|
#include "arch/x86/insts/microfpop.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/insts/micromediaop.hh"
|
#include "arch/x86/insts/micromediaop.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/insts/microop.hh"
|
#include "arch/x86/insts/microop.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/insts/microregop.hh"
|
#include "arch/x86/insts/microregop.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "base/condcodes.hh"
|
#include "base/condcodes.hh"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/insts/static_inst.hh"
|
#include "arch/x86/insts/static_inst.hh"
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/segment.hh"
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,9 +37,9 @@
|
||||||
* Authors: Gabe Black
|
* Authors: Gabe Black
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/apicregs.hh"
|
|
||||||
#include "arch/x86/interrupts.hh"
|
#include "arch/x86/interrupts.hh"
|
||||||
#include "arch/x86/intmessage.hh"
|
#include "arch/x86/intmessage.hh"
|
||||||
|
#include "arch/x86/regs/apic.hh"
|
||||||
#include "cpu/base.hh"
|
#include "cpu/base.hh"
|
||||||
#include "dev/x86/i82094aa.hh"
|
#include "dev/x86/i82094aa.hh"
|
||||||
#include "dev/x86/pc.hh"
|
#include "dev/x86/pc.hh"
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
#ifndef __ARCH_X86_INTERRUPTS_HH__
|
#ifndef __ARCH_X86_INTERRUPTS_HH__
|
||||||
#define __ARCH_X86_INTERRUPTS_HH__
|
#define __ARCH_X86_INTERRUPTS_HH__
|
||||||
|
|
||||||
#include "arch/x86/apicregs.hh"
|
|
||||||
#include "arch/x86/faults.hh"
|
#include "arch/x86/faults.hh"
|
||||||
#include "arch/x86/intmessage.hh"
|
#include "arch/x86/intmessage.hh"
|
||||||
|
#include "arch/x86/regs/apic.hh"
|
||||||
#include "base/bitfield.hh"
|
#include "base/bitfield.hh"
|
||||||
#include "cpu/thread_context.hh"
|
#include "cpu/thread_context.hh"
|
||||||
#include "dev/io_device.hh"
|
#include "dev/io_device.hh"
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#ifndef __ARCH_X86_ISA_HH__
|
#ifndef __ARCH_X86_ISA_HH__
|
||||||
#define __ARCH_X86_ISA_HH__
|
#define __ARCH_X86_ISA_HH__
|
||||||
|
|
||||||
#include "arch/x86/floatregs.hh"
|
|
||||||
#include "arch/x86/miscregs.hh"
|
|
||||||
#include "arch/x86/registers.hh"
|
#include "arch/x86/registers.hh"
|
||||||
|
#include "arch/x86/regs/float.hh"
|
||||||
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "base/types.hh"
|
#include "base/types.hh"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -73,10 +73,10 @@ using X86ISA::InstRegIndex;
|
||||||
|
|
||||||
output decoder {{
|
output decoder {{
|
||||||
#include "arch/x86/faults.hh"
|
#include "arch/x86/faults.hh"
|
||||||
#include "arch/x86/floatregs.hh"
|
|
||||||
#include "arch/x86/microcode_rom.hh"
|
#include "arch/x86/microcode_rom.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/float.hh"
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "arch/x86/tlb.hh"
|
#include "arch/x86/tlb.hh"
|
||||||
#include "base/cprintf.hh"
|
#include "base/cprintf.hh"
|
||||||
#include "base/loader/symtab.hh"
|
#include "base/loader/symtab.hh"
|
||||||
|
@ -110,7 +110,7 @@ output exec {{
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "arch/x86/cpuid.hh"
|
#include "arch/x86/cpuid.hh"
|
||||||
#include "arch/x86/faults.hh"
|
#include "arch/x86/faults.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/tlb.hh"
|
#include "arch/x86/tlb.hh"
|
||||||
#include "base/bigint.hh"
|
#include "base/bigint.hh"
|
||||||
#include "base/condcodes.hh"
|
#include "base/condcodes.hh"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
#include "arch/x86/linux/process.hh"
|
#include "arch/x86/linux/process.hh"
|
||||||
#include "arch/x86/linux/linux.hh"
|
#include "arch/x86/linux/linux.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "kern/linux/linux.hh"
|
#include "kern/linux/linux.hh"
|
||||||
#include "sim/syscall_emul.hh"
|
#include "sim/syscall_emul.hh"
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
* Authors: Gabe Black
|
* Authors: Gabe Black
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/intregs.hh"
|
|
||||||
#include "arch/x86/linux/system.hh"
|
#include "arch/x86/linux/system.hh"
|
||||||
|
#include "arch/x86/regs/int.hh"
|
||||||
#include "arch/vtophys.hh"
|
#include "arch/vtophys.hh"
|
||||||
#include "base/trace.hh"
|
#include "base/trace.hh"
|
||||||
#include "cpu/thread_context.hh"
|
#include "cpu/thread_context.hh"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
* ISA-specific helper functions for memory mapped IPR accesses.
|
* ISA-specific helper functions for memory mapped IPR accesses.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "config/full_system.hh"
|
#include "config/full_system.hh"
|
||||||
#include "cpu/base.hh"
|
#include "cpu/base.hh"
|
||||||
#include "cpu/thread_context.hh"
|
#include "cpu/thread_context.hh"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/isa_traits.hh"
|
#include "arch/x86/isa_traits.hh"
|
||||||
#include "arch/x86/floatregs.hh"
|
|
||||||
#include "arch/x86/intregs.hh"
|
|
||||||
#include "arch/x86/nativetrace.hh"
|
#include "arch/x86/nativetrace.hh"
|
||||||
|
#include "arch/x86/regs/float.hh"
|
||||||
|
#include "arch/x86/regs/int.hh"
|
||||||
#include "cpu/thread_context.hh"
|
#include "cpu/thread_context.hh"
|
||||||
#include "params/X86NativeTrace.hh"
|
#include "params/X86NativeTrace.hh"
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
* Authors: Gabe Black
|
* Authors: Gabe Black
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/predecoder.hh"
|
#include "arch/x86/predecoder.hh"
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
#include "base/trace.hh"
|
#include "base/trace.hh"
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "arch/x86/types.hh"
|
#include "arch/x86/types.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "base/bitfield.hh"
|
#include "base/bitfield.hh"
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
#include "base/trace.hh"
|
#include "base/trace.hh"
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "arch/x86/isa_traits.hh"
|
#include "arch/x86/isa_traits.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
|
||||||
#include "arch/x86/process.hh"
|
#include "arch/x86/process.hh"
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "arch/x86/types.hh"
|
#include "arch/x86/types.hh"
|
||||||
#include "base/loader/object_file.hh"
|
#include "base/loader/object_file.hh"
|
||||||
#include "base/loader/elf_object.hh"
|
#include "base/loader/elf_object.hh"
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
#ifndef __ARCH_X86_REGISTERS_HH__
|
#ifndef __ARCH_X86_REGISTERS_HH__
|
||||||
#define __ARCH_X86_REGISTERS_HH__
|
#define __ARCH_X86_REGISTERS_HH__
|
||||||
|
|
||||||
#include "arch/x86/intregs.hh"
|
|
||||||
#include "arch/x86/max_inst_regs.hh"
|
#include "arch/x86/max_inst_regs.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/int.hh"
|
||||||
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/x86_traits.hh"
|
#include "arch/x86/x86_traits.hh"
|
||||||
|
|
||||||
namespace X86ISA
|
namespace X86ISA
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#ifndef __ARCH_X86_MISCREGS_HH__
|
#ifndef __ARCH_X86_MISCREGS_HH__
|
||||||
#define __ARCH_X86_MISCREGS_HH__
|
#define __ARCH_X86_MISCREGS_HH__
|
||||||
|
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "arch/x86/x86_traits.hh"
|
#include "arch/x86/x86_traits.hh"
|
||||||
#include "base/bitunion.hh"
|
#include "base/bitunion.hh"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
#include "arch/x86/bios/smbios.hh"
|
#include "arch/x86/bios/smbios.hh"
|
||||||
#include "arch/x86/bios/intelmp.hh"
|
#include "arch/x86/bios/intelmp.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/system.hh"
|
#include "arch/x86/system.hh"
|
||||||
#include "arch/vtophys.hh"
|
#include "arch/vtophys.hh"
|
||||||
#include "base/intmath.hh"
|
#include "base/intmath.hh"
|
||||||
|
|
|
@ -43,8 +43,8 @@
|
||||||
|
|
||||||
#include "arch/x86/faults.hh"
|
#include "arch/x86/faults.hh"
|
||||||
#include "arch/x86/insts/microldstop.hh"
|
#include "arch/x86/insts/microldstop.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
|
||||||
#include "arch/x86/pagetable.hh"
|
#include "arch/x86/pagetable.hh"
|
||||||
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/tlb.hh"
|
#include "arch/x86/tlb.hh"
|
||||||
#include "arch/x86/x86_traits.hh"
|
#include "arch/x86/x86_traits.hh"
|
||||||
#include "base/bitfield.hh"
|
#include "base/bitfield.hh"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "arch/x86/pagetable.hh"
|
#include "arch/x86/pagetable.hh"
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "config/full_system.hh"
|
#include "config/full_system.hh"
|
||||||
#include "mem/mem_object.hh"
|
#include "mem/mem_object.hh"
|
||||||
#include "mem/request.hh"
|
#include "mem/request.hh"
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
#if FULL_SYSTEM
|
#if FULL_SYSTEM
|
||||||
#include "arch/x86/interrupts.hh"
|
#include "arch/x86/interrupts.hh"
|
||||||
#endif
|
#endif
|
||||||
#include "arch/x86/intregs.hh"
|
#include "arch/x86/regs/int.hh"
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/segmentregs.hh"
|
#include "arch/x86/regs/segment.hh"
|
||||||
#include "arch/x86/utility.hh"
|
#include "arch/x86/utility.hh"
|
||||||
#include "arch/x86/x86_traits.hh"
|
#include "arch/x86/x86_traits.hh"
|
||||||
#include "cpu/base.hh"
|
#include "cpu/base.hh"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#ifndef __ARCH_X86_UTILITY_HH__
|
#ifndef __ARCH_X86_UTILITY_HH__
|
||||||
#define __ARCH_X86_UTILITY_HH__
|
#define __ARCH_X86_UTILITY_HH__
|
||||||
|
|
||||||
#include "arch/x86/miscregs.hh"
|
#include "arch/x86/regs/misc.hh"
|
||||||
#include "arch/x86/types.hh"
|
#include "arch/x86/types.hh"
|
||||||
#include "base/hashmap.hh"
|
#include "base/hashmap.hh"
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
|
|
Loading…
Reference in a new issue